Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: sotnik on 2020/05/15, 00:09:06

Title: 477 packages to be removed
Post by: sotnik on 2020/05/15, 00:09:06
Usually, I upgrade with the following commands

Code: [Select]
apt update
apt -dV -o Debugi::kgProblemResolver=yes dist-upgrade

My last du was a week ago. Today, the above code puts 134 packages on hold.

If I do apt full-upgrade I get 132 upgraded, 1 newly installed, 477 to remove and 1 not upgraded.The packages to be removed are: asymptote gnome-desktop3-data inkscape libc-dev-bin libc6 libc6-dev libc6-i386 libgnome-desktop-3-19 libgsl-dev libgslcblas0 python3-chardet python3-cvxopt python3-lxml
and the rest are r (cran) packages including R itself.

For a few weeks, I had the following packages on hold to decide if I have to let them go:  gnome-desktop3-data inkscape libgnome-desktop-3-19 libgsl-dev python3-lxml

What I can do to fully upgrade my system?
Thank you
Title: Re: 477 packages to be removed
Post by: Penyelam on 2020/05/15, 10:24:43
Bei mir:

Code: [Select]
apt update && apt dist-upgrade

227 aktualisiert, 9 neu installiert, 3 zu entfernen und 3 nicht aktualisiert.
Es müssen noch 264 MB von 521 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 336 MB Plattenplatz zusätzlich benutzt.
Title: Re: 477 packages to be removed
Post by: Camelot on 2020/05/15, 17:33:11
For me…
Code: [Select]
# apt full-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  cpp-7 libasan4 libcilkrts5 libmpx2 libubsan0
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  gcc-7 libgcc-7-dev
The following packages will be upgraded:
  libc-dev-bin libc6 libc6:i386 libc6-dev
4 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.

Code: [Select]
# apt upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libc-dev-bin libc6 libc6:i386 libc6-dev
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

Can you see the difference in the first line?
https://manpages.debian.org/unstable/apt/apt.8.en.html

Code: [Select]
Kernel: 5.6.13-towo.1-siduction-amd64 x86_64 bits: 64
Desktop: Xfce 4.14.2
Title: Re: 477 packages to be removed
Post by: dibl on 2020/05/15, 23:25:07

What I can do to fully upgrade my system?

I don't know which packages are critical for your productivity, so please be careful.  What I would do, in tty1 with no xserver running, is this:

Code: [Select]
# apt-mark showhold
Take all held packages off hold.

Code: [Select]
apt update
Code: [Select]
apt full-upgrade
Now look at the packages to be installed, removed, and updated.  If you are concerned about a package to be removed, first look in the packages to be installed, and see if a newer replacement is being installed. If you're still concerned, you can use google and the debian package search site to see if you can determine what is going on.

Usually you can do this and end with a "clean" system, and if something important to you was removed, you should be able to reinstall it.  I have gone so far as to lose my entire DE, and then replaced all of it by reinstalling the needed packages.

Note -- putting packages on hold is always a dangerous game, and often ends badly.   :P

Title: Re: 477 packages to be removed
Post by: finotti on 2020/05/16, 12:56:06
Usually, I upgrade with the following commands

Code: [Select]
apt update
apt -dV -o Debugi::kgProblemResolver=yes dist-upgrade

My last du was a week ago. Today, the above code puts 134 packages on hold.

If I do apt full-upgrade I get 132 upgraded, 1 newly installed, 477 to remove and 1 not upgraded.The packages to be removed are: asymptote gnome-desktop3-data inkscape libc-dev-bin libc6 libc6-dev libc6-i386 libgnome-desktop-3-19 libgsl-dev libgslcblas0 python3-chardet python3-cvxopt python3-lxml
and the rest are r (cran) packages including R itself.

For a few weeks, I had the following packages on hold to decide if I have to let them go:  gnome-desktop3-data inkscape libgnome-desktop-3-19 libgsl-dev python3-lxml

What I can do to fully upgrade my system?
Thank you

Also, your DU command above should display what is causing the conflict.  With so many packages to be removed it might take a while to find the conflict, but it is worth a shot.
Title: Re: 477 packages to be removed
Post by: devil on 2020/05/16, 19:36:43
Often running 'apt upgrade' singles out the culprit.
Title: Re: 477 packages to be removed
Post by: tranquil on 2020/05/17, 21:13:06
Often running 'apt upgrade' singles out the culprit.
Thank you for that. I learned something today.

sudo apt full-upgrade:
Code: [Select]
The following packages were automatically installed and are no longer required:
  diffstat libasync-mergepoint-perl libcapture-tiny-perl libdevel-size-perl
  libdigest-bubblebabble-perl libemail-valid-perl libfile-find-rule-perl
  libfont-ttf-perl libfuture-perl libio-async-loop-epoll-perl libio-async-perl
  libio-string-perl libjson-maybexs-perl liblinux-epoll-perl libmoox-aliases-perl
  libnet-dns-perl libnet-dns-sec-perl libnet-domain-tld-perl libnet-ip-perl
  libperl4-corelibs-perl libperlio-gzip-perl libsereal-decoder-perl
  libsereal-encoder-perl libsereal-perl libstruct-dumb-perl libtest-refcount-perl
  libtext-levenshtein-perl libxml-writer-perl libyaml-libyaml-perl t1utils
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  libclass-xsaccessor-perl libcommon-sense-perl libjson-xs-perl
  libtypes-serialiser-perl lintian
The following packages have been kept back:
  gcc-10-base:i386 libatomic1:i386 libgcc-s1:i386 libgomp1:i386 libstdc++6:i386
  sshfs
The following packages will be upgraded:
  binutils binutils-common binutils-x86-64-linux-gnu calibre calibre-bin emacs
  emacs-bin-common emacs-common emacs-el emacs-gtk file firefox fontconfig
  fontconfig-config hplip hplip-data hplip-doc hplip-gui libaqbanking-data
  libaqbanking44 libbinutils libcap2 libcap2:i386 libcap2-bin libctf-nobfd0
  libctf0 libdap25 libdapclient6v5 libexif12 libexif12:i386 libexporter-tiny-perl
  libfontconfig1 libfontconfig1:i386 libhpmud0 libmagic-mgc libmagic1
  libnet-dns-sec-perl libpam-cap libperl5.30 libperl5.30:i386
  libpod-constants-perl libprocps8 libsane-hpaio libtext-glob-perl
  libtype-tiny-xs-perl libudisks2-0 libupower-glib3 perl perl-base
  perl-modules-5.30 perl-openssl-defaults printer-driver-hpcups
  printer-driver-postscript-hp procps python3-psutil udisks2 upower yudit-common
58 upgraded, 0 newly installed, 5 to remove and 6 not upgraded.
Need to get 144 MB of archives.
After this operation, 6,116 kB disk space will be freed.

sudo apt upgrade:
Code: [Select]
The following packages have been kept back:
  gcc-10-base:i386 libatomic1:i386 libgcc-s1:i386 libgomp1:i386 libperl5.30
  libperl5.30:i386 libstdc++6:i386 perl perl-base perl-modules-5.30 sshfs
The following packages will be upgraded:
  binutils binutils-common binutils-x86-64-linux-gnu calibre calibre-bin emacs
  emacs-bin-common emacs-common emacs-el emacs-gtk file firefox fontconfig
  fontconfig-config hplip hplip-data hplip-doc hplip-gui libaqbanking-data
  libaqbanking44 libbinutils libcap2 libcap2:i386 libcap2-bin libctf-nobfd0
  libctf0 libdap25 libdapclient6v5 libexif12 libexif12:i386 libexporter-tiny-perl
  libfontconfig1 libfontconfig1:i386 libhpmud0 libmagic-mgc libmagic1
  libnet-dns-sec-perl libpam-cap libpod-constants-perl libprocps8 libsane-hpaio
  libtext-glob-perl libtype-tiny-xs-perl libudisks2-0 libupower-glib3 lintian
  perl-openssl-defaults printer-driver-hpcups printer-driver-postscript-hp procps
  python3-psutil udisks2 upower yudit-common
54 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Need to get 133 MB of archives.
After this operation, 225 kB of additional disk space will be used.
Title: Re: 477 packages to be removed
Post by: sotnik on 2020/05/18, 01:47:41
Thank you for the help
I think the problem is caused by libgsl25 that is to be installed. Further, R is in a transition and many relevant packages are not fully synced yet. Maybe there are a few other problems but I think just for R I have to wait. Meanwhile, I will just upgrade the systems just to be on the safe side.

PS. Similar behavior is observed in two systems.
SN