Package: apticron
Version: 1.1.59
Severity: grave
Justification: renders package unusable
Dear Maintainer,
first I should mention that I never used apticron myself, but I borrowed the
part of the apticron script that generates the list of upgradable packages for
a custom script here. Since the affected command line is also still present in
the latest apticron package, I assume this problem applies to apticron, too. If
I am mistaken with that, I apologize in advance.
Today I noticed that on debian testing my script did not work any longer, since
the call of
PKGNAMES=`/usr/bin/apt-get -q -y --ignore-hold --allow-unauthenticated -s
dist-upgrade...
stopped with an error message, because an update for a held package is
available and --allow-change-held-packages was missing from the command line.
I am not 100% sure, but I think a couple days ago this still used to work, so I
guess that this is caused by a recent update to apt-1.3 which appears to break
the usability of this use of command line options.
The solution I found and which (at least in my script) appears to work well, is
to change the command line into
PKGNAMES=`/usr/bin/apt-get -q -y --ignore-hold --allow-unauthenticated
--allow-downgrades --allow-remove-essential --allow-change-held-packages -s
dist-upgrade...
According to the apt-get manpage this should work with apt versions >= 1.1 .
Best regards
Michael Lange
-- System Information:
Debian Release: 8.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.3.0-0.bpo.1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apticron depends on:
ii apt 1.0.9.8.3
ii bsd-mailx [mailx] 8.1.2-0.20141216cvs-2
ii bzip2 1.0.6-7+b3
ii cron [cron-daemon] 3.0pl1-127+deb8u1
ii debconf [debconf-2.0] 1.5.56
ii dpkg 1.17.27
ii heirloom-mailx [mailx] 12.5-4
ii ucf 3.0030
Versions of packages apticron recommends:
ii apt-listchanges 2.85.13+nmu1
ii iproute2 3.16.0-2
apticron suggests no packages.