Package: unattended-upgrades
Version: 0.83.3.2+deb8u1
Severity: normal

Dear Maintainer,

Recently the samba packages in jessie had a problem with a file
conflict and the unattended upgrade failed:

>From the logs (sorry for the german):
2016-04-15 07:39:11,224 INFO Packages that will be upgraded: libsmbclient 
libwbclient0 python-samba samba samba-common samba-common-bin 
samba-dsdb-modules samba-libs
2016-04-15 07:39:11,227 INFO Dpkg-Protokoll wird nach 
»/var/log/unattended-upgrades/unattended-upgrades-dpkg.log« geschrieben
2016-04-15 07:40:19,320 ERROR Installation der Upgrades fehlgeschlagen!
2016-04-15 07:40:19,323 ERROR Fehlermeldung: »installArchives() failed«
2016-04-15 07:40:19,325 ERROR Dpkg gab einen Fehler zurück. Siehe 
»/var/log/unattended-upgrades/unattended-upgrades-dpkg.log« für Einzelheiten

Entpacken von samba-libs:armhf (2:4.2.10+dfsg-0+deb8u2) über 
(2:4.2.10+dfsg-0+deb8u1) ...
dpkg: Fehler beim Bearbeiten des Archivs 
/var/cache/apt/archives/samba-libs_2%3a4.2.10+dfsg-0+deb8u2_armhf.deb 
(--unpack):
Versuch, »/usr/lib/arm-linux-gnueabihf/samba/libsmbd-base.so.0« zu 
überschreiben, welches auch in Paket samba 2:4.2.10+dfsg-0+deb8u1 ist
dpkg-deb: Fehler: Unterprozess einfügen wurde durch Signal (Datenübergabe 
unterbrochen (broken pipe)) getötet

Afterwards unattended-upgrades stopped updating the system, reporting
"Cache has broken packages, exiting":

# LC_ALL=C unattended-upgrade -v --apt-debug -d
Initial blacklisted packages:
Initial whitelisted packages:
Starting unattended upgrades script
Allowed origins are: ['origin=Debian,n=jessie', 'origin=karme.de,n=jessie']
ignoring ver '<Version: package:'u-boot-sunxi' version:'2016.05+dfsg1-1'>' with 
priority < 0
adjusting candidate version: '<Version: package:'u-boot-sunxi' 
version:'2015.07+dfsg1~karme1-2'>'
Cache has broken packages, exiting
Cache has broken packages, exiting

In the meantime the samba packages were fixed and I would expect
unattended-upgrade to install the new versions.
Unfortunately one has to run apt-get update && apt-get -f upgrade
first, to get it going again.

-- System Information:
Debian Release: 8.4
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: armhf (armv7l)

Kernel: Linux 3.16.0-4-armmp-lpae (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 unattended-upgrades depends on:
ii  apt                    1.0.9.8.3
ii  apt-utils              1.0.9.8.3
ii  debconf [debconf-2.0]  1.5.56
ii  init-system-helpers    1.22
ii  lsb-base               4.1+Debian13+nmu1
ii  lsb-release            4.1+Debian13+nmu1
ii  python3                3.4.2-2
ii  python3-apt            0.9.3.12
ii  ucf                    3.0030
ii  xz-utils               5.1.1alpha+20120614-2+b3

unattended-upgrades recommends no packages.

Versions of packages unattended-upgrades suggests:
ii  bsd-mailx                                  8.1.2-0.20141216cvs-2
ii  exim4-daemon-light [mail-transport-agent]  4.84.2-1

-- Configuration Files:
/etc/apt/apt.conf.d/50unattended-upgrades changed:
// Unattended-Upgrade::Origins-Pattern controls which packages are
// upgraded.
//
// Lines below have the format format is "keyword=value,...".  A
// package will be upgraded only if the values in its metadata match
// all the supplied keywords in a line.  (In other words, omitted
// keywords are wild cards.) The keywords originate from the Release
// file, but several aliases are accepted.  The accepted keywords are:
//   a,archive,suite (eg, "stable")
//   c,component     (eg, "main", "crontrib", "non-free")
//   l,label         (eg, "Debian", "Debian-Security")
//   o,origin        (eg, "Debian", "Unofficial Multimedia Packages")
//   n,codename      (eg, "jessie", "jessie-updates")
//     site          (eg, "http.debian.net")
// The available values on the system are printed by the command
// "apt-cache policy", and can be debugged by running
// "unattended-upgrades -d" and looking at the log file.
//
// Within lines unattended-upgrades allows 2 macros whose values are
// derived from /etc/debian_version:
//   ${distro_id}            Installed origin.
//   ${distro_codename}      Installed codename (eg, "jessie")
Unattended-Upgrade::Origins-Pattern {
        // Codename based matching:
        // This will follow the migration of a release through different
        // archives (e.g. from testing to stable and later oldstable).
//      "o=Debian,n=jessie";
//      "o=Debian,n=jessie-updates";
//      "o=Debian,n=jessie-proposed-updates";
//      "o=Debian,n=jessie,l=Debian-Security";
        // Archive or Suite based matching:
        // Note that this will silently match a different release after
        // migration to the specified archive (e.g. testing becomes the
        // new stable).
//      "o=Debian,a=stable";
//      "o=Debian,a=stable-updates";
//      "o=Debian,a=proposed-updates";
        "origin=Debian,n=${distro_codename}";
        "origin=karme.de,n=${distro_codename}";
};
// List of packages to not update (regexp are supported)
Unattended-Upgrade::Package-Blacklist {
//      "vim";
//      "libc6";
//      "libc6-dev";
//      "libc6-i686";
};
// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run 
//   dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";
// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";
// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";
// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "u...@example.com"
//Unattended-Upgrade::Mail "root";
// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
//Unattended-Upgrade::MailOnlyOnError "true";
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
Unattended-Upgrade::Remove-Unused-Dependencies "true";
// Automatically reboot *WITHOUT CONFIRMATION* if
//  the file /var/run/reboot-required is found after the upgrade 
Unattended-Upgrade::Automatic-Reboot "true";
// If automatic reboot is enabled and needed, reboot at the specific
// time instead of immediately
//  Default: "now"
//Unattended-Upgrade::Automatic-Reboot-Time "02:00";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";


-- debconf information:
* unattended-upgrades/enable_auto_updates: true

Reply via email to