[7759] in testers
Athena 10 auto-update can remove openafs-modules-generic
daemon@ATHENA.MIT.EDU (ghudson@MIT.EDU)
Tue Oct 28 10:54:12 2008
Date: Tue, 28 Oct 2008 10:50:45 -0400 (EDT)
From: ghudson@MIT.EDU
Message-Id: <200810281450.m9SEojbF021058@outgoing.mit.edu>
To: testers@mit.edu, athena10@mit.edu
I've been running debathena-auto-update on my primary work machine
since I wrote it. After the power outage today I discovered that two
weeks ago it had decided (via aptitude) to remove
openafs-modules-generic in order to force an update of the kernel. A
partial log is attached.
It's unfortunate that it's hard to tell aptitude "run without
confirmation, but only if you can succeed without de-installing any
software," so right now we're relying on some special-case checks.
The auto-update script lives in
debathena/config/auto-update/debian/athena-auto-update. On line 133
we have a check to make sure that aptitude doesn't want to remove the
Debathena metapackage (e.g. debathena-workstation):
result=$(aptitude search "~S~VTARGET~n^$metapackage\$")
if [ -z "$result" ]; then
A similar check would work to ensure that openafs-modules-generic
isn't being removed. To be fully generic, the update script would
have to discover which openafs-modules metapackage is installed; but
since the primary application is cluster machines running on Ubuntu,
it would probably be sufficient to check whether
openafs-modules-generic is installed before the update and, if so,
ensure that it would still be installed after.
-----
** Beginning Athena auto-update at Tue Oct 14 20:44:19 EDT 2008
** Running: aptitude --quiet --assume-yes --download-only full-upgrade
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Building tag database...
The following packages are BROKEN:
openafs-modules-generic
The following packages are unused and will be REMOVED:
linux-headers-2.6.24-19 linux-headers-2.6.24-19-generic
The following NEW packages will be automatically installed:
linux-headers-2.6.24-21 linux-headers-2.6.24-21-generic
linux-image-2.6.24-21-generic
The following NEW packages will be installed:
linux-headers-2.6.24-21 linux-headers-2.6.24-21-generic
linux-image-2.6.24-21-generic linux-restricted-modules-2.6.24-21-generic
linux-ubuntu-modules-2.6.24-21-generic
The following packages will be upgraded:
linux-generic linux-headers-generic linux-image-generic linux-libc-dev
linux-restricted-modules-common linux-restricted-modules-generic
6 packages upgraded, 5 newly installed, 2 to remove and 0 not upgraded.
Need to get 48.2MB of archives. After unpacking 149MB will be used.
The following packages have unmet dependencies:
openafs-modules-generic: Depends: linux-image-generic (= 2.6.24.19.21) but 2.6.24.21.23 is to be installed.
Resolving dependencies...
The following actions will resolve these dependencies:
Remove the following packages:
openafs-modules-generic
Score is 121
[...]