[SOLVED] apt autoremove problem

rayvirtual

New Member
May 28, 2019
3
0
1
34
Hi all,
I have a problem that always shows after updating the system. I always see this message:

Code:
The following packages were automatically installed and are no longer required:
  corosync-pve docutils-common docutils-doc g++-4.9 javascript-common libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2 libb-hooks-endofscope-perl
  libbind9-90 libboost-system1.55.0 libboost-thread1.55.0 libclass-c3-perl libclass-c3-xs-perl libclass-method-modifiers-perl libclass-xsaccessor-perl
  libcorosync4-pve libcpan-changes-perl libcpan-meta-perl libdata-optlist-perl libdata-perl-perl libdata-section-perl libdevel-caller-perl
  libdevel-globaldestruction-perl libdevel-lexalias-perl libdirectfb-1.2-9 libdns100 libexporter-tiny-perl libfile-slurp-perl libfile-sync-perl
  libgetopt-long-descriptive-perl libimport-into-perl libintl-perl libintl-xs-perl libisc95 libisccc90 libisccfg90 libiscsi4 libjasper1 libjs-jquery liblcms2-2
  liblist-moreutils-perl liblockfile-simple-perl liblog-agent-perl liblog-message-perl liblog-message-simple-perl liblwres90 libmodule-build-perl
  libmodule-implementation-perl libmodule-load-conditional-perl libmodule-pluggable-perl libmodule-runtime-perl libmodule-signature-perl libmoo-perl
  libmoox-handlesvia-perl libmro-compat-perl libnamespace-autoclean-perl libnamespace-clean-perl libpackage-constants-perl libpackage-stash-perl
  libpackage-stash-xs-perl libpaper-utils libpaper1 libparams-classify-perl libparams-util-perl libparams-validate-perl libpath-tiny-perl libperl4-corelibs-perl
  libpng12-0 libpod-latex-perl libpod-markdown-perl libpod-readme-perl libprotobuf9 libpth20 libregexp-common-perl librole-tiny-perl librrd4
  libsoftware-license-perl libstdc++-4.9-dev libstrictures-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl
  libterm-ui-perl libtext-template-perl libtry-tiny-perl libtype-tiny-perl libtype-tiny-xs-perl libunicode-utf8-perl libvariable-magic-perl libwebp5 libwebp6
  libwebpdemux1 libwebpdemux2 libwebpmux1 libwebpmux2 libxapian22 python-blinker python-ceph python-cffi python-click python-colorama python-defusedxml
  python-docutils python-flask python-itsdangerous python-jinja2 python-markupsafe python-ndg-httpsclient python-pil python-ply python-pycparser python-pygments
  python-pyinotify python-roman python-simplejson python-soappy python-werkzeug python-wstools
Use 'apt autoremove' to remove them.

I´m not sure if doing "apt autoremove" will break something.
Actually the system works as expected.

Does anybody knows why i see this message from apt?
 
Check your sources.list entries for either:
* old pve entries (pve 1,2,3,4)
* buster (currently we have pve-5 which is based on stretch)

corosync-pve
which version is installed of `corosync-pve` - as far as I see pve-5 has its own version of corosync - but the package-name is only corosync (the -pve is kept in the version)

if your sources list is correct and the 'proxmox-ve' metapackage is installed correctly (without missing dependencies), and you don't need any of the packages you could consider removing them
 
  • Like
Reactions: rayvirtual
Check your sources.list entries for either:
* old pve entries (pve 1,2,3,4)
* buster (currently we have pve-5 which is based on stretch)


which version is installed of `corosync-pve` - as far as I see pve-5 has its own version of corosync - but the package-name is only corosync (the -pve is kept in the version)

if your sources list is correct and the 'proxmox-ve' metapackage is installed correctly (without missing dependencies), and you don't need any of the packages you could consider removing them

The original version of proxmox in this system was 4, it was updated to 5 some time ago with no issues.

This is my sources.list:
Code:
deb http: //ftp.es.debian.org/debian stretch main contrib
# security updates
deb http: //security.debian.org stretch/updates main contrib
# Proxmox no-subscription
deb http: //download.proxmox.com/debian/pve stretch pve-no-subscription

The version of installed corosync-pve is:
Code:
apt list corosync-pve
Listing... Done
corosync-pve/stable,now 2.4.4-pve1 all [installed,auto-removable]
N: There are 4 additional versions. Please use the '-a' switch to see them.

But it also has installed this one:
Code:
apt list corosync
Listing... Done
corosync/stable,now 2.4.4-pve1 amd64 [installed,automatic]
N: There are 5 additional versions. Please use the '-a' switch to see them.

I don't know how to check if 'proxmox-ve' metapackage is installed correctly, if i run "apt install proxmox-ve" it says "proxmox-ve is already the newest version (5.4-1)" so i suppose its correctly installed, isn't it?
 
Last edited:
the only two pve packages in your list of autoremovable packages are "corosync-pve" and "libcorosync4-pve":

Code:
$ apt show corosync-pve
Package: corosync-pve
Version: 2.4.4-pve1
[...]
Description: Transitional package.

$ apt show libcorosync4-pve
Package: libcorosync4-pve
Version: 2.4.4-pve1
[...]
Description: Transitional package.

Transitional packages are a way to ensure smooth upgrades when renaming packages (in this case, corosync-pve got renamed to corosync, and libcorosync4-pve got split up into multiple library packages) and can be safely removed.

The other packages are likely stuff that got pulled in when you installed some extra package that you have removed in the meantime, or packages that were at some point dependencies of the PVE software stack, but now are no longer. Assuming you don't see anything in the list that you'd like to keep and that you haven't removed any part of the PVE stack manually (unlikely if you have proxmox-ve installed ;)), calling "apt autoremove" should be fine.
 
  • Like
Reactions: rayvirtual
the only two pve packages in your list of autoremovable packages are "corosync-pve" and "libcorosync4-pve":

Code:
$ apt show corosync-pve
Package: corosync-pve
Version: 2.4.4-pve1
[...]
Description: Transitional package.

$ apt show libcorosync4-pve
Package: libcorosync4-pve
Version: 2.4.4-pve1
[...]
Description: Transitional package.

Transitional packages are a way to ensure smooth upgrades when renaming packages (in this case, corosync-pve got renamed to corosync, and libcorosync4-pve got split up into multiple library packages) and can be safely removed.

The other packages are likely stuff that got pulled in when you installed some extra package that you have removed in the meantime, or packages that were at some point dependencies of the PVE software stack, but now are no longer. Assuming you don't see anything in the list that you'd like to keep and that you haven't removed any part of the PVE stack manually (unlikely if you have proxmox-ve installed ;)), calling "apt autoremove" should be fine.


Thank you,
I have call "apt autoremove" with no issues.

Regards
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!