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

Squ1sh

Member
Nov 5, 2020
25
11
23
55
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: