c470425
By:
c470425

Unable to fetch archives after do-release-upgrade Ubuntu to Trusty

July 17, 2014 3.8k views

I recently upgraded my droplet to trusty.
apt did all the magic to change sources.list
I get the following errrors when i do apt-get dist-upgrade:

Err http://mirrors.digitalocean.com/ubuntu/ trusty-security/main linux-image-3.13.0-32-generic amd64 3.13.0-32.57
  404  Not Found [IP: 95.85.0.50 80]
Err http://mirrors.digitalocean.com/ubuntu/ trusty-security/main linux-image-extra-3.13.0-32-generic amd64 3.13.0-32.57
  404  Not Found [IP: 95.85.0.50 80]
Err http://mirrors.digitalocean.com/ubuntu/ trusty-security/main linux-headers-3.13.0-32 all 3.13.0-32.57
  404  Not Found [IP: 95.85.0.50 80]
Err http://mirrors.digitalocean.com/ubuntu/ trusty-security/main linux-headers-3.13.0-32-generic amd64 3.13.0-32.57
  404  Not Found [IP: 95.85.0.50 80]
E: Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/main/l/linux/linux-image-3.13.0-32-generic_3.13.0-32.57_amd64.deb  404  Not Found [IP: 95.85.0.50 80]

E: Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/main/l/linux/linux-image-extra-3.13.0-32-generic_3.13.0-32.57_amd64.deb  404  Not Found [IP: 95.85.0.50 80]

E: Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/main/l/linux/linux-headers-3.13.0-32_3.13.0-32.57_all.deb  404  Not Found [IP: 95.85.0.50 80]

E: Failed to fetch http://mirrors.digitalocean.com/ubuntu/pool/main/l/linux/linux-headers-3.13.0-32-generic_3.13.0-32.57_amd64.deb  404  Not Found [IP: 95.85.0.50 80]

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

Here is my sources.list:

deb http://mirrors.digitalocean.com/ubuntu/ trusty main restricted
deb http://mirrors.digitalocean.com/ubuntu/ trusty-updates main restricted
deb http://mirrors.digitalocean.com/ubuntu/ trusty universe
deb http://mirrors.digitalocean.com/ubuntu/ trusty-updates universe
deb http://mirrors.digitalocean.com/ubuntu/ trusty multiverse
deb http://mirrors.digitalocean.com/ubuntu/ trusty-updates multiverse
deb http://mirrors.digitalocean.com/ubuntu/ trusty-backports main restricted universe multiverse
universe multiverse
deb http://mirrors.digitalocean.com/ubuntu/ trusty-security main restricted
deb http://mirrors.digitalocean.com/ubuntu/ trusty-security universe
deb http://mirrors.digitalocean.com/ubuntu/ trusty-security multiverse

deb-src http://mirrors.digitalocean.com/ubuntu/ trusty main restricted
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-updates main restricted
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty universe
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-updates universe
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty multiverse
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-updates multiverse
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-backports main restricted 
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-security main restricted
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-security universe
deb-src http://mirrors.digitalocean.com/ubuntu/ trusty-security multiverse

Why would that error be raised?

1 comment
  • Execute the following after adding repositories to /etc/apt/sources.list:
    sudo apt-get update

    Might also execute:
    sudo apt-get upgrade

    If you only want your server to check the added repository once, or occasionally, run the commands, then comment out the repository link, and run them again.

    Everyone using Linux will eventually learn the usage of countless commands and the solutions to thousands and thousands of problems via searching Google. Keep organized notes for everything you do. I currently have 9,316 links and pages of Linux notes categorized in directories. Using the "COMMAND /" format as a heading for each subject, command, or task, you can quickly find your hard won solutions in the future using file search and/or case sensitive file content search. This method has served my bad memory well for years.

    Some problems may take hours or even days to solve. No one want to repeat such exercises.

1 Answer

Have you run sudo apt-get update after editing sources.list?

Have another answer? Share your knowledge.