apt failed to upgrade: subprocess installed post-installation script returned error exit status 1 - (maybe failure of set_apt_proxy_from_gconf on kubuntu ?)

Bug #571995 reported by Al Williams
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

Not much info. Says Could not install "apt". The upgrade will continue but the 'apt' package may not be in a working state. Please consider submitting a bug report about it.

Subprocess installed post-installation script returned error exit status 1

Revision history for this message
Jean-Baptiste Lallement (jibel) 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 bug report as separate attachments? Thanks in advance.

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Al Williams (wd5gnr) wrote :

I can add the logs but I can also tell you what happened.

Turns out in /var/lib/dpkg/info/apt.postinst there is a function called:

set_apt_proxy_from_gconf

What’s more is down a ways in the script it calls this line and that is what makes it fail. I'm going to hazard a guess that since this is Kubuntu there is not enough stuff there for gconf to work. I don't use a proxy so I commented out the call and the surrounding if (3 lines) and then dpkg was able to configure everything and all was well. Well, then I have the usual hassle with Nvidia and VirtualBox, but that's another issue ;-)

Revision history for this message
Al Williams (wd5gnr) wrote :
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for following up and the additional informations. I'm affecting this report to apt.

Changed in update-manager (Ubuntu):
status: Incomplete → Confirmed
summary: - Upgrade reports could not install apt
+ apt failed to upgrade: subprocess installed post-installation script
+ returned error exit status 1 - (maybe failure of
+ set_apt_proxy_from_gconf on kubuntu ?)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for following up and the additional informations. I'm affecting this report to apt.

affects: update-manager (Ubuntu) → apt (Ubuntu)
Revision history for this message
Julian Andres Klode (juliank) wrote :

Fixed in maverick with 0.7.26~exp12ubuntu1

Changed in apt (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.