pve packages update while VMs running

horizn

Well-Known Member
Aug 21, 2017
34
2
46
45
Hi,
I am not sure if following packages upgrade will affect/kill VMs running:

Code:
Calculating upgrade... Done
The following packages have been kept back:
  proxmox-ve pve-manager
The following packages will be upgraded:
  libpve-access-control libpve-common-perl lxcfs pve-cluster pve-container pve-ha-manager pve-qemu-kvm qemu-server
8 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/6,947 kB of archives.
After this operation, 4,096 B disk space will be freed.
Do you want to continue? [Y/n] n
Abort.

Is it safe to upgrade while VMs are running or I should shut them down first?
 

ok what about that:
Code:
# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-image-amd64
The following packages will be upgraded:
  cpp-6 g++-6 gcc-6 gcc-6-base libasan3 libatomic1 libcc1-0 libcilkrts5 libgcc-6-dev libgcc1 libgfortran3 libgomp1 libitm1 liblsan0 libmpx2 libpve-common-perl libquadmath0 libstdc++-6-dev libstdc++6 libtsan0 libubsan0 linux-libc-dev proxmox-ve pve-kernel-4.13.13-6-pve pve-qemu-kvm qemu-server
26 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 78.3 MB/84.8 MB of archives.
After this operation, 63.5 kB of additional disk space will be used.
Do you want to continue? [Y/n] y

and then after:

Code:
# apt-get dist-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:
  apt-transport-https bridge-utils ceph-common corosync criu cstream dmeventd dtach faketime fonts-font-awesome gdisk glusterfs-client glusterfs-common ifenslave ipset libacl1-dev libanyevent-http-perl libanyevent-perl libappconfig-perl libapt-pkg-perl libasound2 libasound2-data libasync-interrupt-perl libasyncns0 libattr1-dev libauthen-pam-perl libbabeltrace-ctf1
  libbabeltrace1 libboost-iostreams1.62.0 libboost-program-options1.62.0 libboost-random1.62.0 libboost-regex1.62.0 libboost-system1.62.0 libboost-thread1.62.0 libcaca0 libcephfs1 libcfg6 libclone-perl libcmap4 libcorosync-common4 libcpg4 libcrypt-openssl-bignum-perl libcrypt-openssl-random-perl libcrypt-openssl-rsa-perl libdbi1 libdevel-cycle-perl libdevmapper-event1.02.1
  libdw1 libev-perl libfaketime libfcgi-bin libfcgi0ldbl libfile-chdir-perl libfile-readbackwards-perl libfile-sync-perl libfilesys-df-perl libflac8 libgnutlsxx28 libguard-perl libibverbs1 libice6 libintl-perl libintl-xs-perl libio-multiplex-perl libio-stringy-perl libipset3 libiscsi7 libjemalloc1 libjs-extjs liblinux-inotify2-perl liblockfile-simple-perl liblog-agent-perl
  liblvm2app2.2 liblvm2cmd2.02 libmime-base32-perl libnet-dbus-perl libnetfilter-log1 libnl-3-200 libnl-route-3-200 libnspr4 libnss3 libogg0 libprotobuf-c1 libprotobuf10 libpulse0 libpve-access-control libpve-common-perl libpve-guest-common-perl libpve-http-server-perl libpve-storage-perl libqb0 libquorum5 librados2 librados2-perl libradosstriper1 librbd1 librdmacm1
  libreadline5 librgw2 librrd8 librrds-perl libsdl1.2debian libsm6 libsnappy1v5 libsndfile1 libstatgrab10 libstring-shellquote-perl libtemplate-perl libtie-ixhash-perl libtotem-pg5 liburcu4 libusbredirparser1 libuuid-perl libvorbis0a libvorbisenc2 libvotequorum8 libx11-xcb1 libxml-libxml-perl libxml-twig-perl libxml-xpathengine-perl libxtst6 lvm2 lxc-pve lxcfs lzop novnc-pve
  numactl proxmox-widget-toolkit pve-cluster pve-container pve-docs pve-firewall pve-ha-manager pve-i18n pve-libspice-server1 pve-manager pve-qemu-kvm pve-xtermjs python-cephfs python-ipaddr python-protobuf python-rados python-rbd qemu-server rrdcached smartmontools socat spiceterm sqlite3 thin-provisioning-tools uidmap vncterm x11-common xsltproc
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  proxmox-ve pve-firmware
The following NEW packages will be installed:
  firmware-linux-free linux-image-4.9.0-6-amd64
The following packages will be upgraded:
  linux-image-amd64
1 upgraded, 2 newly installed, 2 to remove and 0 not upgraded.
Need to get 39.0 MB/39.0 MB of archives.
After this operation, 56.5 MB of additional disk space will be used.
Do you want to continue? [Y/n]

This will uninstall Proxmox.
 
Sure, you should not uninstall Proxmox! Instead, try to remove those conflicting packages first (I guess
firmware-linux-free linux-image-4.9.0-6-amd64 linux-image-amd64)