package update-manager 1:0.81 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1)

Bug #154697 reported by Laurent Malvert on 2007-10-20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Undecided
Michael Vogt

Bug Description

Binary package hint: update-manager

situation:
upgrade from ubuntu 7.04 to 7.10 with update-manager

> uname -a
Linux ************* 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux

ProblemType: Package
Architecture: i386
Date: Sat Oct 20 03:13:01 2007
DistroRelease: Ubuntu 7.10
ErrorMessage: ErrorMessage: SystemError in cache.commit(): E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1)

NonfreeKernelModules: fglrx
Package: update-manager 1:0.81
PackageArchitecture: all
SourcePackage: update-manager
Title: package update-manager 1:0.81 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1)
Uname: Linux lam-laptop 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux

Michael Vogt (mvo) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please add the log files from '/var/log/dist-upgrade/' to this bugreport as attachments to your bug report? Thanks in advance.

Changed in update-manager:
assignee: nobody → mvo
status: New → Incomplete

On Wed, 2007-10-24 at 19:22 +0000, Michael Vogt wrote:
> Thanks for taking the time to report this bug and helping to make Ubuntu
> better. Could you please add the log files from '/var/log/dist-
> upgrade/' to this bugreport as attachments to your bug report? Thanks
> in advance.
>
> ** This bug is no longer a duplicate of bug 154253
> package update-manager 1:0.81 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /tmp/tmppyNRYB/backports/usr/bin/dpkg returned an error code (1), E:Sub-process /tmp/tmppyNRYB/backports/usr/bin/dpkg returned an error code (1)
>
> ** Changed in: update-manager (Ubuntu)
> Assignee: (unassigned) => Michael Vogt (mvo)
> Status: New => Incomplete
>
 I am not sure where to find it?

Gussett (garry-it42) wrote :

Attached as requested.

Unsubscribe

Brian Chickery
IT Specialist
Vassar College
845-437-7893

On Oct 24, 2007, at 3:56 PM, Gussett wrote:

> Attached as requested.
>
> ** Attachment added: "Log Files in /var/log/dist-upgrade/"
> http://launchpadlibrarian.net/10163019/dist-upgrade.tar.gz
>
> --
> package update-manager 1:0.81 failed to install/upgrade:
> ErrorMessage: SystemError in cache.commit(): E:Sub-process /tmp/
> tmpjP6Bsx/backports/usr/bin/dpkg returned an error code (1), E:Sub-
> process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an error code
> (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg returned an
> error code (1), E:Sub-process /tmp/tmpjP6Bsx/backports/usr/bin/dpkg
> returned an error code (1)
> https://bugs.launchpad.net/bugs/154697
> You received this bug notification because you are a direct subscriber
> of the bug.

Zaehlas (zaehlas) wrote :

I have an attachment as well, if you can provide information as to how to proceed. Once I received the error, the upgrade crashed. It shows no sign of any out of date packages (even though my non-64 bit system has had a number of packages update since upgrade). I am afraid to reboot it, as I don't want my server to crash, so I'm hoping to try and force it to redo the entire upgrade from scratch, but it says it doesn't need to.

All my known services on the computer the upgrade failed on (webserver, mail server, python, teamspeak, etc) all function normally it seems.

Thanks

"Z"

Steve Ward (planet36) wrote :
Max Randor (max-randor) wrote :

I did:
sudo apt-get -f install
sudo apt-get remove aptoncd
sudo dpkg --configure -a
sudo apt-get install aptoncd
sudo apt-get install ubuntu-desktop
sudo apt-get -f install
Thanks to #ubuntu-uk for telling me what to do
the only package that had not installed properly was aptoncd (of course it could be different for different people)

But it worked, or was not necessary because everything appears to be working fine.

Jamie Osborne (jamie-osborne) wrote :

Attaching logs from /var/log/dist-upgrade/

Attaching my logs as well

Steve Sly (slyski) wrote :

And here are my logs

I can add some more details now:

The first installation failed, giving first a non-fatal error about cupsys upgrade, then crashing in the process of writing the kernel image!!! Clearly, this left me with a non-working 2.6.22 (generic) kernel. I had to restore the partition from the image I made (PartitionImage + Knoppix saved my life, I strongly advice this combination!!!).

Then I tried again and it worked just fine.

Differences between the first and the second time were:
1) The second time I did activate cupsys before upgrading, since I read in another bug report that having it turned down was a cause of failure
2) Maybe more important, I avoided uninstalling the nvidia drivers. Those were installed through the "envy" script. The first time I removed them as adviced on the envy website, and I did also purge compiz (which I had from the git repository). The second time I left everything as it was, and all I had to do at the end was downgrading some compiz packages which had not been overwritten by the upgrade (ccsm and a couple others).

I hope this helps.

+1 the 27th of November

Aurélie

oh, my logs!

Andrew Conkling (andrewski) wrote :

Information provided, changing bug status.

Changed in update-manager:
status: Incomplete → Confirmed
pdlethbridge (pdleth) wrote :

same issue here as well

Michael Vogt (mvo) wrote :

@CarloBaldassi: The cupsys issue is fixed in hardy now (#156634)

CarloBaldassi (carlobaldassi) wrote :

@MichaelVogt: great news, thanks!

Kattollikisd (kattollikisd) wrote :

Yea >:-( i see... the same is happening to me now!

TeliuTe (teliute) wrote :

the same when i update from 7.10 to 8.04 lts

  • unnamed Edit (148 bytes, text/html; charset=ISO-8859-1)

What I did was to completely reinstall system which was a pain in the arse
to reconfigure grub and fstab but well, I have done worse things

distribution upgrade from 7.10 -> 8.4
Problems during cpad-kernel-source installation killed the update-manager.

dpkg --purge cpad-kernel-source
solved it for me

Sam Stern (samstern) wrote :

attached please find my /var/log/dist-upgrade logs
I have saved the /tmp dirs as well - let me know if you need those as well

zenith (lasse-bigum) wrote :

package update-manager 1:0.93.19 failed to install/upgrade: ErrorMessage: SystemError in cache.commit(): E:Sub-process /usr/bin/dpkg returned an error code (1), E:Sub-process /usr/bin/dpkg returned an error code (1)

I got the above error while doing an upgrade from 8.04 to 8.10.

max (maxozilla) wrote :

same upgrading from 8.04 to 8.10

alexenko (alexenko) wrote :

dist-upgrade log files

lysdexia (doug-shawhan) wrote :

Ouch.

Dennis Lange (dennis-lumalab) wrote :

After rebooting it looks like the update was successful.

Version 8.10 (interpid)
Kernel Linux 2.6.27-7-generic
GNOME 2.24.1

Icestrike2006 (icestrike2006) wrote :

+1

The original issue is about a failed install of emacs22-gtk because of uncompatible addons installed on the system. The others comments are totally unrelated to the original issue. So I'm closing this report.

@Laurent, this report has been reported a while ago, but if this is still an issue then don't hesitate to reopen.

@other, if you're still experiencing upgrade issues, then feel free to file a new report. If it happens to be a duplicate of this one, it's easy to mark it as duplicate.

Thanks all for your help to make Ubuntu better.

Changed in update-manager:
status: Confirmed → Invalid
Michael Vogt (mvo) wrote :

@alexenko: Thanks for your logs:

2008-10-29 18:54:44,116 ERROR got an error from dpkg for pkg: '/var/cache/apt/archives/ubuntustudio-menu_0.11_all.deb': 'there is no script in the new version of the package - giving up'

This is a bug in ubuntustudio-menu it reported.

@lysdexia: Thanks for your logs:
2008-10-31 12:54:27,648 DEBUG running apport_pkgfailure() python-yaml: subprocess post-installation script returned error exit status 1
Setting up python-yaml (3.05-2) ...
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing python-yaml (--configure):
 subprocess post-installation script returned error exit status 1

This is a bug in the python-central its know and a fix is in progress.

Bot errors are anyoing but the system should work fine, they are both non core packages.

*http://www.hstpetition.com/petition/sign.php*<http://www.hstpetition.com/petition/sign.php>

sign the petition to get rid of the HST
if this does not concern you then disregard this message

Thank you

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers