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


Groups > linux.debian.user > #228207

aptitude safe-upgrade vs apt-get upgrade.

From Ram Ramesh <rramesh2400@gmail.com>
Newsgroups linux.debian.user
Subject aptitude safe-upgrade vs apt-get upgrade.
Date 2020-10-25 18:40 +0100
Message-ID <B3S9Q-3R8-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

   I am trying to upgrade the current setup and I am unable to 
understand the differences between aptitude vs. apt-get usage.
When I do apt-get -s upgrade, I get
> myth2 [rramesh] 100 > sudo apt-get -s upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Calculating upgrade... Done
> The following packages have been kept back:
>   gstreamer1.0-gl gstreamer1.0-plugins-bad gstreamer1.0-plugins-base
>   gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly libasound2-plugins
>   libavcodec58 libavformat58 libavresample4 libavutil56 libchromaprint1
>   libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0
>   libgstreamer-plugins-base1.0-0 libswresample3 libswscale5 
> linux-image-amd64
>   mythtv-frontend
> 0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
Clearly nothing is  going to be done. However aptitude -s safe-upgrade 
shows that it will install these.
> myth2 [rramesh] 101 > sudo aptitude -s safe-upgrade
> Resolving dependencies...
> The following NEW packages will be installed:
>   libcdio19{a} libfaac0{a} libfdk-aac2{a} libilbc2{a} libkvazaar4{a}
>   liblrdf0{a} libmfx1{a} libopenh264-5{a} libx264-157{a} libx265-176{a}
>   linux-image-4.19.0-12-amd64{a}
> The following packages will be REMOVED:
>   libcdio18{u} libcrystalhd3{u} libssh-gcrypt-4{u} libvpx5{u}
>   libx264-155{u} libx265-165{u}
> The following packages will be upgraded:
>   gstreamer1.0-gl gstreamer1.0-plugins-bad gstreamer1.0-plugins-base
>   gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly libasound2-plugins
>   libavcodec58 libavformat58 libavresample4 libavutil56 libchromaprint1
>   libgstreamer-gl1.0-0 libgstreamer-plugins-bad1.0-0
>   libgstreamer-plugins-base1.0-0 libswresample3 libswscale5
>   linux-image-amd64
> 17 packages upgraded, 11 newly installed, 6 to remove and 1 not upgraded.
> Need to get 72.9 MB of archives. After unpacking 270 MB will be used.
>
> Note: Using 'Simulate' mode.
> Do you want to continue? [Y/n/?]
> Would download/install/remove packages.
This makes me wonder if it is better to use aptitude over apt-get. Why 
these differences?  What is the correct way to maintain a working system 
and still keep the system up to date.

Regards
Ramesh

Back to linux.debian.user | Previous | Next — 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