Re: apt-get deprecated?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul E Condon wrote:
> Aptitude and apt-get behave differently when removing packages.
> Aptitude keeps track of which packages were install because the user
> directly requested that they be installed and which were installed in
> order to satisfy a dependency. Then when the user request that a
> package be removed, it checks its database of packages that were
> installed to satisfy a dependency and also removes those 'dependancy
> satisfying' packages that can be removed because no other package
> needs them.
>
> In most cases this is good, but it can lead to aptitude doing really
> bad things in some special situations. For instance, I once installed
> kde by requesting the single over-all package that exists only to
> bring in all the packages needed to give the user a standard kde
> set-up. Then, after using it for a while, I decided that a lot of
> what was there was stuff and clutter that I didn't want. I tried to
> remove the stuff that I didn't want, but aptitude wouldn't do it,
> because it insisted that I had to remove the over-all kde package
> first. But when I removed that, it threatened to remove all kde
> packages, which is not what I wanted. I used apt-get to remove the
> package kde. This made all of kde's component packages into
> independent packages in the little mind of aptitude. Then I removed
> the ones that I didn't want without aptitude trashing the rest of my
> kde set-up.
>
> So, both are needed, at least until users like me understand aptitude
> internals better.
>
One good reason to stick to apt-get.
:-)
rrs
- --
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
Gnupg Key ID: 04F130BC
"Stealing logic from one person is plagiarism, stealing from many is
research."
"Necessity is the mother of invention."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFCd7d34Rhi6gTxMLwRAspQAJ9leluLeUaoDX0oFGEDRe1YTZKDngCbB58M
dfs+5lBYbRhcFXTE2S7RbF8=
=PRzt
-----END PGP SIGNATURE-----
Reply to: