Change log for unattended-upgrades package in Ubuntu

175 of 199 results
Published in eoan-proposed on 2019-04-23
unattended-upgrades (1.12) experimental; urgency=medium

  [ Brannon Dorsey ]
  * Remove double "format" in 50unattended-upgrades configuration files

  [ Daniel Herzig ]
  * man: improve unattended-upgrade.8 man-page (Closes: #905289)

  [ Jonatan Nyberg ]
  * Swedish debconf strings update (Closes: #925488)

  [ Balint Reczey ]
  * Compare apt.package.Version objects and not the versions' string
    representation. This prevented adjusting candidates when the strings sorted
    differently (LP: #1820888)
  * Enable test_clean and test_patch_days tests
  * Fall back to adjusting more packages' candidates when a package from an
    allowed origin can't be marked to install/upgrade. (LP: #1821101)
  * Skip sending email when no package had to be installed, upgraded or removed
    (LP: #1821103) (Closes: #924554)
  * Add a few debug logging points
  * Report packages kept back by origin (LP: #1821376)
  * Fix trailing newlines in wrapped email lines
  * Describe candidate adjustment fallback better in the debug message
  * Fix missing space. Thanks to Alban VIDAL
  * Update POT file
  * Test upgrades to -updates and to -proposed in upgrade-all-security
    autopkgtest. Also enable -updates, too, while testing in Debian.
  * Add ${distro_id}ESM:${distro_codename}-security to allowed origins
    (LP: #1823376)
  * Detect changes to moved conffiles (LP: #1823872)
  * Add tests for checking conffile moves.
    Build depend on and use equivs to generate new test packages
  * Make sure autoremovals don't start with a dirty cache and remove other
    packages (LP: #1824341)
  * Stop raising NoAllowedOriginError when marking packages to upgrade/install
    fails (LP: #1824876)
  * Continue applying minimal sets when one set can't be marked for upgrade.
    Thanks to Anderson Luiz Alves for the patch, it needed minor modifications
    (LP: #1824341)
  * Skip trying to upgrade held packages in call_adjusted() (LP: #1824804)
  * Adjust only transitive dependencies in the fallback when a package from an
    allowed origin can't be marked to install/upgrade.
    This is a much lighter approach than marking every upgradable package
    because the full fallback was triggered on packages held back as well,
    using an excessive amount of CPU time. (LP: #1824804, #1824949)
  * Follow all kinds of transitive dependencies when adjusting dependencies
  * Split() conffile data to set of names only once
  * Don't parse dpkg conffile db when there are no conffiles in the package
  * Detect unchanged moved conffiles.
    When a package moves a conffile properly without any change no conffile
    prompt needs to be shown thus the package can be upgraded unattended even
    when the conffile is changed locally. (LP: #1823872)

 -- Balint Reczey <email address hidden>  Thu, 18 Apr 2019 16:38:31 +0200
Published in eoan-release on 2019-04-18
Published in disco-release on 2019-04-16
Deleted in disco-proposed (Reason: moved to release)
unattended-upgrades (1.10ubuntu5) disco; urgency=medium

  * Adjust only transitive dependencies in the fallback
    when a package from an allowed origin can't be marked to install/upgrade.
    This is a much lighter approach than marking every upgradable package because
    the full fallback was triggered on packages held back as well, using an
    excessive amount of CPU time.
    Also it crashed with packages not having any version in allowed origins.
    (LP: #1824804, #1824949)

 -- Balint Reczey <email address hidden>  Tue, 16 Apr 2019 08:54:49 +0200

Available diffs

Superseded in disco-release on 2019-04-16
Deleted in disco-proposed on 2019-04-17 (Reason: moved to release)
unattended-upgrades (1.10ubuntu4) disco; urgency=medium

  * Make sure autoremovals don't start with a dirty cache and remove other
    packages (LP: #1824341)
  * Continue applying minimal sets when one set can't be marked for upgrade.
    Thanks to Anderson Luiz Alves for the patch, it needed minor modifications
    (LP: #1824341)
  * Stop raising NoAllowedOriginError when marking packages to upgrade/install
    fails (LP: #1824876)

 -- Balint Reczey <email address hidden>  Tue, 16 Apr 2019 00:01:56 +0200

Available diffs

Superseded in disco-release on 2019-04-16
Deleted in disco-proposed on 2019-04-17 (Reason: moved to release)
unattended-upgrades (1.10ubuntu3) disco; urgency=medium

  * Detect changes to moved conffiles (LP: #1823872)
  * Add tests for checking conffile moves.
    Build depend on and use equivs to generate new test packages

 -- Balint Reczey <email address hidden>  Thu, 11 Apr 2019 22:48:00 +0200

Available diffs

Published in bionic-updates on 2019-04-02
Deleted in bionic-proposed (Reason: moved to -updates)
unattended-upgrades (1.1ubuntu1.18.04.10) bionic; urgency=medium

  * do_auto_remove() is successful unless a commit() operation fails
    (LP: #1795696)
  * Compare apt.package.Version objects and not the versions' string
    representation. (LP: #1820888)
    This prevented adjusting candidates when the strings sorted differently.
    Also extend tests to catch issue.
  * Fall back to adjusting more packages' candidates
    when a package from an allowed origin can't be marked to install/upgrade.
    (LP: #1821101)

 -- Balint Reczey <email address hidden>  Mon, 25 Mar 2019 18:17:56 +0100
Published in cosmic-updates on 2019-04-02
Deleted in cosmic-proposed (Reason: moved to -updates)
unattended-upgrades (1.5ubuntu3.18.10.3) cosmic; urgency=medium

  * Compare apt.package.Version objects and not the versions' string
    representation. (LP: #1820888)
    This prevented adjusting candidates when the strings sorted differently.
    Also extend tests to catch issue.
  * Fall back to adjusting more packages' candidates
    when a package from an allowed origin can't be marked to install/upgrade.
    (LP: #1821101)

 -- Balint Reczey <email address hidden>  Mon, 25 Mar 2019 17:10:19 +0100
Superseded in disco-release on 2019-04-12
Deleted in disco-proposed on 2019-04-13 (Reason: moved to release)
unattended-upgrades (1.10ubuntu2) disco; urgency=medium

  * Compare apt.package.Version objects and not the versions' string
    representation. (LP: #1820888)
    This prevented adjusting candidates when the strings sorted differently.
    Also extend tests to catch issue.
  * Fall back to adjusting more packages' candidates
    when a package from an allowed origin can't be marked to install/upgrade.
    (LP: #1821101)
  * Skip sending email when no package had to be installed, upgraded or removed
    (LP: #1821103) (Closes: #924554)

 -- Balint Reczey <email address hidden>  Fri, 22 Mar 2019 20:42:08 +0100

Available diffs

Superseded in bionic-updates on 2019-04-02
Deleted in bionic-proposed on 2019-04-03 (Reason: moved to -updates)
unattended-upgrades (1.1ubuntu1.18.04.9) bionic; urgency=medium

  * debian/changlog: Drop extra trailer after old entry
  * Don't check blacklist too early and report updates from not allowed origins
    as kept back. (LP: #1781176)
  * test/test_blacklisted_wrong_origin.py: Fix and enable test
  * Clear cache when autoremoval fails (LP: #1779157)
  * Find autoremovable kernel packages using the patterns in APT's way
    (LP: #1815494)

 -- Balint Reczey <email address hidden>  Thu, 21 Feb 2019 14:58:38 +0100
Published in xenial-proposed on 2019-02-28
unattended-upgrades (1.1ubuntu1.18.04.7~16.04.2) xenial; urgency=medium

  * Don't check blacklist too early and report updates from not allowed origins
    as kept back. (LP: #1781176)
  * test/test_blacklisted_wrong_origin.py: Fix and enable test
  * Filter out progress indicator from dpkg log (LP: #1599646)
  * Clear cache when autoremoval fails (LP: #1779157)
  * Find autoremovable kernel packages using the patterns in APT's way
    (LP: #1815494)

Superseded in cosmic-updates on 2019-04-02
Deleted in cosmic-proposed on 2019-04-03 (Reason: moved to -updates)
unattended-upgrades (1.5ubuntu3.18.10.2) cosmic; urgency=medium

  * Clear cache when autoremoval fails (LP: #1779157)
  * Find autoremovable kernel packages using the patterns in APT's way
    (LP: #1815494)
  * Filter out progress indicator from dpkg log (LP: #1599646)

 -- Balint Reczey <email address hidden>  Thu, 21 Feb 2019 15:10:13 +0100
Superseded in disco-release on 2019-03-22
Deleted in disco-proposed on 2019-03-24 (Reason: moved to release)
unattended-upgrades (1.10ubuntu1) disco; urgency=medium

  * Use defaults in unattended-upgrades.service when the APT configuration is
    broken. (LP: #1815189)
  * test/test_blacklisted_wrong_origin.py: Fix and enable test
  * Clear cache when autoremoval fails (LP: #1779157)
  * Find autoremovable kernel packages using the patterns in APT's way
    (LP: #1815494)
  * debian/rules: clean frontend locks left by tests before building source

 -- Balint Reczey <email address hidden>  Mon, 18 Feb 2019 17:26:05 +0100

Available diffs

Superseded in disco-release on 2019-02-20
Deleted in disco-proposed on 2019-02-22 (Reason: moved to release)
unattended-upgrades (1.10) unstable; urgency=medium

  * autopkgtest: Check if upgrading in minimal steps is the default
  * Comment out example blacklist item that slipped in to the default config
  * Don't print error on empty /var/run/reboot-required.pkgs
  * Fix filtering out dpkg progress indicator (LP: #1599646) (Closes: #919407)
  * Clear cache after checking upgrades against the blacklist again.
    This fixes the issue when the dirty cache caused all packages to be
    upgraded in the first "minimal" step.
    Thanks to Paul Wise
  * Populate cache for the fetcher after calculate_upgradable_pkgs() left it
    clean. Otherwise the packages are downloaded later skipping the conffile
    tests and possibly failing in a package installation step due to changed
    config files. (Closes: #918323)
  * Fix non-minimal upgrades

 -- Balint Reczey <email address hidden>  Mon, 28 Jan 2019 21:35:26 +0700

Available diffs

Published in xenial-updates on 2019-01-22
Published in xenial-security on 2019-01-22
unattended-upgrades (0.90ubuntu0.10) xenial-security; urgency=medium

  * No change rebuild in the -security pocket (See LP #1686470)

 -- Marc Deslauriers <email address hidden>  Fri, 18 Jan 2019 13:34:27 -0500
Superseded in bionic-updates on 2019-02-28
Deleted in bionic-proposed on 2019-03-01 (Reason: moved to -updates)
unattended-upgrades (1.1ubuntu1.18.04.8) bionic; urgency=medium

  * Start service after systemd-logind.service to be able to take inhibition
    lock (LP: #1806487)
  * Handle gracefully when logind is down (LP: #1806487)

 -- Balint Reczey <email address hidden>  Thu, 13 Dec 2018 14:42:44 +0100
Superseded in cosmic-updates on 2019-02-28
Deleted in cosmic-proposed on 2019-03-01 (Reason: moved to -updates)
unattended-upgrades (1.5ubuntu3.18.10.1) cosmic; urgency=medium

  * Start service after systemd-logind.service to be able to take inhibition
    lock (LP: #1806487)
  * Handle gracefully when logind is down (LP: #1806487)

 -- Balint Reczey <email address hidden>  Thu, 13 Dec 2018 14:39:12 +0100
Superseded in xenial-proposed on 2019-02-28
unattended-upgrades (1.1ubuntu1.18.04.7~16.04.1) xenial; urgency=medium

  * Start service after systemd-logind.service to be able to take inhibition
    lock (LP: #1806487)
  * Handle gracefully when logind is down (LP: #1806487)

1.9
Superseded in disco-release on 2019-01-29
Deleted in disco-proposed on 2019-01-30 (Reason: moved to release)
unattended-upgrades (1.9) unstable; urgency=medium

  [ Julian Andres Klode ]
  * test_dev_release: Fix and enable test.
  * Depend on python3-distro-info.
    This is needed to make sure DEVEL_UNTIL_RELEASE actually works. We need
    to fix up travis in addition to control, as it only knows about trusty
    build dependencies.
  * Import distro_info globally, and fix calculation of days.
    The check was off by one: If you were 21 days away from the release,
    it would not switch on, but tell you that it would not upgrade before
    today.
  * test_dev_release: Test Unattended-Upgrade::DevRelease=auto.

  [ David Lang and Balint Reczey]
  * Allow installing untrusted packages when APT::Get::AllowUnauthenticated
    is set (Closes: #775469) (LP: #1167053)

  [ Hans van Kranenburg and Balint Reczey]
  * Clarify highly misleading Package-Blacklist option documentation
    (Closes: #753892)

  [ Balint Reczey ]
  * test/test_dev_release.py: Fix missing mock attributes
  * Leave the cache clean when returning from calculate_upgradable_pkgs()
    When collecting upgradable packages the upgradable ones stayed in the
    cache and they were upgraded together even when unattended-upgrades
    was configured to perform upgrades in minimal steps.
    Thanks to Paul Wise
  * debian/tests/upgrade-all-security: Check if all security-updates are
    applied and if old-autoremovable packages are kept
  * Clear cache only when needed when checking black- and whitelists
  * Add --no-minimal-upgrade-steps option
  * Stop using untrusted package names as blacklists (LP: #1805447)
  * Update copyright info
  * Load modules lazily loaded by datetime.datetime.strptime() when u-u starts
    When Python is upgraded to a new major version the the version running
    unattended-upgrades can be removed as being newly unused causing a crash.
  * Start service after systemd-logind.service to be able to take inhibition lock
    and handle gracefully when logind is down (LP: #1806487)
  * List packages making reboot required in /var/run/reboot-required.pkgs

 -- Balint Reczey <email address hidden>  Wed, 12 Dec 2018 13:41:49 +0100

Available diffs

Superseded in xenial-proposed on 2018-12-13
unattended-upgrades (1.1ubuntu1.18.04.7~16.04.0) xenial; urgency=medium

  * Backport to Xenial (LP: #1702793)
  * Revert to build-depending on debhelper (>= 9~) and dh-systemd
  * Revert configuration example changes to avoid triggering a debconf question
  * debian/postinst: Update recovery to be triggered on Xenial's package versions

Superseded in bionic-updates on 2018-12-19
Deleted in bionic-proposed on 2018-12-21 (Reason: moved to -updates)
unattended-upgrades (1.1ubuntu1.18.04.7) bionic; urgency=medium

  * Trigger unattended-upgrade-shutdown actions with PrepareForShutdown()
    Performing upgrades in service's ExecStop did not work when the upgrades
    involved restarting services because systemd blocked other stop/start
    actions making maintainer scripts time out and be killed leaving a broken
    system behind.
    Running unattended-upgrades.service before shutdown.target as a oneshot
    service made it run after unmounting filesystems and scheduling services
    properly on shutdown is a complex problem and adding more services to the
    mix make it even more fragile.
    The solution of monitoring PrepareForShutdown() signal from DBus
    allows Unattended Upgrade to run _before_ the jobs related to shutdown are
    queued thus package upgrades can safely restart services without
    risking causing deadlocks or breaking part of the shutdown actions.
    Also ask running unattended-upgrades to stop when shutdown starts even in
    InstallOnShutdown mode and refactor most of unattended-upgrade-shutdown to
    UnattendedUpgradesShutdown class. (LP: #1778219)
  * Increase logind's InhibitDelayMaxSec to 30s. (LP: #1778219)
    This allows more time for unattended-upgrades to shut down gracefully
    or even install a few packages in InstallOnShutdown mode, but is still a
    big step back from the 30 minutes allowed for InstallOnShutdown previously.
    Users enabling InstallOnShutdown node are advised to increase
    InhibitDelayMaxSec even further possibly to 30 minutes.
    - Add NEWS entry about increasing InhibitDelayMaxSec and InstallOnShutdown
      changes
  * Ignore "W503 line break before binary operator"
    because it will become the best practice and breaks the build
  * Stop using ActionGroups, they interfere with apt.Cache.clear()
    causing all autoremovable packages to be handled as newly autoremovable
    ones and be removed by default. Dropping ActionGroup usage does not slow
    down the most frequent case of not having anything to upgrade and when
    there are packages to upgrade the gain is small compared to the actual
    package installation.
    Also collect autoremovable packages before adjusting candidates because that
    also changed .is_auto_removable attribute of some of them. (LP: #1803749)
    (Closes: #910874)

 -- Balint Reczey <email address hidden>  Mon, 26 Nov 2018 13:37:47 +0100
Superseded in cosmic-updates on 2018-12-19
Deleted in cosmic-proposed on 2018-12-21 (Reason: moved to -updates)
unattended-upgrades (1.5ubuntu3.18.10.0) cosmic; urgency=medium

  * Revert to running unattended-upgrades.service in multi-user.target
  * Trigger unattended-upgrade-shutdown actions with PrepareForShutdown()
    Performing upgrades in service's ExecStop did not work when the upgrades
    involved restarting services because systemd blocked other stop/start
    actions making maintainer scripts time out and be killed leaving a broken
    system behind.
    Running unattended-upgrades.service before shutdown.target as a oneshot
    service made it run after unmounting filesystems and scheduling services
    properly on shutdown is a complex problem and adding more services to the
    mix make it even more fragile.
    The solution of monitoring PrepareForShutdown() signal from DBus
    allows Unattended Upgrade to run _before_ the jobs related to shutdown are
    queued thus package upgrades can safely restart services without
    risking causing deadlocks or breaking part of the shutdown actions.
    Also ask running unattended-upgrades to stop when shutdown starts even in
    InstallOnShutdown mode and refactor most of unattended-upgrade-shutdown to
    UnattendedUpgradesShutdown class. (LP: #1778219, LP: #1803137)
  * Handle reverting to WantedBy=multi-user.target
  * Increase logind's InhibitDelayMaxSec to 30s.
    This allows more time for unattended-upgrades to shut down gracefully
    or even install a few packages in InstallOnShutdown mode, but is still a
    big step back from the 30 minutes allowed for InstallOnShutdown previously.
    Users enabling InstallOnShutdown mode are advised to increase
    InhibitDelayMaxSec even further possibly to 30 minutes.
  * Cache polling result for PreparingForShutdown after it becomes true
  * debian/tests/test-systemd.py: Reboot system with dbus call to honor
    inhibitor locks
  * Add NEWS entry about increasing InhibitDelayMaxSec and InstallOnShutdown
    changes
  * Stop using ActionGroups, they interfere with apt.Cache.clear()
    causing all autoremovable packages to be handled as newly autoremovable ones
    and be removed by default. Dropping ActionGroup usage does not slow down the
    most frequent case of not having anything to upgrade and when ther are
    packages to upgrade the gain is small compared to the actual package
    installation.
    Also collect autoremovable packages before adjusting candidates because that
    also changed .is_auto_removable attribute of some of them. (LP: #1803749)
    (Closes: #910874)

 -- Balint Reczey <email address hidden>  Mon, 26 Nov 2018 12:28:55 +0100

Available diffs

1.8
Superseded in disco-release on 2018-12-13
Deleted in disco-proposed on 2018-12-15 (Reason: moved to release)
unattended-upgrades (1.8) unstable; urgency=medium

  * Add note about increasing InhibitDelayMaxSec for InstallOnShutdown to
    50unattended-upgrades.
  * Ship historical md5sums of /etc/apt/apt.conf.d/50unattended-upgrades for ucf
  * Remove .ucf-* configuration file copies on purge
  * Add NEWS entry about increasing InhibitDelayMaxSec and InstallOnShutdown
    changes
  * Revert to WantedBy=multi-user.target from 1.5ubuntu3 and 1.7, too, on
    Ubuntu. 1.5ubuntu4 is the first fixed version on and 1.7 did not upgrade
    properly from 1.5ubuntu3.
  * List commented-out default values in 50unattended-upgrades config file.
    Always list the default value commented out unless the explanation clearly
    states the default value.
  * Transition obsolete 50unattended-upgrades conffile to ucf prior upgrades did
    not do that (Closes: #808336)
  * Speed up ordering of packages in which minimal upgrade steps are performed.
  * Stop using ActionGroups, they interfere with apt.Cache.clear() causing all
    autoremovable packages to be handled as newly autoremovable ones and be
    removed by default. Dropping ActionGroup usage does not slow down the
    most frequent case of not having anything to upgrade and when ther are
    packages to upgrade the gain is small compared to the actual package
    installation.
    Also collect autoremovable packages before adjusting candidates because that
    also changed .is_auto_removable attribute of some of them. (LP: #1803749)
    (Closes: #910874)
  * Fix pyflakes

 -- Balint Reczey <email address hidden>  Wed, 21 Nov 2018 17:02:49 +0100

Available diffs

Superseded in disco-release on 2018-11-26
Deleted in disco-proposed on 2018-11-27 (Reason: moved to release)
unattended-upgrades (1.7ubuntu1) disco; urgency=medium

  * Revert to WantedBy=multi-user.target from 1.5ubuntu3 and 1.7, too,
    on Ubuntu. 1.5ubuntu4 is the first fixed version on Ubuntu and 1.7 did not
    upgrade properly from 1.5ubuntu3.

 -- Balint Reczey <email address hidden>  Fri, 09 Nov 2018 21:49:07 +0100

Available diffs

1.7
Superseded in disco-release on 2018-11-11
Deleted in disco-proposed on 2018-11-12 (Reason: moved to release)
unattended-upgrades (1.7) unstable; urgency=medium

  [ Nils Toedtmann ]
  * Clarify 'A reboot is required' warning, that the requirement might stem
    from a previous run

  [ Balint Reczey ]
  * Build depend on and run pycodestyle, the replacement of pep8
  * autopkgtest: Clean up after failed debootstrap to retry cleanly
  * Handle when unattended-upgrades stopped without
    unattended-upgrade-shutdown sending SIGTERM (LP: #1795657)
  * Don't crash on missing dpkg log file (LP: #1795692)
  * do_auto_remove() is successful unless a commit() operation fails
    (LP: #1795696)
  * Check only dowloaded .deb files for conffile prompts (LP: #1796100)
  * Recommend systemd-sysv as the first alternative of cron.
    Unattended-upgrades is started via systemd timers or by the .service file
    on the default Debian and Ubuntu installations without cron's involvement.
    Systems without systemd-sysv can still install unattended-upgrades and run
    it via cron.
  * Only suggest python3-gi and skip check for metered connection when it is
    missing (Closes: #909543)
  * Only suggest powermgmt-base amd skip checking power status when it is not
    present
  * Show message about missing optional dependencies only once
  * Add configuration file option to enable verbose and debug logging.
    Thanks to Paul Wise
  * Revert to running unattended-upgrades.service in multi-user.target
  * Trigger unattended-upgrade-shutdown actions with PrepareForShutdown()
    Performing upgrades in service's ExecStop did not work when the upgrades
    involved restarting services because systemd blocked other stop/start
    actions making maintainer scripts time out and be killed leaving a broken
    system behind.
    Running unattended-upgrades.service before shutdown.target as a oneshot
    service made it run after unmounting filesystems and scheduling services
    properly on shutdown is a complex problem and adding more services to the
    mix make it even more fragile.
    The solution of monitoring PrepareForShutdown() signal from DBus
    allows Unattended Upgrade to run _before_ the jobs related to shutdown are
    queued thus package upgrades can safely restart services without
    risking causing deadlocks or breaking part of the shutdown actions.
    Also ask running unattended-upgrades to stop when shutdown starts even in
    InstallOnShutdown mode and refactor most of unattended-upgrade-shutdown to
    UnattendedUpgradesShutdown class. (LP: #1778219)
  * Handle reverting to WantedBy=multi-user.target when upgrading from 1.5 or
    1.6
  * debian/postinst: Redirect stdout from systemctl and deb-systemd-invoke to
    stderr and skip running systemctl start unattended-upgrades.service when
    unattended-upgrades is already running to avoid deadlock.
  * Increase logind's InhibitDelayMaxSec to 30s.
    This allows more time for unattended-upgrades to shut down gracefully
    or even install a few packages in InstallOnShutdown mode, but is still a
    big step back from the 30 minutes allowed for InstallOnShutdown previously.
    Users enabling InstallOnShutdown node are advised to increase
    InhibitDelayMaxSec even further, possibly to 30 minutes.

  [ Brian Murray ]
  * unattended-upgrades: Do not automatically upgrade the development release
    of Ubuntu unless Unattended-Upgrade::DevRelease is true. (LP: #1649709)

  [ Julian Andres Klode ]
  * Do not run on development releases until 21 days before release.
    This works for Ubuntu, and is only enabled there. Also explicitly
    log those messages to syslog, so a user can easily find them and
    then dig for more information in the u-u log.

 -- Balint Reczey <email address hidden>  Thu, 18 Oct 2018 00:58:48 +0200

Available diffs

Superseded in disco-release on 2018-11-09
Published in cosmic-release on 2018-10-08
Deleted in cosmic-proposed (Reason: moved to release)
unattended-upgrades (1.5ubuntu3) cosmic; urgency=medium

  * Skip already adjusted packages from being checked for readjusting.
    This makes it clearer that the recursion ends and can also be a bit quicker.
    (LP: #1790687)
  * Fix PEP 8 warnings.
    Also ignore "W503 line break before binary operator" because it will
    become the best practice.
  * Don't crash on missing dpkg log file (LP: #1795692)
  * do_auto_remove() is successful unless a commit() operation fails
    (LP: #1795696)
  * Check only dowloaded .deb files for conffile prompts (LP: #1796100)

 -- Balint Reczey <email address hidden>  Sun, 07 Oct 2018 23:16:17 +0200

Available diffs

Superseded in bionic-updates on 2018-12-03
Deleted in bionic-proposed on 2018-12-04 (Reason: moved to -updates)
unattended-upgrades (1.1ubuntu1.18.04.6) bionic; urgency=medium

  * Unlock for dpkg operations with apt_pkg.pkgsystem_unlock_inner() when it is
    available. Also stop running when reacquiring the lock fails.
    Thanks to Julian Andres Klode for original partial patch (LP: #1789637)
  * Skip rebuilding python-apt in upgrade autopkgtests.
    Python-apt has a new build dependency making the rebuilding as is failing
    and the reference handling issue is worked around in unattended-upgrades
    already. (LP: #1781586)
  * Stop trying when no adjustment could be made and adjust package candidates
    only to lower versions (LP: #1785093)
  * Skip already adjusted packages from being checked for readjusting.
    This makes it clearer that the recursion ends and can also be a bit quicker.
    (LP: #1785093)

 -- Balint Reczey <email address hidden>  Tue, 02 Oct 2018 19:18:02 +0200
Superseded in cosmic-release on 2018-10-08
Deleted in cosmic-proposed on 2018-10-10 (Reason: moved to release)
unattended-upgrades (1.5ubuntu2) cosmic; urgency=medium

  * Reopen Cache after commit() even when frontend locking is supported.
    This fixes build and operation with latest python-apt.

 -- Balint Reczey <email address hidden>  Tue, 28 Aug 2018 15:46:25 +0200
Superseded in cosmic-proposed on 2018-08-28
unattended-upgrades (1.5ubuntu1) cosmic; urgency=medium

  * Merge from Debian unstable
    - Remaining changes:
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
    - Dropped changes, included in Debian:
      - Redirect stderr output in upgrade-all-security and
        upgrade-between-snapshots otherwise it breaks the test
      - Skip rebuilding python-apt in upgrade autopkgtests

Available diffs

Superseded in bionic-updates on 2018-10-22
Deleted in bionic-proposed on 2018-10-23 (Reason: moved to -updates)
unattended-upgrades (1.1ubuntu1.18.04.5) bionic; urgency=medium

  * Stop updating the system when reacquiring the dpkg system lock fails.
    (LP: #1260041)

 -- Balint Reczey <email address hidden>  Wed, 18 Jul 2018 13:22:36 +0200
Superseded in cosmic-release on 2018-08-28
Deleted in cosmic-proposed on 2018-08-29 (Reason: moved to release)
unattended-upgrades (1.4ubuntu2) cosmic; urgency=medium

  * Redirect stderr output in upgrade-all-security and
    upgrade-between-snapshots otherwise it breaks the test (LP: #1781446)
  * Skip rebuilding python-apt in upgrade autopkgtests.
    Python-apt has a new build dependency making the rebuilding as is failing
    and the reference handling issue is worked around in unattended-upgrades
    already, install release's latest python-apt in upgrade-all-security
    instead (LP: #1781586)

 -- Balint Reczey <email address hidden>  Fri, 13 Jul 2018 17:08:54 +0200

Available diffs

Superseded in bionic-updates on 2018-07-23
Deleted in bionic-proposed on 2018-07-24 (Reason: moved to -updates)
unattended-upgrades (1.1ubuntu1.18.04.4) bionic; urgency=medium

  * Redirect stderr output in upgrade-between-snapshots, too, otherwise it
    breaks the test sometimes (LP: #1781446)

Superseded in bionic-proposed on 2018-07-13
unattended-upgrades (1.1ubuntu1.18.04.3) bionic; urgency=medium

  * Redirect stderr output in upgrade-all-security, otherwise it breaks the test
    (LP: #1781446)

Superseded in bionic-proposed on 2018-07-12
unattended-upgrades (1.1ubuntu1.18.04.2) bionic; urgency=medium

  [ Balint Reczey ]
  * Clear cache when autoremoval is invalid for a package set marked for
    removal and clear cache after failed commits to return from a possibly
    invalid state (LP: #1779157)
  * Don't start or gracefully stop upgrade on battery (LP: #1773033)
  * Skip updates on metered connections (Closes: #855570) (LP: #1781183)
  * Add debian/tests/upgrade-all-security to install all current security updates.
    On development releases this tests latest stable, on stable releases it tests
    the release itself.
  * Speed up unattended-upgrade (Closes: #892028, #899366) (LP: #1396787)
    - Adjust candidates only for packages to be possibly installed
    - Filter out packages cheaper when they are not from allowed origins
    - Collect autoremovable packages, too, when looking for upgradable ones
    - Measure time of running with --dry-run in autopkgtests
  * Skip starting init.d script in debhelper-generated postinst part
    (LP: #1778800)

  [ Ivan Kurnosov ]
  * Fixed is_pkgname_in_blacklist to be side-effect free. (LP: #1781176)
    Otherwise 'is_pkgname_in_blacklist' mutates the 'pkgs_kept_back' and
    'unattended-upgrades' treats the package as a blacklisted candidate

 -- Balint Reczey <email address hidden>  Thu, 12 Jul 2018 13:52:24 +0200
Superseded in cosmic-release on 2018-07-13
Deleted in cosmic-proposed on 2018-07-14 (Reason: moved to release)
unattended-upgrades (1.4ubuntu1) cosmic; urgency=medium

  * Merge from Debian unstable
    - Remaining changes:
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
    - Dropped changes, included in Debian:
      - Stop rewriting test apt.conf in test_untrusted.py.
      - Fix test_on_battery on Ubuntu development releases

Available diffs

Superseded in bionic-updates on 2018-07-19
Superseded in bionic-proposed on 2018-07-12
unattended-upgrades (1.1ubuntu1.18.04.1) bionic; urgency=medium

  [ Michael Vogt ]
  * unattended-upgrades: fix Unlocked context manager. (LP: #1602536)
    The Unlocked context manager did correctly unlock but did not
    reacquire the lock which means that in minimal-upgrade step
    mode it is possible to run apt code without a lock. If something
    else (like landscape, apt, synaptic, packagekit) locks the cache
    in the meantime this will work and u-u will get dpkg errors
    because dpkg will not be able to perform its operations. It is
    less of an issue in non-minimal mode, but even then the auto-remove
    step may fail in this way.

  [ Balint Reczey ]
  * Fix adjusting candidates (LP: #1775292)
  * Relock apt lock before reopening the cache (LP: #1602536)
  * Fix crashing while adjusting candidates and save candidates to adjust only
    in first sweep run, not emptying the set later
    (Closes: #901258) (LP: #1775307)

 -- Balint Reczey <email address hidden>  Wed, 06 Jun 2018 16:30:55 -0700

Available diffs

Superseded in cosmic-release on 2018-07-06
Deleted in cosmic-proposed on 2018-07-07 (Reason: moved to release)
unattended-upgrades (1.3ubuntu3) cosmic; urgency=medium

  * Stop rewriting test apt.conf in test_untrusted.py.
    This fixes overwriting Unattended-Upgrade::OnlyOnACPower "false" accidentally
    and breaking the build.

 -- Balint Reczey <email address hidden>  Tue, 19 Jun 2018 21:24:40 +0200
Superseded in cosmic-proposed on 2018-06-19
unattended-upgrades (1.3ubuntu2) cosmic; urgency=medium

  * Fix test_on_battery on Ubuntu development releases

 -- Balint Reczey <email address hidden>  Tue, 19 Jun 2018 19:31:14 +0200

Available diffs

Superseded in cosmic-proposed on 2018-06-19
unattended-upgrades (1.3ubuntu1) cosmic; urgency=medium

  * Merge from Debian unstable
    - Now candidate adjustment is really fixed (LP: #1775292)
    - Remaining changes:
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.

Available diffs

Superseded in cosmic-release on 2018-06-19
Deleted in cosmic-proposed on 2018-06-21 (Reason: moved to release)
unattended-upgrades (1.2ubuntu1) cosmic; urgency=medium

  * Merge from Debian unstable
    - Remaining changes:
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.

Available diffs

Superseded in cosmic-release on 2018-05-24
Published in bionic-release on 2018-04-20
Deleted in bionic-proposed (Reason: moved to release)
unattended-upgrades (1.1ubuntu1) bionic; urgency=medium

  * Merge from Debian unstable (LP: #1764797)
    - Remaining changes:
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
    - Dropped changes, included in Debian:
      - Rename d/NEWS.Debian to d/NEWS to have it shipped
      - Fix typo in NEWS file
      - d/rules: Exclude mypy cache from source package.

Available diffs

Superseded in bionic-release on 2018-04-20
Deleted in bionic-proposed on 2018-04-21 (Reason: moved to release)
unattended-upgrades (1.0ubuntu2) bionic; urgency=medium

  [ Balint Reczey ]
  * Rename d/NEWS.Debian to d/NEWS to have it shipped
  * Fix typo in NEWS file

  [ Simon McVittie ]
  * d/rules: Exclude mypy cache from source package.

 -- Balint Reczey <email address hidden>  Mon, 19 Mar 2018 16:42:37 +0000

Available diffs

Superseded in bionic-release on 2018-03-20
Deleted in bionic-proposed on 2018-03-21 (Reason: moved to release)
unattended-upgrades (1.0ubuntu1) bionic; urgency=medium

  * Merge from Debian unstable
    - Remaining changes:
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
    - Dropped changes, included in Debian:
      - Run upgrade-between-snapshots only on amd64.
        The test exercises only unattented-upgrade's Python code and uses
        dependencies from the frozen Debian snapshot archive thus running
        it on all architectures would provide little benefit.

Available diffs

Superseded in bionic-release on 2018-03-01
Deleted in bionic-proposed on 2018-03-02 (Reason: moved to release)
unattended-upgrades (0.99ubuntu2) bionic; urgency=medium

  * Run upgrade-between-snapshots only on amd64.
    The test exercises only unattented-upgrade's Python code and uses
    dependencies from the frozen Debian snapshot archive thus running
    it on all architectures would provide little benefit.

 -- Balint Reczey <email address hidden>  Tue, 13 Feb 2018 11:41:20 +0700
Superseded in bionic-proposed on 2018-02-13
unattended-upgrades (0.99ubuntu1) bionic; urgency=medium

  * Merge from Debian unstable (LP: #1722426)
    - Remaining changes:
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
    - Dropped changes, included in Debian:
      - Fix version of test package in test_remove_unused_dependencies
      - Do not touch reboot-required on linux-image-extra removal
      - unattended-upgrades: Do not reboot during a dry-run.

Available diffs

Superseded in bionic-release on 2018-02-15
Deleted in bionic-proposed on 2018-02-16 (Reason: moved to release)
unattended-upgrades (0.98ubuntu4) bionic; urgency=medium

  * Cherry pick from git:
    - Fix version of test package in test_remove_unused_dependencies (Closes: #886803)

 -- Julian Andres Klode <email address hidden>  Fri, 12 Jan 2018 10:10:29 +0100
Superseded in bionic-proposed on 2018-01-12
unattended-upgrades (0.98ubuntu3) bionic; urgency=medium

  *  Do not touch reboot-required on linux-image-extra removal (LP: #1458204)

 -- Julian Andres Klode <email address hidden>  Fri, 12 Jan 2018 09:58:04 +0100

Available diffs

Superseded in xenial-updates on 2019-01-22
Deleted in xenial-proposed on 2019-01-23 (Reason: moved to -updates)
unattended-upgrades (0.90ubuntu0.9) xenial; urgency=medium

  * unattended-upgrade: Do not reboot during a dry-run. (LP: #1269177)

 -- Brian Murray <email address hidden>  Tue, 19 Dec 2017 14:51:05 -0800

Available diffs

Obsolete in zesty-updates on 2018-06-22
Deleted in zesty-proposed on 2018-06-22 (Reason: moved to -updates)
unattended-upgrades (0.93.1ubuntu2.4) zesty; urgency=medium

  * unattended-upgrade: Do not reboot during a dry-run. (LP: #1269177)

 -- Brian Murray <email address hidden>  Tue, 19 Dec 2017 14:46:42 -0800

Available diffs

Published in artful-updates on 2018-01-03
Deleted in artful-proposed (Reason: moved to -updates)
unattended-upgrades (0.98ubuntu1.1) artful; urgency=medium

  * unattended-upgrades: Do not reboot during a dry-run. (LP: #1269177)

 -- Brian Murray <email address hidden>  Tue, 19 Dec 2017 11:04:52 -0800

Available diffs

Superseded in bionic-release on 2018-01-26
Deleted in bionic-proposed on 2018-01-27 (Reason: moved to release)
unattended-upgrades (0.98ubuntu2) bionic; urgency=medium

  * unattended-upgrades: Do not reboot during a dry-run. (LP: #1269177)

 -- Brian Murray <email address hidden>  Tue, 19 Dec 2017 11:04:52 -0800

Available diffs

Superseded in bionic-release on 2017-12-19
Published in artful-release on 2017-10-10
Deleted in artful-proposed (Reason: moved to release)
unattended-upgrades (0.98ubuntu1) artful; urgency=medium

  * Merge from Debian unstable (LP: #1722426)
    - Remaining changes:
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
    - Dropped changes, included in Debian:
      - Use lsb_release instead of dpkg-vendor in postinst

Available diffs

Superseded in artful-release on 2017-10-10
Deleted in artful-proposed on 2017-10-11 (Reason: moved to release)
unattended-upgrades (0.97ubuntu2) artful; urgency=medium

  * Use lsb_release instead of dpkg-vendor in postinst (LP: #1719630)

 -- Balint Reczey <email address hidden>  Tue, 26 Sep 2017 10:21:42 -0400

Available diffs

Superseded in artful-release on 2017-09-26
Deleted in artful-proposed on 2017-09-28 (Reason: moved to release)
unattended-upgrades (0.97ubuntu1) artful; urgency=medium

  * Merge from Debian unstable (LP: #1718419)
    - Remaining changes:
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
    - Dropped changes, included in Debian:
      - Recover from broken dh_installinit override in versions < 0.93.1ubuntu3

Available diffs

Superseded in xenial-updates on 2018-01-03
Deleted in xenial-proposed on 2018-01-04 (Reason: moved to -updates)
unattended-upgrades (0.90ubuntu0.8) xenial; urgency=medium

  * Do not mark packages for deletion / autoremoval if unattended-upgrades is
    being run in dry-run mode. (LP: #1544942)

 -- Brian Murray <email address hidden>  Mon, 18 Sep 2017 13:36:57 -0700

Available diffs

Superseded in artful-release on 2017-09-25
Deleted in artful-proposed on 2017-09-26 (Reason: moved to release)
unattended-upgrades (0.96ubuntu1) artful; urgency=low

  * Merge from Debian unstable (LP: #1714019)
    - Remaining changes:
      - Recover from broken dh_installinit override in versions < 0.93.1ubuntu3
      - unattended-upgrades: Do not automatically upgrade the development
        release of Ubuntu unless Unattended-Upgrade::DevRelease is true.
    - Dropped changes, included in Debian:
      - Cherry-pick 2e5deed, f26edb4 from upstream to add support for a
        --download-only option, enabling us to download updates at a random
        time of day by default but apply them predictably in the 6am-7am
        window.
      - Fix PEP8 failures (replace except: with except Exception:)
      - unattended-upgrades: Provide some information and create a log entry
        when there is a failure to parse the allowed origins.
      - Add UbuntuESM to the list of sources automatically upgraded from by
        default.
      - Complete the solution for the unattended-upgrades.service unit not
        correctly working
      - d/rules : Remove the override_dh_installinit. The stop option is no
        longer available so the command falls back to default. This is the
        normal behavior so the override is not required
      - d/unattended-upgrades.init : Add Default-Start runlevels, otherwise
        the unattended-upgrades.service unit cannot be enabled on boot
      - d/postinst : Cleanup the stop symlinks created by the wrong
        override_dh_installinit. Without that, the systemd unit cannot be
        enabled correctly.
        Force disable the service before deb-systemd-helper runs so the old
        symlink is not left dangling (workaround for Debian Bug #797108).
        Force enable and start of the systemd unit to work around Debian Bug
        #797108 which fails to enable systemd units correctly when
        WantedBy= statement is changed which is the case here.
      - d/unattended-upgrades.service : Fix the service so it runs correctly on
        shutdown :
        - Remove DefaultDependencies=no : Breaks normal shutdown dependencies
        - Set After= to network.target and local-fs.target. Since our service
          is now ExecStop, it will run before network and local-fs become
          unavailable.
        - Add RequiresMountsFor=/var/log /var/run /var/lib /boot : Necessary if
          /var is a separate file system. Set WantedBy= to multi-user.target
      - Add DEP8 tests to verify the following :
        - Verify that the unattended-upgrades.service unit is enabled and
          started.
        - Verify that InstallOnShutdown works when configured.
      - The systemd unit needs to be an ExecStop since it is is activated on
        shutdown. Otherwise, it will get scheduled after completion of
        the local-fs.target. In the case where /var is a separate
        filesystem, unattended-upgrade-shutdown will hang until timeout
        since /var/run is expected but no longer there
      - When performing a sanity check for packages to install or upgrade
        return false when either there are no packages in the cache or the
        package to upgrade is not in the change set.
      - Do not mark packages for deletion / autoremoval if unattended-upgrades
        is being run in dry-run mode.
      - Store delay command line option as an int not a string since we do
        maths with it.

 -- Balint Reczey <email address hidden>  Wed, 30 Aug 2017 13:46:37 +0200

Available diffs

Superseded in artful-release on 2017-09-04
Deleted in artful-proposed on 2017-09-06 (Reason: moved to release)
unattended-upgrades (0.93.1ubuntu8) artful; urgency=medium

  [ Steve Langasek ]
  * Cherry-pick 2e5deed, f26edb4 from upstream to add support for a
    --download-only option, enabling us to download updates at a random time
    of day by default but apply them predictably in the 6am-7am window.
    LP: #1686470.

 -- Dimitri John Ledkov <email address hidden>  Mon, 31 Jul 2017 23:28:38 +0100

Available diffs

Superseded in zesty-updates on 2018-01-03
Deleted in zesty-proposed on 2018-01-04 (Reason: moved to -updates)
unattended-upgrades (0.93.1ubuntu2.3) zesty; urgency=medium

  * Cherry-pick 2e5deed, f26edb4 from upstream to add support for a
    --download-only option, enabling us to download updates at a random time
    of day by default but apply them predictably in the 6am-7am window.
    LP: #1686470.

 -- Steve Langasek <email address hidden>  Mon, 31 Jul 2017 12:40:12 -0700
Superseded in xenial-updates on 2017-09-28
Deleted in xenial-proposed on 2017-09-29 (Reason: moved to -updates)
unattended-upgrades (0.90ubuntu0.7) xenial; urgency=medium

  * Cherry-pick 2e5deed, f26edb4 from upstream to add support for a
    --download-only option, enabling us to download updates at a random time
    of day by default but apply them predictably in the 6am-7am window.
    LP: #1686470.

 -- Steve Langasek <email address hidden>  Mon, 31 Jul 2017 12:34:37 -0700

Available diffs

Superseded in artful-release on 2017-08-01
Deleted in artful-proposed on 2017-08-02 (Reason: moved to release)
unattended-upgrades (0.93.1ubuntu7) artful; urgency=medium

  * Fix PEP8 failures (replace except: with except Exception:)

 -- Julian Andres Klode <email address hidden>  Sat, 01 Jul 2017 00:36:13 +0200

Available diffs

Superseded in artful-release on 2017-07-01
Deleted in artful-proposed on 2017-07-02 (Reason: moved to release)
unattended-upgrades (0.93.1ubuntu6) artful; urgency=medium

  * unattended-upgrades: Do not automatically upgrade the development release
    of Ubuntu unless Unattended-Upgrade::DevRelease is true. (LP: #1649709)

 -- Brian Murray <email address hidden>  Wed, 17 May 2017 16:28:32 -0700
Superseded in artful-proposed on 2017-05-18
unattended-upgrades (0.93.1ubuntu5) artful; urgency=medium

  * unattended-upgrades: Provide some information and create a log entry when
    there is a failure to parse the allowed origins. (LP: #1680599)

 -- Brian Murray <email address hidden>  Wed, 17 May 2017 13:29:25 -0700

Available diffs

Superseded in artful-release on 2017-05-18
Deleted in artful-proposed on 2017-05-20 (Reason: moved to release)
unattended-upgrades (0.93.1ubuntu4) artful; urgency=medium

  * Add UbuntuESM to the list of sources automatically upgraded from by
    default.  LP: #1687129.

 -- Steve Langasek <email address hidden>  Thu, 11 May 2017 18:08:55 -0700

Available diffs

Superseded in zesty-updates on 2017-09-13
Deleted in zesty-proposed on 2017-09-14 (Reason: moved to -updates)
unattended-upgrades (0.93.1ubuntu2.2) zesty; urgency=medium

  * Add UbuntuESM to the list of sources automatically upgraded from by
    default.  LP: #1687129.

 -- Steve Langasek <email address hidden>  Tue, 02 May 2017 21:44:58 -0400

Available diffs

Obsolete in yakkety-updates on 2018-01-23
Deleted in yakkety-proposed on 2018-01-23 (Reason: moved to -updates)
unattended-upgrades (0.92ubuntu1.5) yakkety; urgency=medium

  * Add UbuntuESM to the list of sources automatically upgraded from by
    default.  LP: #1687129.

 -- Steve Langasek <email address hidden>  Tue, 02 May 2017 21:43:24 -0400

Available diffs

Superseded in xenial-updates on 2017-08-01
Deleted in xenial-proposed on 2017-08-02 (Reason: moved to -updates)
unattended-upgrades (0.90ubuntu0.6) xenial; urgency=medium

  * Add UbuntuESM to the list of sources automatically upgraded from by
    default.  LP: #1687129.

 -- Steve Langasek <email address hidden>  Tue, 02 May 2017 21:41:25 -0400

Available diffs

Published in trusty-updates on 2017-05-16
Deleted in trusty-proposed (Reason: moved to -updates)
unattended-upgrades (0.82.1ubuntu2.5) trusty; urgency=medium

  * Add UbuntuESM to the list of sources automatically upgraded from by
    default.  LP: #1687129.

 -- Steve Langasek <email address hidden>  Tue, 02 May 2017 15:55:13 -0400

Available diffs

Published in precise-updates on 2017-05-04
Deleted in precise-proposed (Reason: moved to -updates)
unattended-upgrades (0.76ubuntu1.3) precise; urgency=medium

  * Add UbuntuESM to the list of sources automatically upgraded from by
    default.  LP: #1687129.

 -- Steve Langasek <email address hidden>  Tue, 02 May 2017 15:45:12 -0400

Available diffs

Superseded in xenial-updates on 2017-05-18
Deleted in xenial-proposed on 2017-05-20 (Reason: moved to -updates)
unattended-upgrades (0.90ubuntu0.5) xenial; urgency=medium

  * Complete the solution for the unattended-upgrades.service unit not
    correctly working (LP: #1654600):
    - d/rules : Remove the override_dh_installinit. The stop option is no longer
      available so the command falls back to default. This is the normal
      behavior so the override is not required
    - d/unattended-upgrades.init : Add Default-Start runlevels, otherwise the
      unattended-upgrades.service unit cannot be enabled on boot
    - d/postinst : Cleanup the stop symlinks created by the wrong
      override_dh_installinit. Without that, the systemd unit cannot be
      enabled correctly.
      Force disable the service before deb-systemd-helper runs so the old
      symlink is not left dangling (workaround for Debian Bug #797108).
      Force enable and start of the systemd unit to work around Debian Bug #797108
      which fails to enable systemd units correctly when WantedBy= statement
      is changed which is the case here.
      Both systemctl enable AND start are needed as enable --now fails on
      Xenial.
    - d/unattended-upgrades.service : Fix the service so it runs correctly on
      shutdown :
        Remove DefaultDependencies=no : Breaks normal shutdown dependencies
        Set After= to network.target and local-fs.target. Since our service is
        now ExecStop, it will run before network and local-fs become unavailable.
        Add RequiresMountsFor=/var/log /var/run /var/lib /boot : Necessary if
        /var is a separate file system. Set WantedBy= to multi-user.target
    - Add DEP8 tests to verify the following :
      Verify that the unattended-upgrades.service unit is enabled and started.
      Verify that InstallOnShutdown works when configured.

 -- Louis Bouchard <email address hidden>  Fri, 21 Apr 2017 16:47:52 +0200
Superseded in yakkety-updates on 2017-05-18
Deleted in yakkety-proposed on 2017-05-20 (Reason: moved to -updates)
unattended-upgrades (0.92ubuntu1.4) yakkety; urgency=medium

  * Complete the solution for the unattended-upgrades.service unit not
    correctly working (LP: #1654600):
    - d/rules : Remove the override_dh_installinit. The stop option is no longer
      available so the command falls back to default. This is the normal
      behavior so the override is not required
    - d/unattended-upgrades.init : Add Default-Start runlevels, otherwise the
      unattended-upgrades.service unit cannot be enabled on boot
    - d/postinst : Cleanup the stop symlinks created by the wrong
      override_dh_installinit. Without that, the systemd unit cannot be
      enabled correctly.
      Force disable the service before deb-systemd-helper runs so the old
      symlink is not left dangling (workaround for Debian Bug #797108).
      Force enable and start of the systemd unit to work around Debian Bug #797108
      which fails to enable systemd units correctly when WantedBy= statement
      is changed which is the case here.
    - d/unattended-upgrades.service : Fix the service so it runs correctly on
      shutdown :
        Remove DefaultDependencies=no : Breaks normal shutdown dependencies
        Set After= to network.target and local-fs.target. Since our service is
        now ExecStop, it will run before network and local-fs become unavailable.
        Add RequiresMountsFor=/var/log /var/run /var/lib /boot : Necessary if
        /var is a separate file system. Set WantedBy= to multi-user.target
    - Add DEP8 tests to verify the following :
      Verify that the unattended-upgrades.service unit is enabled and started.
      Verify that InstallOnShutdown works when configured.

 -- Louis Bouchard <email address hidden>  Tue, 04 Apr 2017 18:31:42 +0200
Superseded in zesty-updates on 2017-05-18
Deleted in zesty-proposed on 2017-05-20 (Reason: moved to -updates)
unattended-upgrades (0.93.1ubuntu2.1) zesty; urgency=medium

  * Complete the solution for the unattended-upgrades.service unit not
    correctly working (LP: #1654600):
    - d/rules : Remove the override_dh_installinit. The stop option is no longer
      available so the command falls back to default. This is the normal
      behavior so the override is not required
    - d/unattended-upgrades.init : Add Default-Start runlevels, otherwise the
      unattended-upgrades.service unit cannot be enabled on boot
    - d/postinst : Cleanup the stop symlinks created by the wrong
      override_dh_installinit. Without that, the systemd unit cannot be
      enabled correctly.
      Force disable the service before deb-systemd-helper runs so the old
      symlink is not left dangling (workaround for Debian Bug #797108).
      Force enable and start of the systemd unit to work around Debian Bug #797108
      which fails to enable systemd units correctly when WantedBy= statement
      is changed which is the case here.
    - d/unattended-upgrades.service : Fix the service so it runs correctly on
      shutdown :
        Remove DefaultDependencies=no : Breaks normal shutdown dependencies
        Set After= to network.target and local-fs.target. Since our service is
        now ExecStop, it will run before network and local-fs become unavailable.
        Add RequiresMountsFor=/var/log /var/run /var/lib /boot : Necessary if
        /var is a separate file system. Set WantedBy= to multi-user.target
    - Add DEP8 tests to verify the following :
      Verify that the unattended-upgrades.service unit is enabled and started.
      Verify that InstallOnShutdown works when configured.

 -- Louis Bouchard <email address hidden>  Fri, 21 Apr 2017 12:40:29 +0200

Available diffs

Superseded in artful-release on 2017-05-12
Deleted in artful-proposed on 2017-05-13 (Reason: moved to release)
unattended-upgrades (0.93.1ubuntu3) artful; urgency=medium

  * Complete the solution for the unattended-upgrades.service unit not
    correctly working (LP: #1654600):
    - d/rules : Remove the override_dh_installinit. The stop option is no longer
      available so the command falls back to default. This is the normal
      behavior so the override is not required
    - d/unattended-upgrades.init : Add Default-Start runlevels, otherwise the
      unattended-upgrades.service unit cannot be enabled on boot
    - d/postinst : Cleanup the stop symlinks created by the wrong
      override_dh_installinit. Without that, the systemd unit cannot be
      enabled correctly.
      Force disable the service before deb-systemd-helper runs so the old
      symlink is not left dangling (workaround for Debian Bug #797108).
      Force enable and start of the systemd unit to work around Debian Bug #797108
      which fails to enable systemd units correctly when WantedBy= statement
      is changed which is the case here.
    - d/unattended-upgrades.service : Fix the service so it runs correctly on
      shutdown :
        Remove DefaultDependencies=no : Breaks normal shutdown dependencies
        Set After= to network.target and local-fs.target. Since our service is
        now ExecStop, it will run before network and local-fs become unavailable.
        Add RequiresMountsFor=/var/log /var/run /var/lib /boot : Necessary if
        /var is a separate file system. Set WantedBy= to multi-user.target
    - Add DEP8 tests to verify the following :
      Verify that the unattended-upgrades.service unit is enabled and started.
      Verify that InstallOnShutdown works when configured.

 -- Louis Bouchard <email address hidden>  Mon, 24 Apr 2017 14:07:19 +0200

Available diffs

Superseded in yakkety-proposed on 2017-04-27
unattended-upgrades (0.92ubuntu1.3) yakkety; urgency=medium

  * The systemd unit needs to be an ExecStop since it is is activated on
    shutdown. Otherwise, it will get scheduled after completion of
    the local-fs.target. In the case where /var is a separate
    filesystem, unattended-upgrade-shutdown will hang until timeout
    since /var/run is expected but no longer there (LP: #1654600)

 -- Louis Bouchard <email address hidden>  Fri, 03 Mar 2017 15:20:47 +0100

Available diffs

Superseded in xenial-proposed on 2017-04-27
unattended-upgrades (0.90ubuntu0.4) xenial; urgency=medium

  * The systemd unit needs to be an ExecStop since it is is activated on
    shutdown. Otherwise, it will get scheduled after completion of
    the local-fs.target. In the case where /var is a separate
    filesystem, unattended-upgrade-shutdown will hang until timeout
    since /var/run is expected but no longer there. Also added
    TimeoutStopSec=900 used in other released.(LP: #1654600)

 -- Louis Bouchard <email address hidden>  Fri, 03 Mar 2017 15:27:31 +0100

Available diffs

Superseded in artful-release on 2017-04-24
Obsolete in zesty-release on 2018-06-22
Deleted in zesty-proposed on 2018-06-22 (Reason: moved to release)
unattended-upgrades (0.93.1ubuntu2) zesty; urgency=medium

  * The systemd unit needs to be an ExecStop since it is is activated on
    shutdown. Otherwise, it will get scheduled after completion of
    the local-fs.target. In the case where /var is a separate
    filesystem, unattended-upgrade-shutdown will hang until timeout
    since /var/run is expected but no longer there (LP: #1654600)

 -- Louis Bouchard <email address hidden>  Thu, 02 Mar 2017 16:55:26 +0100

Available diffs

Superseded in zesty-release on 2017-03-03
Deleted in zesty-proposed on 2017-03-04 (Reason: moved to release)
unattended-upgrades (0.93.1ubuntu1) zesty; urgency=medium

  [ Brian Murray ]
  * When performing a sanity check for packages to install or upgrade return
    false when either there are no packages in the cache or the package to
    upgrade is not in the change set. (LP: #1654070)
  * Do not mark packages for deletion / autoremoval if unattended-upgrades is
    being run in dry-run mode. (LP: #1544942)

  [ Louis Bouchard ]
  * Store delay command line option as an int not a string since we do maths
    with it.

 -- Brian Murray <email address hidden>  Fri, 06 Jan 2017 13:00:24 -0800
Superseded in xenial-updates on 2017-05-08
Deleted in xenial-proposed on 2017-05-09 (Reason: moved to -updates)
unattended-upgrades (0.90ubuntu0.3) xenial-proposed; urgency=medium

  * Ensure that network and local filesystems are available when running
    unattended-upgrades during shutdown mode. (LP: #1618900)

 -- Brian Murray <email address hidden>  Wed, 14 Dec 2016 13:38:32 -0800

Available diffs

175 of 199 results