LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-14-2007, 12:15 AM   #1
culin
Member
 
Registered: Sep 2006
Distribution: Fedora Core 10
Posts: 254

Rep: Reputation: 32
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..
 
Old 11-21-2007, 11:22 AM   #2
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
try as root permission:
Code:
dpkg --remove-reinstreq --purge libpam-doc
 
Old 11-21-2007, 02:00 PM   #3
pAn1k
Member
 
Registered: Jun 2004
Location: Cala city
Distribution: Suse 10.0; Debian 5.0 (Lenny) Fluxbox
Posts: 240

Rep: Reputation: 30
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.
 
Old 11-21-2007, 04:26 PM   #4
deepclutch
Member
 
Registered: Nov 2004
Location: Kerala, India
Distribution: Debian Bookworm
Posts: 773
Blog Entries: 1

Rep: Reputation: 34
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
 
Old 11-22-2007, 06:57 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
You don't need to use dpkg:
Code:
apt-get -o DPkg::Options::="--reinst-required" --purge remove libpam-doc
Hidden feature
 
  


Reply

Tags
dpkg



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem removing package heffo_j Linux - Software 1 06-28-2007 06:46 AM
apt-get package management problem fatsheep Red Hat 3 06-20-2007 08:37 PM
Problem removing package powadha Debian 8 11-11-2006 09:40 AM
problem with apt-file or package?? kaz2100 Debian 6 08-16-2006 06:13 PM
Problem with removing a package Aramil Ubuntu 3 12-06-2005 06:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration