On Tue, Jun 3, 2008 at 8:05 AM, Ira Abramov
<[EMAIL PROTECTED]> wrote:
> Quoting Amos Shapira, from the post of Mon, 02 Jun:
>> > First, stop working with apt-get. Only work with aptitude.
>>
>> That's what I always do - just because aptitude is smart enough to
>> mark "automatically installed packages" to be removed when no longer
>> required, but also because it indeed gives an impression of being more
>> intelligent than plain apt-get.
>
> I have no idea where that comes from. "apt-get autoremove" takes care of
> packages that are no longer dependent upon (or is that only in sid?).

But can you mark a package as "nothing depends on it, but I want it
around" (lower-case "m" in aptitude) vs. "keep it around as long as
something needs it, but remove it when it's no longer needed by
anything else" (upper-case "M" in aptitude)?

Maybe it's a new feature with sid's apt-get.

>
> I find aptitude slower to load than even YUM in fully interactive mode,
> I have no idea why, but nore than once I gave up on it after it takes
> 4-5 minutes to load on my sid, including after it finishes
> installing/upgrading packages. I just revert to apt-get and it has very
> rarely failed me.

Wow - 4-5 minutes is a very long time. Something is weird on your
system. have you tried strace? disk errors in dmesg? check memory
consumption? Maybe cleanup the apt-get cache?

Is there an interactive mode for "YUM"? I'd love to see it but so far
when I asked about it I got "use some gnome-based gui", which I'm not
going to do since many of the servers are on the other side of the
world and I'd generally very much rather not have X11 stuff on them.

>
> then again, I could be missing something. never found out why or when
> aptitude started loading this slow.
>
>> > distribution versions), it is actually not recommended to use apt-get
>> > dist-upgrade. For that, either "apt-get dselect-upgrade" is recommended, or
>> > use dselect (ouch) or aptitude in order to do the actual upgrade. Aptitude
>> > is recommended by me, as it shows you what will break prior to taking any
>> > action.
>
> so does apt-get. I always thought apt-get and aptitude use the exact
> same backend, only one featured a UI. again, I may have missed
> something.

At least as far as I followed up to Etch, aptitude uses apt-get at its
back and adds lots of intelligence in front of it, it's not just a
pretty GUI and that's why it's useful on the command line as well.

But then again - I'm only up to date more or less with Etch (with very
few backports), and planning to move my last Etch desktop (at work) to
Ubuntu as soon as I can.

Cheers,

--Amos

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to