LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-24-2003, 06:35 PM   #1
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Rep: Reputation: 32
after 'apt-get remove --purge', it's still there (?)


I'd like to get nedit off of my system (Sid's nedit unstable has a pretty bad bug, so I plan to just install nedit the old-fashioned way).

Code:
amethyst:/home/john# dpkg -l | grep nedit
ii  nedit          5.3-1          A powerful, customizable, Motif based text e
amethyst:/home/john# apt-get remove --purge nedit
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  nedit*
0 upgraded, 0 newly installed, 1 to remove and 19 not upgraded.
Need to get 0B of archives.
After unpacking 2101kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 19843 files and directories currently installed.)
Removing nedit ...
update-alternatives: --slave only allowed with --install

Debian update-alternatives 1.10.15.
Copyright (C) 1995 Ian Jackson.
Copyright (C) 2000-2002 Wichert Akkerman
This is free software; see the GNU General Public Licence
version 2 or later for copying conditions.  There is NO warranty.

Usage: update-alternatives --install <link> <name> <path> <priority>
                          [--slave <link> <name> <path>] ...
       update-alternatives --remove <name> <path>
       update-alternatives --remove-all <name>
       update-alternatives --auto <name>
       update-alternatives --display <name>
       update-alternatives --list <name>
       update-alternatives --config <name>
       update-alternatives --set <name> <path>
       update-alternatives --all
<name> is the name in /etc/alternatives.
<path> is the name referred to.
<link> is the link pointing to /etc/alternatives/<name>.
<priority> is an integer; options with higher numbers are chosen.

Options:  --verbose|--quiet  --test  --help  --version
          --altdir <directory>  --admindir <directory>
dpkg: error processing nedit (--purge):
 subprocess pre-removal script returned error exit status 2
Errors were encountered while processing:
 nedit
E: Sub-process /usr/bin/dpkg returned an error code (1)
amethyst:/home/john# dpkg -l | grep nedit
pi  nedit          5.3-1          A powerful, customizable, Motif based text e
Ack! What does the 'pi' mean?

I get pretty much the same output if I leave off the --purge except:

Code:
amethyst:/home/john# dpkg -l | grep nedit
ri  nedit          5.3-1          A powerful, customizable, Motif based text e
Ack Thpt! Now it says 'ri'. Where can I look up what these codes mean? I see at the top of a dpkg -l listing:

Code:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
So maybe pi means "Purge, Installed" and ri means "Remove Installed"... but that doesn't tell me what's really going on or how to fix it. Any ideas?

Last edited by johnMG; 09-24-2003 at 06:43 PM.
 
Old 09-25-2003, 07:01 AM   #2
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
ii - prevoius state installed, present state (to be done or already done) installed

pi - was purged, will be installed


pc - was purgde, is configured


rc - was removed, is configured


IMHO with a little pile of docs on my side

run aptitude - is more clear there
 
Old 09-25-2003, 08:54 AM   #3
johnMG
Member
 
Registered: Jul 2003
Location: CT, USA
Distribution: Debian Sarge (server), Etch (work/home)
Posts: 601

Original Poster
Rep: Reputation: 32
Thanks pe. I'll take your suggestion and install aptitude (or maybe synaptic) -- maybe one of those will try to automatically resolve my issue.
 
  


Reply



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
Does apt-get/aptitude's purge option removed required dep of other packages? Akhran Debian 1 09-05-2005 06:52 PM
apt-get remove zaicheke Debian 7 10-29-2004 11:36 AM
HELP with apt-getHow come when I tried to use apt-get to remove a package to regain redss Linux - Newbie 1 08-22-2004 11:59 PM
apt-get remove and dependencies wrongman Debian 3 05-21-2004 03:57 PM
Apt remove problems jrmann1999 Debian 4 08-19-2003 04:21 PM

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

All times are GMT -5. The time now is 02:35 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