Re: Help! dpkg --prge-package hangs forever
Stan Brown wrote:
>
> I installled console-log, because it looked useful.
>
> However once I did that, I could not get the machine in question to shutdown
> cleanly, it always hung at shutting down console-log.
>
> So, I tried to remove it with dselect. dslect hung while suting it down alos.
>
> At this point in time, I have rbooted several times, and a "dpkg --purge-package
> console-log" hnags at the "shuting down package" state, forever (it's been siting
> there for an hour!
>
> This of course renders dselect useless!
>
> Help, please, how do I fix this?
>
kill -9 logpager
before dpkg --purge
should do it.
Or you can remove /etc/init.d/console-log ,reboot then safely remove it.
Reply to: