dist-upgrade to edgy failed on gnome-app-install (because of locally installed /usr/local/bin/python2.5)

Bug #67067 reported by Jim Garrison on 2006-10-20
6
Affects Status Importance Assigned to Milestone
gnome-app-install (Ubuntu)
High
Michael Vogt

Bug Description

Binary package hint: update-manager

Could not install 'gnome-app-install'

The upgrade aborts now. Please report this bug against the
'update-manager' package and include the files in /var/log/dist-upgrade/
in the bugreport.

subprocess post-installation script returned error exit status 1

Could not install 'ubuntu-desktop'

The upgrade aborts now. Please report this bug against the
'update-manager' package and include the files in /var/log/dist-upgrade/
in the bugreport.

dependency problems - leaving unconfigured

Could not install the upgrades

The upgrade aborts now. Your system could be in an unusable state. A
recovery was run (dpkg --configure -a).

Please report this bug against the 'update-manager' package and include
the files in /var/log/dist-upgrade/ in the bugreport.

installArchives() failed

Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Can you please run:
$ python -c 'import xdg.DesktopEntry'
$ python -c 'import xdg'

and tell me what it prints? It looks like (even though python-xdg is configured by dpkg before it is used) for some reason it is not usable.

Changed in update-manager:
assignee: nobody → mvo
importance: Undecided → High
status: Unconfirmed → Needs Info

Both commands work perfectly with no output.

However, I think we have found the culprit possibly nonetheless.

At the time of installation, I had python2.5 installed in /usr/local/bin because I simply could not wait for edgy to be released. So if, at any point in the install process, a script ran "/usr/bin/env python", it would have invoked my python in /usr/local/bin, which does not contain xdg in its path.

Michael Vogt (mvo) wrote :

Thanks for this additional information. I will change the package to use /usr/bin/python explicitely to avoid this problem in for other users.

Changed in pyxdg:
status: Needs Info → Confirmed
Michael Vogt (mvo) on 2007-01-22
Changed in gnome-app-install:
status: Confirmed → Fix Committed
Michael Vogt (mvo) on 2007-04-05
Changed in gnome-app-install:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers