On Sat, May 19, 2001 at 11:01:05AM -0700, Timothy L. Bolz wrote:
> I have one broken package which isn't allowing me to reinstall the the
> things I need to get X back up. Is there a way to track down that package
apt-get -f install
man page of apt-get:
-f, --fix-broken
Fix; attempt to correct a system with broken depen-
dencies in place...... (read the rest of the paragraph)
> and remove it or should I just wipe the system and start over. I used
Tim! Are you running windows or something?!? You don't even need to reboot to fix
it! Try the above command, it will likely tell you that xxx package is dead and
whatever. If you can't get it to go with that command here's something else to try:
apt-get --reinstall install xxx
dpkg -P xxx (remove and purge all config files)
then reinstall it
>
> The installers are dselect,console-apt,tasksel, and apt-get are ther any
> others?
dpkg
dpkg is a core component of the package manegment system. dselect, tasksel,
console-apt all call apt-get. apt-get calls dpkg. ;)
man dpkg
install a deb in your current dir: dpkg -i xxx.deb (read the man page for more
complex options)
Can you get a printout of all installed Debian packages and all
> of the packages not installed?
dpkg -l will list packages (albiet truncated) with versions and descriptions
dpkg -l |grep ii will list installed packages as above
dpkg --getselections will list all packages without truncation, and will display
installed/deinstalled (From: Darrin Lajoie )
so to get a list of just installed packages, untruncated:
dpkg --getselections |grep -v deinstall
or
dpkg --getselections |grep -v deinstall | cut -f 1
>
> Tim
Cory