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.. :) |
try as root permission:
Code:
dpkg --remove-reinstreq --purge libpam-doc |
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.
|
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
|
You don't need to use dpkg:
Code:
apt-get -o DPkg::Options::="--reinst-required" --purge remove libpam-doc |
All times are GMT -5. The time now is 10:38 AM. |