Package not found when upgrading ownCloud on Ubuntu 14.04

9.1.x

#1

I'm getting the following error when trying to upgrade. Are there missing packages?

xxx@yyy:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  owncloud owncloud-deps-php5 owncloud-files
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 27.0 MB of archives.
After this operation, 14.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err https://download.owncloud.org/download/repositories/stable/xUbuntu_14.04/  owncloud 10.0.0-1.1
  HttpError404
Err https://download.owncloud.org/download/repositories/stable/xUbuntu_14.04/  owncloud-files 10.0.0-1.1
  HttpError404
Err https://download.owncloud.org/download/repositories/stable/xUbuntu_14.04/  owncloud-deps-php5 10.0.0-1.1
  HttpError404
E: Failed to fetch https://download.owncloud.org/download/repositories/stable/xUbuntu_14.04/./all/owncloud_10.0.0-1.1_all.deb  HttpError404

E: Failed to fetch https://download.owncloud.org/download/repositories/stable/xUbuntu_14.04/./all/owncloud-files_10.0.0-1.1_all.deb  HttpError404

E: Failed to fetch https://download.owncloud.org/download/repositories/stable/xUbuntu_14.04/./all/owncloud-deps-php5_10.0.0-1.1_all.deb  HttpError404

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

#2

The following comment [1] has the information how to update your local apt cache so it doesn't try to fetch non-existent files:

[1] https://github.com/owncloud/core/issues/27775#issuecomment-301248844