Debian apt-get blues

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: der.hans
Date:  
Subject: Debian apt-get blues
Am 01. Aug, 2002 schwätzte Bob George so:

> 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)


Even though you're removing, it's the post-installation script that's
borken. I'd say this mean wdm never got fully installed.

'dpkg -l wdm' should confirm that.

Try 'dpkg --configure -a'. I used to just run that every week or so on my
boxen, but it's been a while since I've needed it.

That and 'apt-get -f isntall' seem to fix almost all of the problems I run
into unless a package is really borked.

ciao,

der.hans
--
# https://www.LuftHans.com/
# If you're not learning, you're not living. - der.hans