[SOLVED] Cleaning up Proxmox 3.x->4->5 upgrade path

Archmatux

New Member
Oct 18, 2016
16
5
3
31
Hi All,

My oldest Proxmox server has been upgraded starting somewhere in the 3.x's.

The upgrade from 3.x to 4.0 was done some time ago when I was less experienced with Proxmox.
The server has since been upgraded to 5.0.

Consequently there is a bit of a mess of packages I would like to clean up.

From the following, are the packages safe to remove?

Code:
root@hpv-01:~# sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  acl corosync-pve cpp-4.9 docutils-common docutils-doc libalgorithm-c3-perl libarchive-extract-perl
  libb-hooks-endofscope-perl libbind9-90 libboost-iostreams1.55.0 libcgi-fast-perl libcgi-pm-perl
  libclass-c3-perl libclass-c3-xs-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libcloog-isl4
  libcpan-changes-perl libcpan-meta-perl libdata-optlist-perl libdata-perl-perl libdata-section-perl
  libdevel-caller-perl libdevel-globaldestruction-perl libdevel-lexalias-perl libdns-export100 libdns100
  libefivar0 libexporter-tiny-perl libfcgi-perl libfile-slurp-perl libgetopt-long-descriptive-perl libicu52
  libimport-into-perl libirs-export91 libisc-export95 libisc95 libisccc90 libisccfg-export90 libisccfg90
  libisl10 libjasper1 liblcms2-2 liblist-moreutils-perl liblog-message-perl liblog-message-simple-perl
  liblognorm1 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 libmysqlclient18 libnamespace-autoclean-perl
  libnamespace-clean-perl libntdb1 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 libpod-latex-perl libpod-markdown-perl libpod-readme-perl libprocps3
  libprotobuf9 libpsl0 libregexp-common-perl librole-tiny-perl libsoftware-license-perl libstrictures-perl
  libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl
  libsub-name-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 libxtables10 netcat6 python-cffi python-docutils python-ndg-httpsclient python-pil python-ply python-pycparser python-pygments python-roman
0 upgraded, 0 newly installed, 110 to remove and 0 not upgraded.
After this operation, 80.4 MB disk space will be freed.
Do you want to continue? [Y/n] 
^C

Pveversion is as follows:

I will be removing the older kernels.
Code:
root@hpv-01:~# pveversion -v
proxmox-ve: 5.0-15 (running kernel: 4.10.15-1-pve)
pve-manager: 5.0-23 (running version: 5.0-23/af4267bf)
pve-kernel-4.4.35-2-pve: 4.4.35-79
pve-kernel-4.4.13-2-pve: 4.4.13-58
pve-kernel-4.4.24-1-pve: 4.4.24-72
pve-kernel-4.4.10-1-pve: 4.4.10-54
pve-kernel-4.4.62-1-pve: 4.4.62-88
pve-kernel-4.4.19-1-pve: 4.4.19-66
pve-kernel-4.2.3-2-pve: 4.2.3-22
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.49-1-pve: 4.4.49-86
pve-kernel-4.10.15-1-pve: 4.10.15-15
pve-kernel-4.4.35-1-pve: 4.4.35-77
pve-kernel-4.4.21-1-pve: 4.4.21-71
pve-kernel-4.4.13-1-pve: 4.4.13-56
pve-kernel-4.4.15-1-pve: 4.4.15-60
pve-kernel-4.2.2-1-pve: 4.2.2-16
pve-kernel-4.4.44-1-pve: 4.4.44-84
pve-kernel-4.2.8-1-pve: 4.2.8-41
pve-kernel-4.4.16-1-pve: 4.4.16-64
pve-kernel-4.4.67-1-pve: 4.4.67-92
pve-kernel-4.4.59-1-pve: 4.4.59-87
pve-kernel-4.4.8-1-pve: 4.4.8-52
libpve-http-server-perl: 2.0-5
lvm2: 2.02.168-pve2
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-10
qemu-server: 5.0-12
pve-firmware: 2.0-2
libpve-common-perl: 5.0-16
libpve-guest-common-perl: 2.0-11
libpve-access-control: 5.0-5
libpve-storage-perl: 5.0-12
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-2
pve-docs: 5.0-6
pve-qemu-kvm: 2.9.0-2
pve-container: 2.0-14
pve-firewall: 3.0-1
pve-ha-manager: 2.0-2
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.0.8-3
lxcfs: 2.0.7-pve2
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.6.5.9-pve16~bpo90
openvswitch-switch: 2.7.0-2
 
I suggest you run:

> apt install proxmox-ve (this will make sure that you do not remove important packages, just to be sure)
> apt autoremove
 

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!