Just for understanding: How is the pve-kernel package beeing held back from an upgrade

Squ1sh

Member
Nov 5, 2020
24
11
8
54
apt-get upgrade doesn't automaticall upgrade it. Aptitude says, this package is held back (but not why). It doesn't have the hold flag in aptitude (dpgk's mechanism) nor is it listed in /etc/apt/preferences to have a pin. How is this achieved then. I'm just curious because i'm trying to learn stuff about the package manager. Thx for an answer.
 
And also: why are packages like pve-manager listed under "obsolete and locally create packages" ? How to upgrade them then ?
 
did you configure the correct repository? (see https://pve.proxmox.com/wiki/Package_Repositories )
also what does 'apt-get update && apt-get dist-upgrade' say?

btw.
apt-get upgrade doesn't automaticall upgrade it.
you should never use 'apt-get upgrade' on a proxmox system, since upgrade does not install new dependencies and sometimes the conflict resolution tries to remove proxmox packages
 
did you configure the correct repository? (see https://pve.proxmox.com/wiki/Package_Repositories )
also what does 'apt-get update && apt-get dist-upgrade' say?
Ok, added the correct repository and it woks fine now. Thx !


btw.
you should never use 'apt-get upgrade' on a proxmox system, since upgrade does not install new dependencies and sometimes the conflict resolution tries to remove proxmox packages
so you mean use dist-upgrade instead of upgrade ?
 
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!