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

VIS

New Member
Jul 10, 2017
3
0
1
34
Hello,
I want some help about upgrading my proxmox configuration. I think i have some conflict in repositories, but i'm not sure and it's important not to break something.

I'm using Debian 9.3 and Proxmox latest version 5.1.

When I'm trying to upgrade it, I've received two packages on hold:
The following packages have been kept back:
linux-image-amd64 proxmox-ve

When i push dist-upgrade, see what will happen:
.....
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-5-amd64 pve-kernel-4.13.13-5-pve
The following packages will be upgraded:
linux-image-amd64

I'm confused why this happens.
Some details:

root@cloud /root # uname -r
4.10.15-1-pve

root@cloud /root # ls -la /boot
-rw-r--r-- 1 root root 204538 Jun 23 2017 config-4.10.15-1-pve
-rw-r--r-- 1 root root 212606 Dec 11 10:00 config-4.13.13-1-pve
-rw-r--r-- 1 root root 212594 Jan 2 10:03 config-4.13.13-2-pve
-rw-r--r-- 1 root root 186386 Sep 19 03:34 config-4.9.0-3-amd64
-rw-r--r-- 1 root root 186443 Dec 23 01:39 config-4.9.0-4-amd64
drwxr-xr-x 5 root root 4096 Jan 18 11:00 grub
-rw-r--r-- 1 root root 28417756 Dec 2 01:32 initrd.img-4.10.15-1-pve
-rw-r--r-- 1 root root 34152599 Dec 18 17:07 initrd.img-4.13.13-1-pve
-rw-r--r-- 1 root root 34155208 Jan 18 11:00 initrd.img-4.13.13-2-pve
-rw-r--r-- 1 root root 26763849 Dec 2 01:31 initrd.img-4.9.0-3-amd64
-rw-r--r-- 1 root root 26082522 Jan 4 14:09 initrd.img-4.9.0-4-amd64
drwx------ 2 root root 16384 Jul 6 2017 lost+found
drwxr-xr-x 2 root root 4096 Jan 4 14:09 pve
-rw-r--r-- 1 root root 3753019 Jun 23 2017 System.map-4.10.15-1-pve
-rw-r--r-- 1 root root 3917672 Dec 11 10:00 System.map-4.13.13-1-pve
-rw-r--r-- 1 root root 3917672 Jan 2 10:03 System.map-4.13.13-2-pve
-rw-r--r-- 1 root root 3180929 Sep 19 03:34 System.map-4.9.0-3-amd64
-rw-r--r-- 1 root root 3183748 Dec 23 01:39 System.map-4.9.0-4-amd64
-rw-r--r-- 1 root root 7706384 Jun 23 2017 vmlinuz-4.10.15-1-pve
-rw-r--r-- 1 root root 7960336 Dec 11 10:00 vmlinuz-4.13.13-1-pve
-rw-r--r-- 1 root root 7960336 Jan 2 10:03 vmlinuz-4.13.13-2-pve
-rw-r--r-- 1 root root 4204320 Sep 19 03:34 vmlinuz-4.9.0-3-amd64
-rw-r--r-- 1 root root 4212512 Dec 23 01:39 vmlinuz-4.9.0-4-amd64

My last upgrades:

Start-Date: 2017-12-18 17:06:55
Commandline: apt-get dist-upgrade
Install: libsnappy1v5:amd64 (1.1.3-3, automatic), irqbalance:amd64 (1.1.0-2.3, automatic), libxml-sax-base-perl:amd64 (1.07-1, automatic), libxml-sax-perl:amd64 (0.99+dfsg-2, automatic), linux-image-4.9.0-4-amd64:amd64 (4.9.65-3, automatic), pve-xtermjs:amd64 (1.0-2, automatic), libxml-namespacesupport-perl:amd64 (1.11-1, automatic), libxml-libxml-perl:amd64 (2.0128+dfsg-1+deb9u1, automatic), libxml-sax-expat-perl:amd64 (0.40-2, automatic), pve-kernel-4.13.13-1-pve:amd64 (4.13.13-31, automatic)
Upgrade: pve-qemu-kvm:amd64 (2.9.0-2, 2.9.1-5), pve-manager:amd64 (5.1-39, 5.1-40), libpve-guest-common-perl:amd64 (2.0-13, 2.0-14), linux-image-amd64:amd64 (4.9+80+deb9u1, 4.9+80+deb9u2), qemu-server:amd64 (5.0-14, 5.0-18), proxmox-ve:amd64 (5.0-15, 5.1-31)
End-Date: 2017-12-18 17:08:19

Start-Date: 2018-01-04 14:08:14
Commandline: apt-get dist-upgrade
Install: pve-kernel-4.13.13-2-pve:amd64 (4.13.13-32, automatic)
Upgrade: linux-libc-dev:amd64 (4.9.65-3, 4.9.65-3+deb9u1), linux-image-4.9.0-4-amd64:amd64 (4.9.65-3, 4.9.65-3+deb9u1), pve-manager:amd64 (5.1-40, 5.1-41), sensible-utils:amd64 (0.0.9, 0.0.9+deb9u1), proxmox-ve:amd64 (5.1-31, 5.1-32)
End-Date: 2018-01-04 14:09:36

Start-Date: 2018-01-18 10:59:43
Commandline: apt-get upgrade
Upgrade: libdns-export162:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4), libisccfg140:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4), linux-libc-dev:amd64 (4.9.65-3+deb9u1, 4.9.65-3+deb9u2), pve-qemu-kvm:amd64 (2.9.1-5, 2.9.1-6), bind9-host:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4), pve-docs:amd64 (5.1-12, 5.1-16), libisc160:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4), host:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4), pve-kernel-4.13.13-2-pve:amd64 (4.13.13-32, 4.13.13-33), libisc-export160:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4), pve-manager:amd64 (5.1-41, 5.1-42), liblwres141:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4), qemu-server:amd64 (5.0-18, 5.0-19), libdns162:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4), libxml2:amd64 (2.9.4+dfsg1-2.2+deb9u1, 2.9.4+dfsg1-2.2+deb9u2), libisccc140:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4), libbind9-140:amd64 (1:9.10.3.dfsg.P4-12.3+deb9u3, 1:9.10.3.dfsg.P4-12.3+deb9u4)
End-Date: 2018-01-18 11:00:52

If someone can help ?
Thank you.
 
Please remove linux-image-amd64 and try again.

> apt-get remove linux-image-amd64
> apt-get dist-upgrade
> apt-get install proxmox-ve
 
Hey Tom, thank you.
Have I to be careful installing Debian Kernels ?

And can I remove some of them now or it's not recommended ?

Found linux image: /boot/vmlinuz-4.13.13-5-pve
Found initrd image: /boot/initrd.img-4.13.13-5-pve
Found linux image: /boot/vmlinuz-4.13.13-2-pve
Found initrd image: /boot/initrd.img-4.13.13-2-pve
Found linux image: /boot/vmlinuz-4.13.13-1-pve
Found initrd image: /boot/initrd.img-4.13.13-1-pve
Found linux image: /boot/vmlinuz-4.10.15-1-pve
Found initrd image: /boot/initrd.img-4.10.15-1-pve
Found linux image: /boot/vmlinuz-4.9.0-4-amd64
Found initrd image: /boot/initrd.img-4.9.0-4-amd64
Found linux image: /boot/vmlinuz-4.9.0-3-amd64
Found initrd image: /boot/initrd.img-4.9.0-3-amd64
 
Yes, I've tested it. I can remove any kernels listed with this command:
dpkg --list | egrep -i --color 'linux-image|linux-headers'
Then:
apt-get --purge remove linux-image-4.9.0-4-amd64 linux-image-4.9.0-5-amd64
update-grub

Thanks for fast support!
 

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!