mvo5 / unattended-upgrades

Automatic installation of security upgrades on apt based systems
GNU General Public License v2.0
278 stars 78 forks source link

unattended-upgrades does not upgrade all packages #337

Open blackknight36 opened 1 year ago

blackknight36 commented 1 year ago

I've noticed on several systems that unattended-upgrades does not install all available upgrades. The logs show an entry such as this.

2022-11-22 19:23:57,439 WARNING package initramfs-tools-core upgradable but fails to be marked for upgrade (E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.)

I checked for held packages on this node and there are none. Running apt upgrade manually also works without an issue.

Is there a way to tell unattended-upgrades to upgrade all packages including dependencies or is there a way to see why these packages will not update?

blackknight36 commented 1 year ago

Also seeing this with the grub-common package.

2022-12-08 07:50:04,319 WARNING call_checked: package grub-common upgradable but fails to be marked for upgrade (E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.)

zffocussss commented 1 year ago

same error in ubuntu 18.04 after apt-get upgrade from 16.04