Control: tags -1 confirmed On Mon, Jun 8, 2020 at 4:09 PM Paul Menzel <pmen...@molgen.mpg.de> wrote: > > Package: unattended-upgrades > Version: 2.4 > Severity: normal > > Dear Debian folks, > > > Looking through `/var/log/unattended-upgrades/unattended-upgrades.log`, > there are duplicate lines (last four warning lines): > > > 2020-06-06 15:48:38,161 INFO Writing dpkg log to > > /var/log/unattended-upgrades/unattended-upgrades-dpkg.log > > 2020-06-06 15:48:47,354 INFO While building minimal partition: cache has > > not allowed changes > > 2020-06-06 16:02:43,082 INFO All upgrades installed > > 2020-06-06 16:02:46,990 WARNING Keeping auto-removable > > libboost-system1.67.0 package(s) because it would also remove the following > > packages which should be kept in this step: libboost-chrono1.67.0 > > liborcus-0.14-0 > > 2020-06-06 16:02:47,623 WARNING Keeping auto-removable > > libboost-filesystem1.67.0 package(s) because it would also remove the > > following packages which should be kept in this step: liborcus-0.14-0 > > 2020-06-06 16:02:50,622 WARNING Keeping auto-removable > > libboost-iostreams1.67.0 package(s) because it would also remove the > > following packages which should be kept in this step: liborcus-0.14-0 > > 2020-06-06 16:02:53,437 INFO Packages that were successfully auto-removed: > > libboost-date-time1.67.0 libboost-locale1.67.0 libboost-thread1.67.0 > > python3-gst-1.0 > > 2020-06-06 16:02:53,437 INFO Packages that are kept back: > > libboost-filesystem1.67.0 libboost-iostreams1.67.0 libboost-system1.67.0 > > 2020-06-06 16:02:53,636 INFO Package cpp-8 is kept back because a related > > package is kept back or due to local apt_preferences(5). > > 2020-06-06 16:02:53,662 INFO Package gcc-8-base is kept back because a > > related package is kept back or due to local apt_preferences(5). > > 2020-06-06 16:02:53,710 INFO Package libboost-dev is kept back because a > > related package is kept back or due to local apt_preferences(5). > > 2020-06-06 16:02:53,733 INFO Package libgcc1 is kept back because a related > > package is kept back or due to local apt_preferences(5). > > 2020-06-06 16:02:53,793 INFO Package libmpx2 is kept back because a related > > package is kept back or due to local apt_preferences(5). > > 2020-06-06 16:02:53,979 INFO Package sshfs is kept back because a related > > package is kept back or due to local apt_preferences(5). > > 2020-06-06 16:02:59,108 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-06-06 16:02:59,113 INFO Starting unattended upgrades script > > 2020-06-06 16:02:59,113 INFO Allowed origins are: > > origin=Debian,codename=sid,label=Debian, > > origin=Debian,codename=sid,label=Debian-Security, > > origin=Debian,codename=sid-security,label=Debian-Security > > 2020-06-06 16:02:59,113 INFO Initial blacklist: > > 2020-06-06 16:02:59,114 INFO Initial whitelist (not strict): > > 2020-06-06 16:03:00,568 WARNING package cpp-8 upgradable but fails to be > > marked for upgrade (E:Unable to correct problems, you have held broken > > packages.) > > 2020-06-06 16:03:01,885 WARNING package cpp-8 upgradable but fails to be > > marked for upgrade (E:Unable to correct problems, you have held broken > > packages.) > > 2020-06-06 16:03:07,462 WARNING package libmpx2 upgradable but fails to be > > marked for upgrade (E:Unable to correct problems, you have held broken > > packages.) > > 2020-06-06 16:03:08,536 WARNING package libmpx2 upgradable but fails to be > > marked for upgrade (E:Unable to correct problems, you have held broken > > packages.) > > This is confusing. If the duplicates are useful, it’d be great to have > more context in the log.
The problem is that it is hard to exactly explain why a package can't be installed. Briefly it is because APT could not find an upgrade solution where it can be upgraded and that's what unattended-upgrades can tell. Cheers, Balint > > > Kind regards, > > Paul > -- Balint Reczey Ubuntu & Debian Developer