On Sat, Jul 02, 2005 at 04:30:38PM -0400, adijr . wrote: > hello. > > I have a little problem > > running debian 3.1 r0a > > i was trying to install a hl5140 driver package, and the only one i seemed > to find was an rpm. So i installed it with alien, but it wasn't very > useful. Upon uninstallation (w/ Synaptic PM under KDE) all seemed well, but > when i try to (re)install a deb version of the package, i get something > along the lines of "Package needs to be reinstalled, but i can't find the > archive' from apt. alien and dpkg request me to uninstall the package that > somehow is still there, but can't do it, giving me something of the sort: > > Removing hl5140lpr ... > /var/lib/dpkg/info/hl5140lpr.postrm: line 3: /etc/init.d/lpd: No such file > or directory > dpkg: error processing hl5140lpr (--remove): > subprocess post-removal script returned error exit status 127 > Errors were encountered while processing: > hl5140lpr > E: Sub-process /usr/bin/dpkg returned an error code (1) > RESULT=100 > > Any ideas how to get rid of the old pacake so i can install the new one..? > or how to reinstall the new one Over the old? > > thanks > > adijr. Hi A, sounds like the OLD package has a post-remove script that is failing. I would suggest ONE of these: 1) examine and fix the script and its error 2) add 'exit 0' to the top, so as to ignore the error 3) try to purge (not just remove) the script then try to install the DEB cheers, Kev -- counter.li.org #238656 -- goto counter.li.org and be counted! `$' $' $ $ _ ,d$$$g$ ,d$$$b. $,d$$$b`$' g$$$$$b $,d$$b ,$P' `$ ,$P' `Y$ $$' `$ $ "' `$ $$' `$ $$ $ $$ggggg$ $ $ $ ,$P"" $ $ $ `$g. ,$$ `$$._ _. $ _,g$P $ `$b. ,$$ $ $ `Y$$P'$. `Y$$$$P $$$P"' ,$. `Y$$P'$ $. ,$.
Description: Digital signature