If all else fails, you can take a look at the contents of: /var/lib/dpkg/info/wdm.postinst See what it does, and perhaps fix it, and report a bug. If it's too complex, or you don't want to bother, as a last resort, just move the file out of that directory (/var/tmp is good..) and attempt to remove the package again. On Thu, 2002-08-01 at 02:07, Bob George wrote: > I seem to have broken something with Debian by trying (foolishly) to > uninstall wdm while in X. Now I get: > > --- cut here --- cut here --- > # apt-get remove wdm > Reading Package Lists... Done > Building Dependency Tree... Done > The following packages will be REMOVED: > wdm > 0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded. > 2 packages not fully installed or removed. > Need to get 0B of archives. After unpacking 1266kB will be freed. > Do you want to continue? [Y/n] y > (Reading database ... 49948 files and directories currently installed.) > Removing wdm ... > dpkg: error processing wdm (--remove): > subprocess pre-removal script returned error exit status 10 > dpkg: error while cleaning up: > subprocess post-installation script returned error exit status 10 > Errors were encountered while processing: > wdm > E: Sub-process /usr/bin/dpkg returned an error code (1) > --- cut here --- cut here --- > > Installing is no better: > > --- cut here --- cut here --- > # apt-get install wdm > Reading Package Lists... Done > Building Dependency Tree... Done > Sorry, wdm is already the newest version. > 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. > 2 packages not fully installed or removed. > Need to get 0B of archives. After unpacking 0B will be used. > Setting up kdm (2.2.2-14) ... > dpkg: error processing kdm (--configure): > subprocess post-installation script returned error exit status 10 > Setting up wdm (1.20-15) ... > dpkg: error processing wdm (--configure): > subprocess post-installation script returned error exit status 10 > Errors were encountered while processing: > kdm > wdm > localepurge: processing locale files ... > localepurge: processing man pages ... > E: Sub-process /usr/bin/dpkg returned an error code (1) > --- cut here --- cut here --- > > So now kdm is broken to boot. I'm in a bit of a quandry, and I would > like to get a graphical login going again. Any suggestions? I've tried > "dpkg-reconfigure wdm", "apt-get --fix-missing wdm" and screaming at > it, but no luck so far. > > Thanks, > > - Bob > ________________________________________________ > See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail. > > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss -- Blake Barnett (bdb) Sr. Unix Administrator DevelopOnline.com office: 480-377-6816 Learning is a skill, you get better at it with practice.