Can't update/upgrade anything

Asked by Diana Algma on 2013-11-27

I recently installed Ubuntu 8.04.1 LTS on my PC. Now i'm in trouble cause it is impossible to update anything, not to 10.04.3 or individual updates because of this every time i try:
W:Failed to fetch 404 Not Found
, E:Some index files failed to download, they have been ignored, or old ones used instead.

I've tried some guidelines from forums but all i got was a few more seconds that it fetched smthing and then again failed.
I can't install any other version of ubuntu from a DVD or either install windows again because when i try to autorun it, it tells me it doesn't have autorun program. So I'm stuck with this old ubuntu that i can't upgrade or update. WTH can I do???

Question information

English Edit question
Ubuntu yelp Edit question
No assignee Edit question
Last query:
Last reply:

Why not do a clean install of Precise rather than upgrading and so forth? Precise is the latest LTS release and supported til April 2017.

michael (yellupcm-gmail) said : #2

Please read this site. Pay close attention to End Of Life dates.

Have you changed boot order in BIOS, so the computer will boot from DVD reader?
If you have older computer, check if the system requirements for 12.04 can be met by your computer. If it does not meet the requirements, check out Xubuntu or Lububtu. Both are listed at bottom of above site.

Diana Algma (dianx93) said : #3

Last night I was able to update to 10.04. Somehow this time the update didn't cancel when it couldn't fetch some files but kept updating. Now I'm trying to update to 12.04 but i have the same problem, can't fetch some files so it doesn't update anything.
I can't do a clean install because autorun doesn't work, i e i can't use a dvd or cd for installing a new os.
From computer settings (when turning the PC on) it seems, that the dvd rom is 1st in boot order but it just doesn't do that.
I'll try to search in forums for solutions for the fetching problem... until something from there works, i'm still w/o a solution.

Manfred Hampl (m-hampl) said : #4

If you are already on Ubuntu 10.04 and want to upgrade to 12.04, you could just open a terminal (ctrl-alt-t) and issue the command

sudo do-release-upgrade

This should download all files required for the release upgrade and perform the update for your Ubuntu system.

If that fails, you should check the status of your current system by issuing the following commands:

uname -a
lsb_release -a
cat /etc/update-manager/release-upgrades
sudo apt-get update
sudo apt-get upgrade

Please select all output, copy it and paste into this question document that we can verify.

Diana Algma (dianx93) said : #5

with the first one:
Hit precise-security/universe Translation-en
Fetched 0 B in 0s (0 B/s)

Error during update

A problem occurred during the update. This is usually some sort of
network problem, please check your network connection and retry.

W:Failed to fetch
404 Not Found
, E:Some index files failed to download. They have been ignored, or
old ones used instead.

second one:
dianx@lauakas:~$ uname -a
Linux lauakas 2.6.32-53-generic #115-Ubuntu SMP Wed Oct 23 17:28:40 UTC 2013 i686 GNU/Linux
dianx@lauakas:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 10.04.4 LTS
Release: 10.04
Codename: lucid
dianx@lauakas:~$ cat /etc/update-manager/release-upgrades
# Default behavior for the release upgrader.

# Default prompting behavior, valid options:
# never - Never check for a new release.
# normal - Check to see if a new release is available. If more than one new
# release is found, the release upgrader will attempt to upgrade to
# the release that immediately succeeds the currently-running
# release.
# lts - Check to see if a new LTS release is available. The upgrader
# will attempt to upgrade to the first LTS release available after
# the currently-running one. Note that this option should not be
# used if the currently-running release is not itself an LTS
# release, since in that case the upgrader won't be able to
# determine if a newer release is available.
dianx@lauakas:~$ sudo apt-get update
Hit lucid Release.gpg
Hit lucid Release.gpg
Ign lucid/main Translation-en_US
Ign lucid/main Translation-en_US
Ign lucid/restricted Translation-en_US
Ign lucid/universe Translation-en_US
Ign lucid/multiverse Translation-en_US
Hit lucid-updates Release.gpg
Hit lucid Release
Ign lucid-updates/main Translation-en_US
Ign lucid-updates/restricted Translation-en_US
Ign lucid-updates/universe Translation-en_US
Ign lucid-updates/multiverse Translation-en_US
Hit lucid-security Release.gpg
Ign lucid-security/main Translation-en_US
Ign lucid-security/restricted Translation-en_US
Ign lucid-security/universe Translation-en_US
Ign lucid-security/multiverse Translation-en_US
Hit lucid Release
Ign lucid/main Packages
Hit lucid-updates Release
Ign lucid/main Packages
Err lucid/main Packages
  404 Not Found
Hit lucid-security Release
Hit lucid/main Packages
Hit lucid/restricted Packages
Hit lucid/main Sources
Hit lucid/restricted Sources
Hit lucid/universe Packages
Hit lucid/universe Sources
Hit lucid/multiverse Packages
Hit lucid/multiverse Sources
Hit lucid-updates/main Packages
Hit lucid-updates/restricted Packages
Hit lucid-updates/main Sources
Hit lucid-updates/restricted Sources
Hit lucid-updates/universe Packages
Hit lucid-updates/universe Sources
Hit lucid-updates/multiverse Packages
Hit lucid-updates/multiverse Sources
Hit lucid-security/main Packages
Hit lucid-security/restricted Packages
Hit lucid-security/main Sources
Hit lucid-security/restricted Sources
Hit lucid-security/universe Packages
Hit lucid-security/universe Sources
Hit lucid-security/multiverse Packages
Hit lucid-security/multiverse Sources
W: Failed to fetch 404 Not Found

E: Some index files failed to download, they have been ignored, or old ones used instead.
dianx@lauakas:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Restoring original system state

Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done

Diana Algma (dianx93) said : #6

when i press check in update manager:
Failed to fetch 404 Not Found
Some index files failed to download, they have been ignored, or old ones used instead.

when trying to upgrade to 12.04 while setting new software channels:
W:Failed to fetch 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.
so the same...

I suggest you boot to the Precise install CD, you will be offered an upgrade option

Manfred Hampl (m-hampl) said : #8

Apparently you have erroneously an extra server mentioned in your list of servers from where software can be downloaded from.
Ubuntu-ports is a project to provide Ubuntu also for systems with other processors than the widely-used Intel x86 and AMD64 architecture. As your system apparently works well with the i686 software, you do not need that extra server at all.

Please open a terminal and execute the following command:

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

then copy/paste all output that we can provide instructions how to correct that.

Can you help with this problem?

Provide an answer of your own, or ask Diana Algma for more information if necessary.

To post a message you must log in.