[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Purging an older deskbar-applet



----- Forwarded message from Chris Searle -----

> On 20. okt. 2006, at 20.14, Florian Kulzer wrote:
> 
> >On Fri, Oct 20, 2006 at 09:21:42 +0200, Chris wrote:
> 
> >>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 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.
> 
> There is no deskbar-applet* file in that dir :(

----- End forwarded message -----

Then I would try to move the file /var/lib/python-support/bytecompiled
out of the way and run the purge command again. (If this does not help
then you can simply move the file back.)

-- 
Regards,
          Florian



Reply to: