On Fri, Oct 20, 2006 at 09:21:42 +0200, Chris wrote: > Running sid. > > I'm trying to purge deskbar-applet: > > The following packages will be REMOVED: > deskbar-applet{p} > 0 packages upgraded, 0 newly installed, 3 to remove and 462 not upgraded. > Need to get 0B of archives. After unpacking 737kB will be freed. > Do you want to continue? [Y/n/?] y > Writing extended state information... Done > (Reading database ... 203430 files and directories currently installed.) > Removing deskbar-applet ... > usage: update-python-modules [-v] [-c] package_directory [...] > update-python-modules [-v] [-c] package.dirs [...] > update-python-modules [-v] [-a|-f] > > update-python-modules: error: /usr/lib/deskbar-applet is not in the > python-support directory. > dpkg: error processing deskbar-applet (--purge): > subprocess pre-removal script returned error exit status 1 > Errors were encountered while processing: > deskbar-applet > E: Sub-process /usr/bin/dpkg returned an error code (1) > A package failed to install. Trying to recover: > > > The installed version is: > > pi deskbar-applet 0.8.0-1+b1 keyword-driven > navigational bar for GNOME > > apt-cache policy is showing: > > Installed: 0.8.0-1+b1 > Candidate: 2.14.2-4 > > So - I'm not convinced that the 0.8 one is from the main repos (seems > quite a version change). Can't recall where I grabbed if from if not though. > > > Upgrading to 2.14 would cause a lot of packages to update that I just > don't want to take right now. > > > All I want to do is to get the 0.8 one out of the system. > > Not so good on python things - is this as simple as trying to get > deskbar-applet listed for update-python-modules prior to running the > purge? If so - how? > > Had a look under /var/lib/python-support - I see a dir for 2.3 and 2.4 > and a single file called bytecompiled which has the single line: > > /usr/lib/deskbar-applet > > Am a bit lost.
The pre-removal script of this packages should be here: /var/lib/dpkg/info/deskbar-applet.prerm Maybe you can simply comment out the call to update-python-modules, or there might be a syntax error in the script that you can fix. -- Regards, Florian -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]