1

When I issue apt-get update I get

$ sudo apt-get update
...
Err http://ftp.port80.se precise-updates/main Sources
  404  Not Found
Err http://ftp.port80.se precise-updates/universe Sources
  404  Not Found
Err http://ftp.port80.se precise-updates/multiverse Sources
  404  Not Found
...
W: Failed to fetch http://ftp.port80.se/ubuntu/dists/precise-updates/main/source/Sources  404  Not Found

W: Failed to fetch http://ftp.port80.se/ubuntu/dists/precise-updates/universe/source/Sources  404  Not Found

W: Failed to fetch http://ftp.port80.se/ubuntu/dists/precise-updates/multiverse/source/Sources  404  Not Found

There are other source lines that are properly updated. And relevant sources.list lines are

...
deb-src http://ftp.port80.se/ubuntu/ precise-updates main restricted
deb-src http://ftp.port80.se/ubuntu/ precise-updates universe
deb-src http://ftp.port80.se/ubuntu/ precise-updates multiverse
...

I also notice that http://ftp.port80.se/ubuntu/dists/precise-updates/main/source/Sources doesn't exist, but http://ftp.port80.se/ubuntu/dists/precise-updates/main/source/Sources.gz does. I assume that *.gz should be tried before giving up?

Could anyone explain to me why I'm getting 404s for these repositories?

Maybe of interest:

  • I am using an HTTP proxy to access this mirror.
  • The /etc/apt/sources.list is in its original form, except all occurrences of se.archive.ubuntu.com have been replaced by ftp.port80.se/ubuntu/.
  • Just to be sure I've tested doing sudo rm -rf /var/lib/apt/lists/* and apt-get update. Still, the same problem.
  • Since this is "12.04 LTS", this is not an issue with an End-of-life Ubuntu release.
Ztyx
  • 153

0 Answers0