Your message dated Tue, 11 Mar 2014 15:09:46 +0000
with message-id <[email protected]>
and subject line Re: Bug#740712: unattended-upgrades: upgrade with 
MinimalSteps=true can remove packages
has caused the Debian Bug report #740712,
regarding unattended-upgrades: upgrade with MinimalSteps=true can remove 
packages
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
740712: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740712
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: unattended-upgrades
Version: 0.79.5+steamos1+bsos1
Severity: wishlist

[I know this is a non-Debian system, but I'm reporting this "upstream"
unattended-upgrades bug to Debian anyway, with Michael Vogt's permission.]

Some SteamOS beta testers have encountered a problematic upgrade
scenario on a system with both SteamOS and Debian repositories enabled.
SteamOS is primarily an amd64 system, but has these additional packages
(and their dependencies) manually added at install time. Even though
nothing technically depends on them, they are considered critical to
system operation (they provide its GUI):

> [INSTALL] libc6:i386
> [INSTALL] libgl1-fglrx-glx:i386
> [INSTALL] libgl1-mesa-dri:i386
> [INSTALL] libgl1-mesa-glx:i386
> [INSTALL] libgl1-nvidia-glx:i386
> [INSTALL] libtxc-dxtn-s2tc0:i386
> [INSTALL] nvidia-vdpau-driver:i386
> [INSTALL] steam:i386
> [INSTALL] steam-launcher:amd64
> [INSTALL] steamos-modeswitch-inhibitor:i386

The only modification between u-a 0.79.5 and 0.79.5+steamos1 is the
addition of this file in apt.conf.d. The +bsosN suffix indicates a build
with no source changes other than debian/changelog, analogous to +bN in
Debian.

> APT::Periodic::Unattended-Upgrade "1";
> APT::Periodic::Download-Upgradeable-Packages "1";
> APT::Periodic::AutocleanInterval "5";
> Unattended-Upgrade::MinimalSteps "true";
> // Automatically upgrade packages from these (origin:archive) pairs
> Unattended-Upgrade::Origins-Pattern {
>       "origin=Valve Software LLC,label=SteamOS";
> };

This update seems to have caused the removal of some of the packages
listed above when applied:

> 2014-02-17 19:59:18,486 INFO Starting unattended upgrades script
> 2014-02-17 19:59:18,486 INFO Allowed origins are:
> ['origin=Debian,archive=stable,label=Debian-Security', 'origin=Valve
> Software LLC,label=SteamOS']
> 2014-02-17 19:59:56,512 INFO Packages that are upgraded:
> apache2.2-bin base-files curl e2fslibs e2fsprogs iceweasel
> initramfs-tools libc-bin libcomerr2 libcurl3 libcurl3-gnutls
> libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386
> libdrm-radeon1 libdrm-radeon1:i386 libdrm2 libdrm2:i386 libqt4-dbus
> libqt4-network libqt4-xml libqtcore4 libqtdbus4 libqtgui4 libss2
> libssl1.0.0 locales multiarch-support openssl qdbus steam-launcher
> steam:i386 steamos-base-files tzdata usbmount valve-bugreporter
> xserver-common xserver-xorg-core
> 2014-02-17 19:59:56,513 INFO Writing dpkg log to
> '/var/log/unattended-upgrades/
> unattended-upgrades dpkg_2014-02-17_19:59:56.512929.log'
> 2014-02-17 20:05:06,717 INFO All upgrades installed

Because the MinimalSteps option was set, the upgrade was broken up into
several transactions - see attached history.log. The problematic ones are:

> Start-Date: 2014-02-17  20:03:24
> Upgrade: libdrm-radeon1:amd64 (2.4.49-2+bsos1, 2.4.52-1+bsos1),
> libdrm-radeon1:i386 (2.4.49-2+bsos1, 2.4.52-1+bsos1)
> Remove: libgl1-mesa-dri:i386 (10.0.1+steamos1+bsos1)
> End-Date: 2014-02-17  20:03:25

and subsequently

> Start-Date: 2014-02-17  20:04:39
> Upgrade: libdrm2:amd64 (2.4.49-2+bsos1, 2.4.52-1+bsos1),
> libdrm2:i386 (2.4.49-2+bsos1, 2.4.52-1+bsos1)
> Remove: libdrm-nouveau2:i386 (2.4.52-1+bsos1),
> libdrm-radeon1:i386 (2.4.52-1+bsos1), libgl1-mesa-glx:i386
> (10.0.1+steamos1+bsos1), libdrm-intel1:i386 (2.4.52-1+bsos1)
> End-Date: 2014-02-17  20:04:46

I was able to reproduce this in a repeatable way by installing
SteamOSDVD.iso (dated 17-Feb-2014 13:17 on the web server, 1024917504
bytes) while disconnected from any network, disabling the ifupdown hooks
and cron job that would normally cause it to run unattended-upgrade, and
running "unattended-upgrade --debug --dry-run".

Michael Vogt has looked into the underlying apt issues, and has patches
for both apt and unattended-upgrades which seem to address this. I'm
looking into whether I can construct a small test-case.

    S

-- System Information:
Distributor ID: SteamOS
Description:    SteamOS 1.0
Release:        1.0
Codename:       alchemist
Architecture: x86_64

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages unattended-upgrades depends on:
ii  apt                    0.9.7.9+deb7u1+bsos1
ii  apt-utils              0.9.7.9+deb7u1+bsos1
ii  debconf [debconf-2.0]  1.5.49+bsos6
ii  lsb-base               4.1+Debian8+deb7u1+bsos7
ii  lsb-release            4.1+Debian8+deb7u1+bsos7
ii  python                 2.7.3-4+deb7u1+bsos6
ii  python-apt             0.8.8.2+bsos7
ii  ucf                    3.0025+nmu3+bsos6
ii  xz-utils               5.1.1alpha+20120614-2+bsos7

unattended-upgrades recommends no packages.

Versions of packages unattended-upgrades suggests:
pn  bsd-mailx             <none>
pn  mail-transport-agent  <none>

-- debconf information:
  unattended-upgrades/enable_auto_updates: false
Start-Date: 2014-02-17  19:59:58
Upgrade: libssl1.0.0:amd64 (1.0.1e-2+deb7u3+bsos1, 1.0.1e-2+deb7u4+bsos1)
End-Date: 2014-02-17  19:59:59

Start-Date: 2014-02-17  20:00:04
Upgrade: base-files:amd64 (7.1wheezy3, 7.1wheezy4+steamos1+bsos1)
End-Date: 2014-02-17  20:00:05

Start-Date: 2014-02-17  20:00:11
Upgrade: initramfs-tools:amd64 (0.113~bpo70+1+bsos5, 
0.115~bpo70+1+steamos1+bsos1)
End-Date: 2014-02-17  20:00:18

Start-Date: 2014-02-17  20:00:24
Upgrade: libc-bin:amd64 (2.17-7+steamos1+bsos1, 2.17-97+steamos1+bsos1)
End-Date: 2014-02-17  20:00:26

Start-Date: 2014-02-17  20:00:32
Upgrade: apache2.2-bin:amd64 (2.2.22-13+bsos7, 2.2.22-13+deb7u1+bsos1)
End-Date: 2014-02-17  20:00:32

Start-Date: 2014-02-17  20:00:41
Upgrade: tzdata:amd64 (2013h-0wheezy1+bsos1, 2013i-0wheezy1+bsos1)
End-Date: 2014-02-17  20:00:42

Start-Date: 2014-02-17  20:00:51
Upgrade: steam-launcher:amd64 (1.0.0.45, 1.0.0.47)
End-Date: 2014-02-17  20:00:52

Start-Date: 2014-02-17  20:01:00
Upgrade: steam:i386 (1.0.0.45, 1.0.0.47)
End-Date: 2014-02-17  20:01:01

Start-Date: 2014-02-17  20:01:09
Upgrade: valve-bugreporter:amd64 (2.11+bsos1, 2.12+bsos1)
End-Date: 2014-02-17  20:01:09

Start-Date: 2014-02-17  20:01:20
Upgrade: xserver-common:amd64 (1.12.4-6+steamos2+bsos1, 1.12.4-6+steamos3+bsos1)
End-Date: 2014-02-17  20:01:20

Start-Date: 2014-02-17  20:01:27
Upgrade: xserver-xorg-core:amd64 (1.12.4-6+steamos2+bsos1, 
1.12.4-6+steamos3+bsos1)
End-Date: 2014-02-17  20:01:27

Start-Date: 2014-02-17  20:01:37
Upgrade: libss2:amd64 (1.42.8-1+bsos1, 1.42.9-3+bsos1)
End-Date: 2014-02-17  20:01:38

Start-Date: 2014-02-17  20:01:51
Upgrade: multiarch-support:amd64 (2.17-7+steamos1+bsos1, 2.17-97+steamos1+bsos1)
End-Date: 2014-02-17  20:01:51

Start-Date: 2014-02-17  20:02:05
Upgrade: libcomerr2:amd64 (1.42.8-1+bsos1, 1.42.9-3+bsos1)
End-Date: 2014-02-17  20:02:05

Start-Date: 2014-02-17  20:02:19
Upgrade: locales:amd64 (2.17-7+steamos1+bsos1, 2.17-97+steamos1+bsos1)
End-Date: 2014-02-17  20:02:22

Start-Date: 2014-02-17  20:02:36
Upgrade: libcurl3-gnutls:amd64 (7.26.0-1+wheezy7+bsos1, 7.26.0-1+wheezy8+bsos1)
End-Date: 2014-02-17  20:02:37

Start-Date: 2014-02-17  20:02:51
Upgrade: usbmount:amd64 (0.0.22+steamos1+bsos1, 0.0.22+steamos2+bsos1)
End-Date: 2014-02-17  20:02:52

Start-Date: 2014-02-17  20:03:06
Upgrade: openssl:amd64 (1.0.1e-2+deb7u3+bsos1, 1.0.1e-2+deb7u4+bsos1)
End-Date: 2014-02-17  20:03:07

Start-Date: 2014-02-17  20:03:24
Upgrade: libdrm-radeon1:amd64 (2.4.49-2+bsos1, 2.4.52-1+bsos1), 
libdrm-radeon1:i386 (2.4.49-2+bsos1, 2.4.52-1+bsos1)
Remove: libgl1-mesa-dri:i386 (10.0.1+steamos1+bsos1)
End-Date: 2014-02-17  20:03:25

Start-Date: 2014-02-17  20:03:40
Upgrade: libdrm-intel1:amd64 (2.4.49-2+bsos1, 2.4.52-1+bsos1), 
libdrm-intel1:i386 (2.4.49-2+bsos1, 2.4.52-1+bsos1)
End-Date: 2014-02-17  20:03:41

Start-Date: 2014-02-17  20:03:54
Upgrade: libcurl3:amd64 (7.26.0-1+wheezy7+bsos1, 7.26.0-1+wheezy8+bsos1), 
curl:amd64 (7.26.0-1+wheezy7+bsos1, 7.26.0-1+wheezy8+bsos1)
End-Date: 2014-02-17  20:03:55

Start-Date: 2014-02-17  20:04:07
Upgrade: e2fsprogs:amd64 (1.42.8-1+bsos1, 1.42.9-3+bsos1), e2fslibs:amd64 
(1.42.8-1+bsos1, 1.42.9-3+bsos1)
End-Date: 2014-02-17  20:04:09

Start-Date: 2014-02-17  20:04:20
Install: steamos-updatelevel:amd64 (89, automatic)
Upgrade: steamos-base-files:amd64 (2.20+bsos1, 2.21+bsos1)
End-Date: 2014-02-17  20:04:21

Start-Date: 2014-02-17  20:04:30
Upgrade: libdrm-nouveau2:amd64 (2.4.49-2+bsos1, 2.4.52-1+bsos1), 
libdrm-nouveau2:i386 (2.4.49-2+bsos1, 2.4.52-1+bsos1)
End-Date: 2014-02-17  20:04:31

Start-Date: 2014-02-17  20:04:39
Upgrade: libdrm2:amd64 (2.4.49-2+bsos1, 2.4.52-1+bsos1), libdrm2:i386 
(2.4.49-2+bsos1, 2.4.52-1+bsos1)
Remove: libdrm-nouveau2:i386 (2.4.52-1+bsos1), libdrm-radeon1:i386 
(2.4.52-1+bsos1), libgl1-mesa-glx:i386 (10.0.1+steamos1+bsos1), 
libdrm-intel1:i386 (2.4.52-1+bsos1)
End-Date: 2014-02-17  20:04:46

Start-Date: 2014-02-17  20:04:53
Install: xulrunner-24.0:amd64 (24.3.0esr-1~deb7u1+bsos1, automatic), 
libmozjs24d:amd64 (24.3.0esr-1~deb7u1+bsos1, automatic)
Upgrade: iceweasel:amd64 (17.0.10esr-1~deb7u1+bsos1, 24.3.0esr-1~deb7u1+bsos1)
End-Date: 2014-02-17  20:04:56

Start-Date: 2014-02-17  20:05:03
Upgrade: libqtdbus4:amd64 (4.8.2+dfsg-11, 4.8.2+dfsg-11+bsos6), qdbus:amd64 
(4.8.2+dfsg-11, 4.8.2+dfsg-11+bsos6), libqt4-network:amd64 (4.8.2+dfsg-11, 
4.8.2+dfsg-11+bsos6), libqt4-dbus:amd64 (4.8.2+dfsg-11, 4.8.2+dfsg-11+bsos6), 
libqtcore4:amd64 (4.8.2+dfsg-11, 4.8.2+dfsg-11+bsos6), libqt4-xml:amd64 
(4.8.2+dfsg-11, 4.8.2+dfsg-11+bsos6), libqtgui4:amd64 (4.8.2+dfsg-11, 
4.8.2+dfsg-11+bsos6)
End-Date: 2014-02-17  20:05:05

--- End Message ---
--- Begin Message ---
Version: 0.82.2

On Tue, 04 Mar 2014 at 10:40:40 +0000, Simon McVittie wrote:
> Michael Vogt has looked into the underlying apt issues, and has patches
> for both apt and unattended-upgrades which seem to address this.

Hopefully fixed in unstable now.

    S

--- End Message ---

Reply via email to