Control: tags -1 confirmed Hi Paul,
On Mon, Dec 14, 2020 at 10:03 AM Paul Menzel <pmen...@molgen.mpg.de> wrote: > > Package: unattended-upgrades > Version: 2.7 > Severity: normal > > > Dear Debian folks, > > > On one user laptop with Debian sid/unstable, unattended-upgrades does > not find upgradable packages. > > From a dry run: > > ``` > 2020-12-14 09:51:17,335 INFO Checking if system is running on battery is > skipped. Please install powermgmt-base package to check power status and > skip installing updates when the system is running on battery. > 2020-12-14 09:51:17,339 INFO Starting unattended upgrades script > 2020-12-14 09:51:17,339 INFO Allowed origins are: > origin=Debian,codename=buster,label=Debian, > origin=Debian,codename=buster,label=Debian-Security, > origin=Debian,codename=buster-security,label=Debian-Security > 2020-12-14 09:51:17,339 INFO Initial blacklist: > 2020-12-14 09:51:17,339 INFO Initial whitelist (not strict): > 2020-12-14 09:51:22,899 INFO No packages found that can be upgraded > unattended and no pending auto-removals > 2020-12-14 09:51:22,900 INFO The list of kept packages can't be > calculated in dry-run mode. > ``` > > But upgradable packages are there: > > ``` > $ apt list --upgradable > Listing... Done > autoconf/unstable,unstable 2.69-12 all [upgradable from: 2.69-11.1] > dde-qt5integration/unstable 5.0.0-2.1+b2 amd64 [upgradable from: > 5.0.0-2.1+b1] > fonts-font-awesome/unstable,unstable 5.0.10+really4.7.0~dfsg-4 all > [upgradable from: 5.0.10+really4.7.0~dfsg-2] > gcc-8-base/unstable 8.4.0-5 amd64 [upgradable from: 8.3.0-7] > gir1.2-gdkpixbuf-2.0/unstable 2.42.2+dfsg-1 amd64 [upgradable from: > 2.40.0+dfsg-10] ... > systemd/unstable 247.1-4 amd64 [upgradable from: 247.1-3] > udev/unstable 247.1-4 amd64 [upgradable from: 247.1-3] > $ sudo apt 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: > libboost-filesystem1.71.0 libboost-iostreams1.71.0 > Use 'sudo apt autoremove' to remove them. > The following NEW packages will be installed: > libboost-filesystem1.74.0 libboost-iostreams1.74.0 > libboost-thread1.74.0 libdeflate0 > The following packages have been kept back: > gcc-8-base libboost-dev > The following packages will be upgraded: > autoconf dde-qt5integration fonts-font-awesome gir1.2-gdkpixbuf-2.0 ... > systemd-timesyncd udev > 116 upgraded, 4 newly installed, 0 to remove and 2 not upgraded. > Need to get 101 MB of archives. > After this operation, 6,711 kB of additional disk space will be used. > Do you want to continue? [Y/n] > ``` > > Is that expected, or am I missing something? This (or something like that) is expected in unstable due to the fix in #960966. Please change /etc/apt/apt.conf.d/50unattended-upgrades if you want u-u to try very hard to upgrade things: ... // When APT fails to mark a package to be upgraded or installed try adjusting // candidates of related packages to help APT's resolver in finding a solution // where the package can be upgraded or installed. // This is a workaround until APT's resolver is fixed to always find a // solution if it exists. (See Debian bug #711128.) // The fallback is enabled by default, except on Debian's sid release because // uninstallable packages are frequent there. // Disabling the fallback speeds up unattended-upgrades when there are // uninstallable packages at the expense of rarely keeping back packages which // could be upgraded or installed. // Unattended-Upgrade::Allow-APT-Mark-Fallback "true"; Cheers, Balint -- Balint Reczey Ubuntu & Debian Developer