[hardy] deskbar-applet fails to upgrade - pycentral not overwriting files

Bug #204528 reported by Joachim Beckers
2
Affects Status Importance Assigned to Milestone
python-central (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: deskbar-applet

dpkg fails saying:

Setting up deskbar-applet (2.22.0.1-0ubuntu1) ...
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files
dpkg: error processing deskbar-applet (--configure):
 subprocess post-installation script returned error exit status 1

after editing /var/lib/dpkg/info/deskbar-applet.postinst to add the -v flag to pycentral, it gives:

 joachim@Mackeunnen:/var/lib/dpkg/info$ sudo ./deskbar-applet.postinst
pycentral: pycentral -v pkginstall deskbar-applet
pycentral: reading /usr/share/pyshared-data/deskbar-applet
pycentral: Using python-version from pkgconfig: 2.4, 2.5
pycentral: avail=['2.5'], pkg=2.4, 2.5, install=['2.5']
pycentral: install package deskbar-applet
pycentral: link shared files python2.5/deskbar-applet
pycentral: pycentral pkginstall: not overwriting local files
pycentral pkginstall: not overwriting local files

Revision history for this message
Joachim Beckers (jbeckers) wrote :
Download full text (10.7 KiB)

workaround:
---------------

temporarily add
  overwrite-local = 1
to /etc/python/debian_config.

result:
--------

Setting up deskbar-applet (2.22.0.1-0ubuntu1) ...
overwriting local files
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/__init__.py -> ../../../../share/pyshared/deskbar/__init__.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/BrowserMatch.py -> ../../../../../share/pyshared/deskbar/core/BrowserMatch.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/Categories.py -> ../../../../../share/pyshared/deskbar/core/Categories.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/CoreImpl.py -> ../../../../../share/pyshared/deskbar/core/CoreImpl.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/DeskbarHistory.py -> ../../../../../share/pyshared/deskbar/core/DeskbarHistory.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/GconfStore.py -> ../../../../../share/pyshared/deskbar/core/GconfStore.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/Indexer.py -> ../../../../../share/pyshared/deskbar/core/Indexer.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/Keybinder.py -> ../../../../../share/pyshared/deskbar/core/Keybinder.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/ModuleInstaller.py -> ../../../../../share/pyshared/deskbar/core/ModuleInstaller.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/ModuleList.py -> ../../../../../share/pyshared/deskbar/core/ModuleList.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/ModuleLoader.py -> ../../../../../share/pyshared/deskbar/core/ModuleLoader.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/ThreadPool.py -> ../../../../../share/pyshared/deskbar/core/ThreadPool.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/Utils.py -> ../../../../../share/pyshared/deskbar/core/Utils.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/Watcher.py -> ../../../../../share/pyshared/deskbar/core/Watcher.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/__init__.py -> ../../../../../share/pyshared/deskbar/core/__init__.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/_userdirs/__init__.py -> ../../../../../../share/pyshared/deskbar/core/_userdirs/__init__.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/gnomedesktop/__init__.py -> ../../../../../../share/pyshared/deskbar/core/gnomedesktop/__init__.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/keybinder/__init__.py -> ../../../../../../share/pyshared/deskbar/core/keybinder/__init__.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/updater/NewStuffUpdater.py -> ../../../../../../share/pyshared/deskbar/core/updater/NewStuffUpdater.py
warning: already exists: /usr/lib/python2.5/site-packages/deskbar/core/updater/__init__.py -> ../../../../../../share/pyshared/deskbar/core/updater/__init__.py
warning: already exists: /...

Revision history for this message
Matthias Klose (doko) wrote :

the symlinks are relative, although pycentral only creates absolute symlinks. please could you attach the (compressed) pycentral that you use?
is the package installed from the archive?

Changed in python-central:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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