vcswatch reports that
this package seems to have new commits in its VCS but has
not yet updated debian/changelog. You should consider updating
the Debian changelog and uploading this new version into the archive.
Here are the relevant commit logs:
commit bf69c008fd1bc058be074c112963b5fb357f057e
Author: Fabio Fantoni <fantonifabio@tiscali.it>
Date: Fri Dec 4 21:00:53 2026 +0100
Use logging.warning() and fix a typo in a debug message
logging.warn() is a deprecated alias of logging.warning() since Python
3.3; replace it in the plugin loading and in test_in_chroot.py. Also fix
"conffile ... in missing on the system" in a debug message.
No translated message changes.
Assisted-by: Claude Code:claude-opus-5-5
commit 8ec885273ad5543edfd889fcd18ca17816615db4
Author: Fabio Fantoni <fantonifabio@tiscali.it>
Date: Mon Nov 30 18:40:12 2026 +0100
Update POT file
Regenerated with "python3 setup.py build_i18n" from the current sources,
so the translators can work from a complete and up-to-date template.
It adds the only message that was missing, "The following packages
require a reboot:" (d72e126, PR #471). No message became obsolete: the
other changes are only the source line references, moved by the code
changes since the last update (0c7f77a).
Assisted-by: Claude Code:claude-opus-5-5
commit 629f13b97d6d21aadb0777f458c396c3399daf3f
Author: Fabio Fantoni <fantonifabio@tiscali.it>
Date: Tue Dec 1 21:40:53 2026 +0100
Do not flood the log with stop signals at shutdown
unattended-upgrade-shutdown sends SIGTERM to unattended-upgrade on every
iteration until the run ends, and unattended-upgrade logs a warning for
each one. The iterations were also twice as frequent as intended:
start_iterations() checks iter_timer_set but never sets it, so
PrepareForShutdown() and the SIGTERM from systemd each added a periodic
timer.
During a long step at shutdown, e.g. a DKMS build or a slow maintainer
script with InstallOnShutdown, this filled unattended-upgrades.log and
the journal with "Signal 15 received, will stop" every 1.5 s (50 lines
in 75 s in a test VM; also seen in LP: #2167771).
Add the periodic timer only once, still schedule an immediate iteration
on every call so that the stop signal is acted upon at once, and log
only the first stop signal. The signal is still sent on every iteration
as before.
Assisted-by: Claude Code:claude-opus-5-5
commit 3ec97b74acef6815ad708bcb5aaeb6b0e4181170
Author: Fabio Fantoni <fantonifabio@tiscali.it>
Date: Mon Nov 30 22:40:29 2026 +0100
Do not pass "/" as rootdir to apt.Cache
Since 8174871 (1.14) main() defaults to rootdir="/", and
UnattendedUpgradesCache passes it on to apt.Cache. With a rootdir,
apt.Cache reads its etc/apt/apt.conf and etc/apt/apt.conf.d on top of
the config already loaded, so every unnamed list entry ends up twice:
the DPkg::Pre-Invoke, DPkg::Pre-Install-Pkgs and DPkg::Post-Invoke hooks
run twice for each dpkg run, the DPkg::Options are passed twice, and so
on. It also creates the apt files and dirs missing in the rootdir, so an
empty /etc/apt/sources.list on systems that only use sources.list.d.
Do not pass "/" to apt.Cache anymore. The only part of that setup still
needed was the creation of /var/cache/apt/archives/partial: apt creates
it on its own runs but python-apt does not, so with /var/cache/apt on
tmpfs the downloads failed (#202). Create it explicitly under the
configured Dir::Cache::archives, which also makes a custom archives dir
work.
Fixes #316
Fixes #374
Closes: #1033276
Assisted-by: Claude Code:claude-opus-5-5
commit e29890b00ec9dd7e550237a6dd2d41ed3df88312
Author: Fabio Fantoni <fantonifabio@tiscali.it>
Date: Mon Nov 30 20:57:44 2026 +0100
Do not run the dpkg hooks of apt in dry-run mode
With --dry-run, u-u sets Debug::pkgDPkgPM so that apt does not call
dpkg, but apt still runs the DPkg::Pre-Invoke, DPkg::Pre-Install-Pkgs
and DPkg::Post-Invoke hooks, unlike a simulation with "apt-get -s". So a
dry-run has real side effects: for example dpkg-preconfigure (the hook
of debconf) preconfigures the packages, etckeeper may commit the pending
changes in /etc, and apt-listbugs queries the BTS and, when stdout is
not a terminal, pins the buggy packages in
/etc/apt/preferences.d/apt-listbugs.
On a terminal it is worse: in dry-run the output of dpkg is not
redirected to the log, so apt-listbugs sees a terminal on stdout and
prompts, but stdin is /dev/null, and it prints its prompt and help
forever.
Clear the three hooks in dry-run mode, and add tests that they run on a
real upgrade but not in dry-run mode.
Closes: #1089592
Assisted-by: Claude Code:claude-opus-5-5
commit d72e126edb6fc77220c913f42efe7cd3a614af1a
Author: Max Van Massey <mvmassey012@gmail.com>
Date: Sun Nov 29 15:56:05 2026 +0000
Include packages from reboot-required.pkgs in reboot warning
When /var/run/reboot-required is present, read /var/run/reboot-required.pkgs
(if available) and append the deduplicated list of packages requiring a
reboot to the summary email notification.
Closes: #812122
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
commit cf1166e899868d32943bfd50105b4b84054b5210
Author: Fabio Fantoni <fantonifabio@tiscali.it>
Date: Fri Nov 20 18:08:44 2026 +0100
shutdown: use GLibUnix.signal_add() where available
With newer GLib and pygobject (sid, Ubuntu 26.04) GLib.unix_signal_add()
is deprecated and unattended-upgrade-shutdown logs
"PyGIDeprecationWarning: GLib.unix_signal_add is deprecated; use
GLibUnix.signal_add instead" at every start.
Use GLibUnix.signal_add() when it exists and fall back to
GLib.unix_signal_add() otherwise. Both take the same arguments, so the
handler does not change. The fallback is needed on older systems:
bookworm has no GLibUnix namespace (gi.require_version() raises
ValueError there), and trixie and Ubuntu 24.04 have GLibUnix but only
with signal_add_full(); on those GLib.unix_signal_add() is not
deprecated.
Closes: #1146262
Thanks: Florian Neumeyer
Assisted-by: Claude Code:claude-opus-5-5
commit f682c7ff54ab5dc9a9e547f3e4d868cb37ec9a2f
Author: Fabio Fantoni <fantonifabio@tiscali.it>
Date: Wed Nov 25 21:16:31 2026 +0100
Explain that Dl-Limit is a global apt option
The comment on Acquire::http::Dl-Limit in the templates and the README
present it as a limit for the upgrades fetched by unattended-upgrades,
but it is an apt option read from /etc/apt/apt.conf.d, so it limits
every download done by apt on the system. Say so, and give the unit as
KiB/s, since apt multiplies the value by 1024.
Acquire::http::Dl-Limit also limits https sources, because the https
method falls back to the http options, but apt downloads from one server
at a time only when Dl-Limit is set for the scheme of the source. With
only the http one, apt downloads from several https servers in parallel,
each at the limit. Add Acquire::https::Dl-Limit to the example and
explain why.
Fixes #362
Closes: #950494 #1136671
Thanks: Lorenzo Simonelli
Assisted-by: Claude Code:claude-opus-5-5
commit 0a29312906e2725d2646c9ed14a3488170c49f58
Author: Yudi Kurniawan <yudikur245@gmail.com>
Date: Wed Nov 25 20:32:21 2026 +0100
Add the Indonesian debconf translation
Translation sent in Debian bug #1154970, using the corrected file from the follow-up message, which adds the missing spaces at the end of the continued lines.
Closes: #1154970
commit b5e9248266e7a2447ae1f723d3b898b0734e2625
Author: Fabio Fantoni <fantonifabio@tiscali.it>
Date: Fri Nov 20 17:49:13 2026 +0100
Do not log the metered check at info level without NetworkManager
Since 25a70c0 (GH: #404) is_metered_connection() reads the
NetworkManager "Metered" property from the system bus and logs any
GLib.Error at info level. On systems without NetworkManager, for example
with ifupdown, or without a system bus at all, that is the normal case,
yet every run adds "Checking if connection is metered is skipped because
NetworkManager could not be queried: ... NameHasNoOwner ..." to the log
and to the mail. With Gio.NetworkMonitor, used up to 2.12, nothing was
logged there.
Log these two cases, no system bus (G_IO_ERROR_NOT_FOUND) and no owner
for org.freedesktop.NetworkManager (NameHasNoOwner), at debug level
only. Other errors, for example a timeout from a running NetworkManager,
are still logged at info level. The message is unchanged, so the
translations are not affected.
Closes: #1153415
Assisted-by: Claude Code:claude-opus-5-5
commit e8cc4e7a942c4ce9f875b4d568c7509b0f4be692
Author: Pavlo Sukhanov <5265045+toothywalrus@users.noreply.github.com>
Date: Thu Nov 12 14:16:29 2026 -0500
Read conffiles from debs whose data.tar lacks the "./" prefix
get_md5sum_for_file_in_deb() extracted the conffile with
"tar -x -O ./etc/foo". Some tools, cargo-deb for example, store the
data.tar members as "etc/foo", which dpkg accepts, but tar then finds no
member and the function returned the md5sum of empty output. That never
matches the md5sum in the dpkg status, so a package whose shipped
conffile did not change was reported as having a conffile prompt and was
kept back on every run, although dpkg upgrades it without asking
(GH: #426).
Read the dpkg-deb --fsys-tarfile stream with the tarfile module instead
and compare the normalized member names, so "./etc/foo", "etc/foo" and
"/etc/foo" all match. If the deb holds the conffile twice, the last copy
is hashed, the one dpkg leaves on disk. As before, a missing member or
an unreadable deb gives the md5sum of empty content, which is treated as
a conffile prompt; both are now logged as warnings, where tar used to
print its error, and so is a dpkg-deb failure. The rest of the stream is
read before dpkg-deb is waited for, so that padding after the end of the
archive does not make it fail on a closed pipe.
In the loop over the package's conffiles, skip entries with flags, like
"remove-on-upgrade /etc/foo", which are not files in the deb, and check
the installed file first: without one there is no prompt, so the deb is
not read.
The test repacks conf-test-package_1.0.deb without the "./" prefix in
test/packages/Makefile.
commit 5d4ae95eb07af6160e48a9bdd0dd09b429d4d2f0
Author: Pavlo Sukhanov <5265045+toothywalrus@users.noreply.github.com>
Date: Thu Nov 12 14:16:19 2026 -0500
Add an md5sum() helper for the apt_pkg.Hashes loop
get_md5sum_for_file_installed() looks for the MD5Sum among
apt_pkg.Hashes().hashes; move that into md5sum(), which takes bytes or a
binary file object, so the next commit can use it for content read from
the deb as well.