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


Groups > linux.debian.user > #228243

Re: aptitude safe-upgrade vs apt-get upgrade.

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: aptitude safe-upgrade vs apt-get upgrade.
Date 2020-10-26 15:20 +0100
Message-ID <B4bvQ-7iT-13@gated-at.bofh.it> (permalink)
References <B3S9Q-3R8-1@gated-at.bofh.it> <B3Vr3-5XZ-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

On Du, 25 oct 20, 21:00:03, Joe wrote:
> 
> Synaptic, the GUI tool, is a front end to apt-get. All the apt tools
> are a front end to dpkg, which does all the work but does no dependency
> checking and is therefore not safe to be used directly.

dpkg does its own dependency checking, in addition to APT (the software, 
not the command), and will prevent any inconsistencies unless you use 
one of the --force switches.

In my opinion this is pretty safe ;)

APT, aptitude and others are more than just front ends to dpkg as they 
are also the ones working with your configured repositories.

> All of the tools have a 'safe' mode which is guaranteed not to remove
> packages. However, many upgrades do require the removal of some
> packages, so the safe mode will only get you so far in these cases.
> 
> If you are using Stable, there should never be any real problem in
> upgrading. 

'apt-get upgrade' is insufficient even on a stable system, e.g. due to 
the kernel package changing names, it's better to just use 'apt upgrade' 
(or 'aptitude safe-upgrade') instead.

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

aptitude safe-upgrade vs apt-get upgrade. Ram Ramesh <rramesh2400@gmail.com> - 2020-10-25 18:40 +0100
  Re: aptitude safe-upgrade vs apt-get upgrade. Joe <joe@jretrading.com> - 2020-10-25 22:10 +0100
    Re: aptitude safe-upgrade vs apt-get upgrade. Andrei POPESCU <andreimpopescu@gmail.com> - 2020-10-26 15:20 +0100
      Re: aptitude safe-upgrade vs apt-get upgrade. John Hasler <jhasler@newsguy.com> - 2020-10-26 16:00 +0100
        Re: aptitude safe-upgrade vs apt-get upgrade. Andrei POPESCU <andreimpopescu@gmail.com> - 2020-10-27 14:10 +0100
          Re: aptitude safe-upgrade vs apt-get upgrade. David Wright <deblis@lionunicorn.co.uk> - 2020-10-27 19:10 +0100
            Re: aptitude safe-upgrade vs apt-get upgrade. Andrei POPESCU <andreimpopescu@gmail.com> - 2020-10-27 22:10 +0100

csiph-web