Hi ... On Sat, Feb 02, 2002 at 12:14:58PM -0900, Greg C. Madden wrote: >I removed gpm with: 'update-rc.d -f gpm remove' then 'dpkg -P gpm' >Apparently this did not remove a reference to gpm somewhere in the dpkg >system. Dselect will not install new packages as it fails with the >following messages: why did you not purge gpm with dpkg -P gpm only? It will work as well. If you will do so, without update-rc.d -f gpm remove, you wont get this : >(Reading database ... 69797 files and directories currently installed.) >Removing gpm ... >/var/lib/dpkg/info/gpm.prerm: /etc/init.d/gpm: No such file or directory >/usr/sbin/gpm: invalid option -- x >gpm 1.19.6, Thu Oct 4 00:21:21 CEST 2001 >Error in the commandline specification. Try "/usr/sbin/gpm -h". >/var/lib/dpkg/info/gpm.prerm: : command not found >dpkg: error processing gpm (--purge): > subprocess pre-removal script returned error exit status 1 >update-rc.d: /etc/init.d/gpm: file does not exist >dpkg: error while cleaning up: > subprocess post-installation script returned error exit status 1 >Errors were encountered while processing: gpm Because of the running update-rc.d -f gpm remove before purging gpm, there is no /etc/init.d/gpm, so the dpkg is not able to purge gpm at all. Look intp /var/lib/dpkg/info/gpm.prerm, there will be a test like if /etc/init.d/gpm stop; then return 0; fi comment or delete this line, and then, dpkg -P will work. HTH Jan -- One time, you all will be emulated by linux! ---- Jan- Hendrik Palic Url:"http://www.billgotchy.de" E-Mail: "palic@billgotchy.de" -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d- s: a-- C++ UL++ P+++ L+++ E W++ N+ o+ K- w--- O- M- V- PS++ PE Y+ PGP++ t--- 5- X+++ R-- tv- b++ DI-- D+++ G+++ e+++ h+ r++ z+ ------END GEEK CODE BLOCK------
Attachment:
pgpMxd8qFa4pE.pgp
Description: PGP signature