Partial Upgrade to 12.4 fails

Asked by Bill Shanks

The following message recieved when downloading partial upgrade to 12.04

Could not download the upgrades

The upgrade has aborted. Please check your internet connection of installation media and try again. All files downloaded so far have been kept.

Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/universe/n/nspr/libnspr4-0d_4.8.9-1ubuntu2.2_i386.deb 404 Not Found [IP: 91.189.92.177 80]
Failed to fetch http://gb.archive.ubuntu.com/ubuntu/pool/main/n/nspr/libnspr4_4.8.9-1ubuntu2.2_i386.deb 404 Not Found [IP: 91.189.92.177 80]

My internet connection is working ok and I have tried to repeat the upgrade twice without success. What do I need to do to complete the upgrade

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu update-manager Edit question
Assignee:
No assignee Edit question
Solved by:
Bill Shanks
Solved:
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#1

Hi ,
please open a terminal (ctrl+alt+t ) and copy-paste below commands with order (one line = one command)
NO other program must run , only a terminal .
+++++++++++++++++++++++++++++++++++++++
sudo rm /var/lib/apt/lists* -vf
sudo apt-get autoclean && sudo apt-get clean all
sudo apt-get update ; sudo apt-get dist-upgrade
+++++++++++++++++++++++++++++++++++++++

Make all updates and hopefully you will be fine.
If any errors occur , post them here
Thanks

Revision history for this message
Bill Shanks (bill-shanks2001) said :
#2

sudo rm /var/lib/apt/lists* -vf
results in command not found

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#3

Hi
it cannot return "command not found" , (please copy-paste the commands from here to your terminal for more accuracy)
maybe returned something like " Cannot remove lists its a directory" so use this command instead

+++++++++++++++++++++++++++
sudo rm -rf /var/lib/apt/lists*
+++++++++++++++++++++++++++

and then do ..

+++++++++++++++++++++++++++
sudo apt-get update
sudo apt-get dist-upgrade
+++++++++++++++++++++++++++
make all updates and you will be fine (I hope).
Thanks

Revision history for this message
Bill Shanks (bill-shanks2001) said :
#4

System no longer prompting for partial upgrade. However, I have installed the updates that Update Manager displayed.