On Sun, 16 Feb 2003 09:35:03 -0500
"Michael P. Soulier" <msoulier@digitaltorque.ca> wrote:
> One of the best things about apt-get is that removals trace
> dependencies, so if I want to remove all X packages, all I have to do is
> apt-get remove on a base X library, and _everything_ that depends on X
> transitively will be removed. There isn't a distribution around that has
> that functionality.
And with Aptitude watching what is installed automatically things are done
logically. So you can remove everything with X by removing a base directory.
Yay. Same thing with apt. But does apt remove the libraries when all X
things that depend upon it are removed? No.
The developers /are/ focusing on apt, it is called aptitude. This is
frustrating when people are nay-saying it are doing so for reasons that are
unfounded.
For the third time in this discussion, aptitude doesn't have to be
interactive. Look!
{grey@teleute:~} apt-get --help
apt 0.5.4 for linux i386 compiled on Aug 19 2001 01:02:26
Usage: apt-get [options] command
apt-get [options] install|remove pkg1 [pkg2 ...]
apt-get [options] source pkg1 [pkg2 ...]
apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.
Commands:
update - Retrieve new lists of packages
upgrade - Perform an upgrade
install - Install new packages (pkg is libc6 not libc6.deb)
remove - Remove packages
source - Download source archives
build-dep - Configure build-dependencies for source packages
dist-upgrade - Distribution upgrade, see apt-get(8)
dselect-upgrade - Follow dselect selections
clean - Erase downloaded archive files
autoclean - Erase old downloaded archive files
check - Verify that there are no broken dependencies
{grey@teleute:~} aptitude --help
aptitude 0.2.11.1
Usage: aptitude [-S fname] [-u|-i] aptitude [options] <action> ...
Actions (if none is specified, aptitude will enter interactive mode):
install - Install/upgrade packages
remove - Remove packages
purge - Remove packages and their configuration files
hold - Place packages on hold
unhold - Cancel a hold command for a package
markauto - Mark packages as having been automatically installed
unmarkauto - Mark packages as having been manually installed
update - Download lists of new/upgradable packages
upgrade - Perform a safe upgrade
dist-upgrade - Perform an upgrade, possibly installing and removing packages
forget-new - Forget what packages are "new"
search - Search for a package by name and/or expression
clean - Erase downloaded package files
autoclean - Erase old downloaded package files
download - Download the .deb file for a package
Let's look at the similarities:
apt-get install
aptitude install
apt-get remove
aptitude remove
apt-get clean
aptitude clean
apt-get autoclean
aptitude autoclean
apt-get update
aptitude update
apt-get upgrade
aptitude upgrade
apt-get dist-upgrade
aptitude upgrade
apt-get source
aptitude download
Wow, so far on the most common operations one word has changed. So I ask,
why is everyone who is talking about apt-get getting so pissy about aptitude
when it pretty much does everything apt-get (and apt-cache) does in almost the
exact same manner? Because it does more? It does things better? I don't get
this neo-ludditism when it comes to apt.
And I am by no means an apt expert. I only started using it a few weeks
ago and only found out about the command-line interface 2-3 days ago.
--
Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
PGP Key: 8B6E99C5 | main connection to the switchboard of souls.
| -- Lenny Nero - Strange Days
-------------------------------+---------------------------------------------
Attachment:
pgp_PeuA2LM2E.pgp
Description: PGP signature