Problems with apt-get update

May 5, 2015 4.1k views
Configuration Management DigitalOcean

sudo apt-get update

Ign http://security.ubuntu.com utopic-security InRelease
Hit http://security.ubuntu.com utopic-security Release.gpg
Hit http://security.ubuntu.com utopic-security Release
Hit http://security.ubuntu.com utopic-security/main Sources
Hit http://security.ubuntu.com utopic-security/universe Sources
Hit http://security.ubuntu.com utopic-security/main amd64 Packages
Hit http://security.ubuntu.com utopic-security/universe amd64 Packages
Hit http://security.ubuntu.com utopic-security/main i386 Packages
Hit http://security.ubuntu.com utopic-security/universe i386 Packages
Hit http://security.ubuntu.com utopic-security/main Translation-en
Hit http://security.ubuntu.com utopic-security/universe Translation-en
Ign http://mirrors.digitalocean.com utopic InRelease
Ign http://mirrors.digitalocean.com utopic-updates InRelease
Hit http://mirrors.digitalocean.com utopic Release.gpg
Hit http://mirrors.digitalocean.com utopic-updates Release.gpg
Hit http://mirrors.digitalocean.com utopic Release
Hit http://mirrors.digitalocean.com utopic-updates Release
Hit http://mirrors.digitalocean.com utopic/main Sources
Hit http://mirrors.digitalocean.com utopic/universe Sources
Hit http://mirrors.digitalocean.com utopic/main amd64 Packages
Hit http://mirrors.digitalocean.com utopic/universe amd64 Packages
Hit http://mirrors.digitalocean.com utopic/main i386 Packages
Hit http://mirrors.digitalocean.com utopic/universe i386 Packages
Hit http://mirrors.digitalocean.com utopic/main Translation-en
Get:1 http://mirrors.digitalocean.com utopic/universe Translation-en [4,264 kB]
Get:2 http://mirrors.digitalocean.com utopic-updates/main Sources [93.0 kB]
Get:3 http://mirrors.digitalocean.com utopic-updates/universe Sources [26.4 kB]
Get:4 http://mirrors.digitalocean.com utopic-updates/main amd64 Packages [258 kB ]
Get:5 http://mirrors.digitalocean.com utopic-updates/main Translation-en [120 kB]
Get:6 http://mirrors.digitalocean.com utopic-updates/universe Translation-en [56.7 kB]
Get:7 http://mirrors.digitalocean.com utopic-updates/universe amd64 Packages [130 kB]
Err http://mirrors.digitalocean.com utopic-updates/universe i386 Packages

Err http://mirrors.digitalocean.com utopic-updates/universe i386 Packages
404 Not Found [IP: 192.241.164.26 80]
Err http://mirrors.digitalocean.com utopic-updates/main i386 Packages
404 Not Found [IP: 192.241.164.26 80]
Fetched 4,691 kB in 2min 6s (37.1 kB/s)
W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/utopic-updates/main/binary-i386/Packages 404 Not Found [IP: 192.241.164.26 80]

W: Failed to fetch http://mirrors.digitalocean.com/ubuntu/dists/utopic-updates/universe/binary-i386/Packages 404 Not Found [IP: 192.241.164.26 80]

E: Some index files failed to download. They have been ignored, or old ones used instead.

1 comment
6 Answers

Have you edited the host files or even used iredmail?

I'm having the same issue, is this resolved?

I am having this problem as well. Has anyone been able to resolve it?

  • Response of my ticket:

    Hi there,

    I completely understand your concern here, and I'd like to help as much as possible. I'm sorry to hear of this odd issue. Please try issuing these commands:
    apt-get clean
    apt-get update

    If those don't work, please try running this command and try updating again:
    rm -rf /var/lib/apt/lists/partial/*

    If that doesn't work, please try this command:
    rm -rf /var/lib/apt/lists/*

    Then follow-up with a final:
    apt-get update

    I hope this helps, but please let us know if you have any other questions or concerns.

The problem ended up being that my droplet was using Ubuntu saucy, and apparently there are no packages/updates on the mirrors for that version. To resolve the issue, I followed https://www.digitalocean.com/community/tutorials/how-to-upgrade-ubuntu-12-04-lts-to-ubuntu-14-04-lts to upgrade the droplet to a newer version. That worked.

Ubuntu has two types of releases: standard, which are released every six months, and Long Term Support (or "LTS"), which are released every two years. In this guide, we will go over how to safely upgrade an Ubuntu 12.04 server to 14.04, taking care to preserve our existing configuration.

This happened for me on an old / no-longer-supported version of Ubuntu. We're now upgrading that server to a recent version of Ubuntu.

Have another answer? Share your knowledge.