aptitude vs. apt

Anthony Hook anthony.hook3 at gmail.com
Mon Jun 14 21:10:14 UTC 2010


On Mon, Jun 14, 2010 at 3:07 PM, Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com
> wrote:

> On 14 June 2010 19:03, Akkana Peck <akkana at shallowsky.com> wrote:
> > Chris Jones writes:
> >> I was simply pointing out that in addition to apt-get's
> >> functions, there really is nothing that aptitude can technically do that
> >> can't be done already with other built-in tools.
> >
> > I use aptitude primarily for aptitude search. It shows which packages
> > are or are not installed, deleted etc., which apt-cache search doesn't.
> >
>
> dpkg -l "baz*"
>
> not good enough for you?
>
> For more robust syntax use dpkg-query
>
> > Is there a better way of getting this information without aptitude
> > (and without firing up a gui program)?  Certainly aptitude isn't
> > perfect (like the way it truncates lines at the display width even
> > if stdout isn't a terminal), but getting the same information with
> > other programs seems like it requires scripting or at least a fairly
> > long shell pipeline.
> >
> >        ...Akkana
> >
> > --
> > Ubuntu-devel-discuss mailing list
> > Ubuntu-devel-discuss at lists.ubuntu.com
> > Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
> >
>
> --
> Ubuntu-devel-discuss mailing list
> Ubuntu-devel-discuss at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss
>


In addition, I can do:

$ sudo aptitude safe-upgrade

and as far as I know, apt-get does not have this functionality.  Also,
aptitude has nice to use interface that's pretty powerful when you run it
with no arguments in a terminal.  This is excellent for solving any
dependency problems or whatever you'd like to do with it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20100614/ee28e653/attachment.html>


More information about the Ubuntu-devel-discuss mailing list