LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   problem in apt-get while removing package.. !! (https://www.linuxquestions.org/questions/debian-26/problem-in-apt-get-while-removing-package-599484/)

culin 11-14-2007 12:15 AM

problem in apt-get while removing package.. !!
 
Hi pals,
i had this problem when i tried removing a package using apt-get

>After unpacking 1155kB disk space will be freed.
>Do you want to continue [Y/n]? y
>(Reading database ... 120 files and directories currently installed.)
>Removing libpam-doc ...
>dpkg: error processing libpam-doc (--remove):
> cannot remove `/.': Invalid argument
>Errors were encountered while processing:
> libpam-doc
>E: Sub-process /usr/bin/dpkg returned an error code (1)

Please help me to solve this..
thanks.. :)

deepclutch 11-21-2007 11:22 AM

try as root permission:
Code:

dpkg --remove-reinstreq --purge libpam-doc

pAn1k 11-21-2007 02:00 PM

using dpkg is the way to go. I recently had some isues with uninstalling compiz and had to resort to using dpkg to fix it.

deepclutch 11-21-2007 04:26 PM

this will be a constant problem with backports to Etch or people like me who uses apt-pinning sid+lenny+experimental to get latest Gnome or debian softwares :D

nx5000 11-22-2007 06:57 AM

You don't need to use dpkg:
Code:

apt-get -o DPkg::Options::="--reinst-required" --purge remove libpam-doc
Hidden feature ;)


All times are GMT -5. The time now is 10:38 AM.