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?