Ub 9.10 Update Failure

Asked by srikumar

Ub 9.10 was installed a few days ago and has been running OK.

An update was run today, a part of the way through which the computer re-booted, probably due to a loss of signal on the wireless broadband connection. Thereafter the update was continued to completion. Then the following error message appeared:-

E: /var/cache/apt/archives/python_2.6.4-0ubuntu1_all.deb: subprocess dpkg-deb --control returned error exit status 2
E: /var/cache/apt/archives/python-minimal_2.6.4-0ubuntu1_all.deb: subprocess dpkg-deb --control returned error exit status 2

It seems that a pert of the update was not successful.

How to fall back to the system prior to the update and to re-install the update.

any suggestions
Thank you
srikumar

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...

Then please try this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Please COPY-PASTE each line below into the Terminal then hit <enter> after each line)

LANG=C;sudo aptitude clean
LANG=C;sudo aptitude autoclean
LANG=C;sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
LANG=C;sudo aptitude install -f
LANG=C;sudo aptitude update
LANG=C;sudo aptitude dist-upgrade

Then run the following command once more to make sure there are no more pending updates:

LANG=C;sudo aptitude dist-upgrade

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Hope it helps,

Regards,

Mark

Revision history for this message
srikumar (ssrikumar) said :
#2

Thank you for the prompt response. In the meantime :-

The computer was re-booted and then ran Update Manager again and installed the updates successfully.

It all appears to be OK now.

Thanks again
srikumar

Revision history for this message
srikumar (ssrikumar) said :
#3

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
srikumar (ssrikumar) said :
#4

The update failed again today and therefore Mark's suggestion was used with success.

But could not get a copy of the terminal messages since the computer display froze and the system re-booted, fortunately after the update was completed.

The freezing of the display and re-booting sometimes happens when playing Solitaire. I do not know why this happens.

Thanks Mark
srikumar