[SOLVED] apt wants to remove proxmox-ve pve-firmware and autoremove essentials

auser

Renowned Member
Jul 17, 2014
37
7
73
hi there.
I have two test servers that I recently upgraded from Debian jessie to stretch and PVE 5 latest, following the instructions in the wiki.

As it happens, both machines are AMD platfoms with socket am3+ gigabyte 970 motherboards and discrete Radeon graphics, although all different hardware.

On both installations I see similar problems with apt suggesting to autoremove a large list of seemingly vital packages.

On one machine the fans became really loud, so I did the lm-sensors and fancontrol procedure, but am still left with the loud GPU fan blasting away at unnecessary speed. :-(

In an effort to control that I sought to install firmware-amd-graphics/stable

root@amdx4:~/admin# apt install firmware-amd-graphics/stable | tee apt_install_firmware-amd-graphics1

but chose NOT to proceed because of:

Code:
The following packages will be REMOVED:
  proxmox-ve pve-firmware pve-kernel-4.15


Meanwhile, on the other machine,
sensors-detect misses the necessary fan controllers etc, finding f71882fg

'watch sensors' shows only this, but I can chase down that issue later.

Code:
k10temp-pci-00c3
Adapter: PCI adapter
temp1:        +26.5°C  (high = +70.0°C)

radeon-pci-0100
Adapter: PCI adapter
temp1:        +48.5°C  (crit = +120.0°C, hyst = +90.0°C)

which prompts me to wish to install more firmware.
However once again I chose to abort the install because of
the apt misconfiguration wishing to delete the long list of essential packages.

I have searched the forums and did find these two similar posts,
both of which were very useful in helping me to sort out this similar issue when I was upgrading a previous box.

"apt-get dist-upgrade wants to remove proxmox-ve pve-firmware"

"Debian Stretch - Massive autoremove while upgrading"

Any further help or hints would b much appreciated.

Thanks in advance :)

p.s. log files are available if necessary.
 
root@amdx4:~/admin# apt install firmware-amd-graphics/stable | tee apt_install_firmware-amd-graphics1
both of which were very useful in helping me to sort out this similar issue when I was upgrading a previous box.

"apt-get dist-upgrade wants to remove proxmox-ve pve-firmware"

Our pve-firmware package already ships those files, and thus conflicts with "firmware-amd-graphics", so when you try to install it apt sees the conflict and suggest trying to remove pve-firmware, which then in a chain would remove proxmox-ve et al., on current PVE 5.4 a apt hook will avoid that (if not special flag is set) from happening independent of your choice, FYI.

The firmware files shipped by pve-firmware should be as uptodate, and probably even newer, than the ones from Debian upstream anyway, so I'm do not think those will help you...
 
thankyou Thomas for that informative and helpful explanation.

Having fixed the failure to load module f71882fg
by adding "acpi_enforce_resources=lax" to 'GRUB_CMDLINE_LINUX_DEFAULT'
in /etc/default/grub

I have sensors data and shall desist from attempting to fiddle with with firmware or AMD radeon fan control.

Apologies for the 3-issues, 2 machines, 1 forum post format used above, but my feeling was that they were all related.

I will leave the firmware well alone, so 2 of those are addressed,
leaving only the issue of the long list of suggested autoremoves.

The list is shorter now, as it no longer contains worrying *pve* packages.
Perhaps these _are_ now safe to remove, but e.g. corosync ?

Code:
root@amdx4:~/admin# apt install tree/stable | tee apt_install_tree

Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  corosync-pve docutils-common docutils-doc javascript-common
  libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2
  libb-hooks-endofscope-perl libbind9-90 libboost-random1.62.0
  libboost-system1.55.0 libboost-thread1.55.0 libboost-thread1.62.0 libcephfs1
  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 liblinear1
  liblist-moreutils-perl liblockfile-simple-perl liblog-agent-perl
  liblog-message-perl liblog-message-simple-perl liblua5.2-0 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 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 liburcu2
  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.
The following NEW packages will be installed:
  tree
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 46.1 kB of archives.
After this operation, 106 kB of additional disk space will be used.
Get:1 http://ftp.uk.debian.org/debian stretch/main amd64 tree amd64 1.7.0-5 [46.1 kB]
Fetched 46.1 kB in 0s (218 kB/s)
Selecting previously unselected package tree.
(Reading database ...
...
(Reading database ... 100%
(Reading database ... 78556 files and directories currently installed.)
Preparing to unpack .../tree_1.7.0-5_amd64.deb ...
Unpacking tree (1.7.0-5) ...
Setting up tree (1.7.0-5) ...
Processing triggers for man-db (2.7.6.1-2) ...
 
Last edited:
leaving only the issue of the long list of suggested autoremoves.

Some of them (i.e., mainly the python stuff) could be even OK to autoremove, but a lot not (e.g., corosync-pve), yes.

Can you try the following:
Code:
apt install proxmox-ve

And look if that reduces the list a bit. Else, telling apt to try fixing the situation could also help.
Code:
apt -f install

It's a bit difficult to tell for sure what of above you should do or should help for sure, without knowing the history of those machines.
If unsure you could post the outputs of:

Code:
apt update     # to see what repos are configured
pveversion -v

after trying above suggestions.
 
Hi Thomas
Thanks for your attention and swift helpful replies! :)

Yeah, so the history of these machines is long and uncertain,
since they serve as lab guinea pigs

IIRC Both I installed from Debian 6 nonfree isos and have been manualy updating them thoughout the years since the PVE3.x times. So not much help there, I suspect.

I have tried to follow the wiki each time, but stuffs not always goes perfect in life!

Code:
root@amdx4:~/admin# apt update | tee apt_update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Ign:1 http://ftp.uk.debian.org/debian stretch InRelease
Hit:2 http://security.debian.org stretch/updates InRelease
Hit:3 http://ftp.uk.debian.org/debian stretch Release
Hit:4 http://download.proxmox.com/debian/pve stretch InRelease
Hit:5 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
Hit:6 http://download.proxmox.com/debian stretch InRelease
Reading package lists...
Building dependency tree...
Reading state information...
All packages are up to date.

Code:
root@amdx4:~/admin# pveversion -v | tee pveversion-v.out
proxmox-ve: 5.4-1 (running kernel: 4.15.18-15-pve)
pve-manager: 5.4-6 (running version: 5.4-6/aa7856c5)
pve-kernel-4.15: 5.4-3
pve-kernel-4.15.18-15-pve: 4.15.18-40
pve-kernel-4.4.134-1-pve: 4.4.134-112
pve-kernel-4.2.2-1-pve: 4.2.2-16
pve-kernel-4.2.0-1-pve: 4.2.0-10
pve-kernel-4.1.3-1-pve: 4.1.3-7
corosync: 2.4.4-pve1
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.1-10
libpve-apiclient-perl: 2.0-5
libpve-common-perl: 5.0-52
libpve-guest-common-perl: 2.0-20
libpve-http-server-perl: 2.0-13
libpve-storage-perl: 5.0-43
libqb0: 1.0.3-1~bpo9
lvm2: 2.02.168-pve6
lxc-pve: 3.1.0-3
lxcfs: 3.0.3-pve1
novnc-pve: 1.0.0-3
proxmox-widget-toolkit: 1.0-28
pve-cluster: 5.0-37
pve-container: 2.0-39
pve-docs: 5.4-2
pve-edk2-firmware: 1.20190312-1
pve-firewall: 3.0-22
pve-firmware: 2.0-6
pve-ha-manager: 2.0-9
pve-i18n: 1.1-4
pve-libspice-server1: 0.14.1-2
pve-qemu-kvm: 3.0.1-2
pve-xtermjs: 3.12.0-1
qemu-server: 5.0-52
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3

I tried removing just the python stuff, even just a few at a time, but same result

Code:
root@amdx4:~/admin# apt remove python-blinker python-ceph python-cffi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  corosync-pve docutils-common docutils-doc javascript-common libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2 libb-hooks-endofscope-perl libbind9-90 libboost-random1.62.0
  libboost-system1.55.0 libboost-thread1.55.0 libboost-thread1.62.0 libcephfs1 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 liblinear1 liblist-moreutils-perl liblockfile-simple-perl liblog-agent-perl liblog-message-perl liblog-message-simple-perl liblua5.2-0 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 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 liburcu2 libvariable-magic-perl libwebp5 libwebp6 libwebpdemux1 libwebpdemux2
  libwebpmux1 libwebpmux2 libxapian22 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.
The following packages will be REMOVED:
  python-blinker python-ceph python-cffi
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
After this operation, 475 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.


root@amdx4:~/admin# apt remove python-click python-colorama python-defusedxml python-docutils python-flask
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  corosync-pve docutils-common docutils-doc javascript-common libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2 libb-hooks-endofscope-perl libbind9-90 libboost-random1.62.0
  libboost-system1.55.0 libboost-thread1.55.0 libboost-thread1.62.0 libcephfs1 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 liblinear1 liblist-moreutils-perl liblockfile-simple-perl liblog-agent-perl liblog-message-perl liblog-message-simple-perl liblua5.2-0 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 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 liburcu2 libvariable-magic-perl libwebp5 libwebp6 libwebpdemux1 libwebpdemux2
  libwebpmux1 libwebpmux2 libxapian22 python-blinker python-ceph python-cffi python-itsdangerous python-jinja2 python-markupsafe python-ndg-httpsclient python-pil python-ply python-pycparser
  python-pygments python-pyinotify python-roman python-simplejson python-werkzeug python-wstools
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  python-click python-colorama python-defusedxml python-docutils python-flask python-soappy
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 2,902 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

root@amdx4:~/admin# apt remove python-pil python-ply python-pycparser python-pygments python-pyinotify
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  corosync-pve docutils-common docutils-doc javascript-common libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2 libb-hooks-endofscope-perl libbind9-90 libboost-random1.62.0
  libboost-system1.55.0 libboost-thread1.55.0 libboost-thread1.62.0 libcephfs1 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 liblinear1 liblist-moreutils-perl liblockfile-simple-perl liblog-agent-perl liblog-message-perl liblog-message-simple-perl liblua5.2-0 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 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 liburcu2 libvariable-magic-perl libwebp5 libwebp6 libwebpdemux1 libwebpdemux2
  libwebpmux1 libwebpmux2 libxapian22 python-blinker python-ceph python-click python-colorama python-defusedxml python-docutils python-flask python-itsdangerous python-jinja2 python-markupsafe
  python-ndg-httpsclient python-roman python-simplejson python-soappy python-werkzeug python-wstools
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  python-cffi python-pil python-ply python-pycparser python-pygments python-pyinotify
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 5,879 kB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

root@amdx4:~/admin# apt remove python-roman python-simplejson python-soappy python-werkzeug python-wstool
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'python-wstool' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  corosync-pve docutils-common docutils-doc javascript-common libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2 libb-hooks-endofscope-perl libbind9-90 libboost-random1.62.0
  libboost-system1.55.0 libboost-thread1.55.0 libboost-thread1.62.0 libcephfs1 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 liblinear1 liblist-moreutils-perl liblockfile-simple-perl liblog-agent-perl liblog-message-perl liblog-message-simple-perl liblua5.2-0 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 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 liburcu2 libvariable-magic-perl libwebp5 libwebp6 libwebpdemux1 libwebpdemux2
  libwebpmux1 libwebpmux2 libxapian22 python-blinker python-ceph python-cffi python-click python-colorama python-defusedxml python-itsdangerous python-jinja2 python-markupsafe
  python-ndg-httpsclient python-pil python-ply python-pycparser python-pygments python-pyinotify python-wstools
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  python-docutils python-flask python-roman python-simplejson python-soappy python-werkzeug
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 3,473 kB disk space will be freed.
Do you want to continue? [Y/n] n 
Abort.

Code:
root@amdx4:~/admin# apt install proxmox-ve | tee apt_install_proxmox-ve1

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
proxmox-ve is already the newest version (5.4-1).
The following packages were automatically installed and are no longer required:
  corosync-pve docutils-common docutils-doc javascript-common
  libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2
  libb-hooks-endofscope-perl libbind9-90 libboost-random1.62.0
  libboost-system1.55.0 libboost-thread1.55.0 libboost-thread1.62.0 libcephfs1
  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 liblinear1
  liblist-moreutils-perl liblockfile-simple-perl liblog-agent-perl
  liblog-message-perl liblog-message-simple-perl liblua5.2-0 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 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 liburcu2
  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.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I don't see an improvement using '-f' either.

Code:
root@amdx4:~/admin# apt -f install tree | tee apt-f_install_tree

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
tree is already the newest version (1.7.0-5).
The following packages were automatically installed and are no longer required:
  corosync-pve docutils-common docutils-doc javascript-common
  libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2
  libb-hooks-endofscope-perl libbind9-90 libboost-random1.62.0
  libboost-system1.55.0 libboost-thread1.55.0 libboost-thread1.62.0 libcephfs1
  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 liblinear1
  liblist-moreutils-perl liblockfile-simple-perl liblog-agent-perl
  liblog-message-perl liblog-message-simple-perl liblua5.2-0 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 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 liburcu2
  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.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Since these machines are not currently clustered,
perhaps I could just acept the autoremove to remove e.g. corosync-pve
and then afterwards manually install stuff as necessary?

That might seem pretty drastic, but if apt does not remove configuration,
it should, in theory, be easy enough for me to reinstall PVE5 over the top again if absolutely necessary!

What do you think to that as a suggeston?

Code:
root@amdx4:~/admin# apt autoremove | tee apt_autoremov


WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be REMOVED:
  corosync-pve docutils-common docutils-doc javascript-common
  libalgorithm-c3-perl libarchive-extract-perl libasprintf0c2
  libb-hooks-endofscope-perl libbind9-90 libboost-random1.62.0
  libboost-system1.55.0 libboost-thread1.55.0 libboost-thread1.62.0 libcephfs1
  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 liblinear1
  liblist-moreutils-perl liblockfile-simple-perl liblog-agent-perl
  liblog-message-perl liblog-message-simple-perl liblua5.2-0 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 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 liburcu2
  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
0 upgraded, 0 newly installed, 124 to remove and 0 not upgraded.
After this operation, 50.6 MB disk space will be freed.
Do you want to continue? [Y/n]
 
Last edited:
Yeah, so the history of these machines is long and uncertain,
since they serve as lab guinea pigs

ah yeah, a veteran, so to say. :)

Since these machines are not currently clustered,
perhaps I could just acept the autoremove to remove e.g. corosync-pve
and then afterwards manually install stuff as necessary?

That might seem pretty drastic, but if apt does not remove configuration,
it should, in theory, be easy enough for me to reinstall PVE5 over the top again if absolutely necessary!

What do you think to that as a suggeston?

So I re-looked at your things a bit more closely and actually all is good.

I was just a bit confused of "corosync-pve" being in the autoremove list, but it got replaced with the package named "corosync" in 5.X, so you would be fine to remove that to.

Something else which I probably should note. If apt speaks about things like "The following packages were automatically installed and are no longer required:" it won't actually touch them by the current command.

But yes your solution works fine here in this specific situation, note that it's not because you have no cluster, we also depend on corosync (but not corosync-pve in 5.X) independent of the cluster situation. AFAICT you can really go ahead with the
Code:
apt autoremove
operation without risking issues, in this specific situation. Sorry for the confusion I may've added.
 
  • Like
Reactions: auser
Once again Thomas, thank you so much for your attention, and advice here. :)

ah yeah, a veteran, so to say. :)
I aim to understand everything that happens to these 2 local 'pets', and hope for no surprises with the remote 'cattle' ;-)

So I re-looked at your things a bit more closely and actually all is good.

I was just a bit confused of "corosync-pve" being in the autoremove list, but it got replaced with the package named "corosync" in 5.X, so you would be fine to remove that to.

Excellent! I would likely never have known that!
I shall consider this tonight and probably take the plunge and remove packages tomorrow.

Your insights are much appreciated and a big help for me in getting my rusty brain back into gear with Proxmox5.
:)
 
Last edited:

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!