Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226127

Re: Apt-get vs Aptitude vs Apt

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: Apt-get vs Aptitude vs Apt
Date Wed, 12 Aug 2020 08:00:01 +0200
Message-ID <ACRXP-4uc-9@gated-at.bofh.it> (permalink)
References <ABevv-1IH-7@gated-at.bofh.it> <ACANk-2ri-9@gated-at.bofh.it> <ACCFs-3Ag-9@gated-at.bofh.it>
X-Original-To debian-user@lists.debian.org
X-Mailbox-Line From debian-user-request@lists.debian.org Wed Aug 12 05:58:53 2020
Old-Return-Path <andreimpopescu@gmail.com>
X-Amavis-Spam-Status No, score=-12.099 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, FREEMAIL_FROM=0.001, LDO_WHITELIST=-5, PGPSIGNATURE=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=yDyvaeGjBDhYJS8NhJaZ+dYpp2EVQ888QkueR6zyjkY=; b=hZlpFyDEVjweF0fp3mDsR93PEy5m/GkDsWhGzgyEVN+4eY9oJE81xd17stCrRGhrlP J2CW361wHb4D66R4rCJEDbX5LRtZRL+S7HfSs+xLBuLbDovDpiPKAiqsHyJHzidWJNW7 /LD3ZbqDTC4v9CR8GyV9u7KGUh7mpcTlH1IIrf/tvWZvt5ycZZDAUSJg9JbZi9fDY1NJ nTNIlwWDq+Fui0bWPi8fV0FP6z6ENEE052Yzg4iH9I31xwGWoicpGPCuL0ktSb+NDc49 htwULC/L5CjmYlt6BHkTkPQ3ULGEwBTYS8OKjO9/t2hIvFs1kuPxNh7MSZk6UWEY3Hsp K8uw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=yDyvaeGjBDhYJS8NhJaZ+dYpp2EVQ888QkueR6zyjkY=; b=Pr6XQ+wnDUrQQ0kFlsQFtQ4KICj9NmZrdCJ3v1n3v+qh4QpuXllpEV1UNwzFiLMld1 xiaCvDxOc5HsRvDycdtOxh9Nbfnd+4i4b1ep5X8YJN+Xfc5V0J/+qIaNoDwvDakXggha WVfDXE5KWrjGrKmqgm6GSmKZ49AykHh2t/k0Eb9hFWM6UVB4L4gnvjIbVfnMpmNSVdcB R53VZ7ZK9YDnZ8PFlDbIsq5lnk7PWu3TrOSDBmqUYS/QKXlZYNuR5cZWHKVV1N3n42Ln xgYM44km4ywUVpRFC2Rcom5FIiV64+HUIE/lpafwhtutXMLY1lLKEmW8j1Ty9ocM9xmx pleQ==
X-Gm-Message-State AOAM532e2Ht6zAW5SveFB6zA5nTG+Rd8aal9huHldBPmDEyIF/oHss3z Q0NmmiG91ggBLJXFtBdATkLU4UFhTd0=
X-Google-SMTP-Source ABdhPJxXHffQnYN9+w2etftLG/iFbARBIp3KnNlGs27mNWqbA0xP4FwwO+ZOJpdyWbYsqm8PqfQfXQ==
X-Received by 2002:a17:906:1c84:: with SMTP id g4mr30937496ejh.50.1597211918715; Tue, 11 Aug 2020 22:58:38 -0700 (PDT)
MIME-Version 1.0
Content-Type multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="epfeh5gerdfwnwpd"
Content-Disposition inline
User-Agent NeoMutt/20180716
X-Mailing-List <debian-user@lists.debian.org> archive/latest/766465
List-ID <debian-user.lists.debian.org>
List-URL <https://lists.debian.org/debian-user/>
List-Archive https://lists.debian.org/msgid-search/20200812055835.rzzlf5b4h77shcw2@acr13.nuvreauspam
Approved robomod@news.nic.it
Lines 97
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Wed, 12 Aug 2020 08:58:35 +0300
X-Original-Message-ID <20200812055835.rzzlf5b4h77shcw2@acr13.nuvreauspam>
X-Original-References <CAMaNm6EB_j5TEQ9=VZG6J93rUN0xgeD1vXVgc=RHFMZALF4d_A@mail.gmail.com> <20200811113002.e7eygg675pgrjfbt@acr13.nuvreauspam> <CAL5yMZSePFCktv22pDqkhigMt_oo0kCuhgDaZ_+TUrEcGCyZjA@mail.gmail.com>
Xref csiph.com linux.debian.user:226127

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Ma, 11 aug 20, 15:33:53, Javier Barroso wrote:
> 
> I swiched from aptitude to apt-get/apt some years ago
> 
> aptitude need love :(
> 
> My problem was mixing 64 and 32 bits packages. Seem aptitude didn't do a
> good job
> 
> Reading Planet debian and transitions and apt-listbugs (or how It is named)
> , apt update && apt full-upgrade , run perfect in unstable

In my experience[1] 'apt full-upgrade' is rarely needed, even on 
unstable, because 'apt upgrade' allows for new packages (and
'apt autoremove' is needed anyway for removals).

This will take care of most library transitions (e.g. package foo 
depends libbar1 -> libbar2) and packages with the version in their name 
(e.g. linux-image-amd64 depends linux-image-5.6.xx -> 
linux-image-5.7.xx).

The main benefit of aptitude (especially for unstable) is it's 
interactive mode:

 * Easy browsing of packages, (reverse) dependency chains, etc.
 
 * Keeps track of "new" packages, very useful to see what's new in 
   unstable.
 
 * Easy selective disabling of Recommends (or enabling, for those who 
   disable Recommends globally).

 * One step (full-)upgrade and autoremoval of packages (press 'u' to 
   update the package list, 'U' to prepare the full-upgrade, 'g' to 
   inspect the proposed actions and 'g' again to apply).

 * Interactive dependency resolving for when (not if) unstable is 
   broken, with several methods to tweak it (let it search for different 
   solutions, mark specific packages to "keep", etc.).

 * Forbid version, for when (not if) the new version of a package you 
   need has a bug that affects you.
   
   aptitude will then automatically skip to the next version when 
   available (hopefully with the bug fixed, but that's why apt-listbugs 
   exists)

 * possibly more that I forget right now.


And then there's aptitude's search patterns, for which there is 
currently no replacement.

I have aptitude installed on all but the smallest system (aptitude + 
dependencies can be significant for a very small install).

[1] Admittedly my recent experience is only with a smallish install with 
openbox, Kodi and Linux build dependencies (just enough to keep track of 
hardware support for the PINE A64+ and possibly enable some kernel 
options for it that are not enabled in Debian's kernel), though I don't 
expect it to be much worse with a full Desktop Environment install or 
similar.


Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Apt-get vs Aptitude vs Apt Default User <hunguponcontent@gmail.com> - 2020-08-07 19:40 +0200
  Re: Apt-get vs Aptitude vs Apt Joe <joe@jretrading.com> - 2020-08-07 22:10 +0200
    Re: Apt-get vs Aptitude vs Apt riveravaldez <riveravaldezmail@gmail.com> - 2020-08-08 01:10 +0200
      Re: Apt-get vs Aptitude vs Apt Teemu Likonen <tlikonen@iki.fi> - 2020-08-08 07:00 +0200
  Re: Apt-get vs Aptitude vs Apt Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-11 13:40 +0200
    Re: Apt-get vs Aptitude vs Apt Javier Barroso <javibarroso@gmail.com> - 2020-08-11 15:40 +0200
      Re: Apt-get vs Aptitude vs Apt Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-12 08:00 +0200
        Re: Apt-get vs Aptitude vs Apt Default User <hunguponcontent@gmail.com> - 2020-08-13 22:50 +0200

csiph-web