Package: acpi-support-base
Version: 0.109-11
Severity: normal

I'm not really sure what severity to tag this with, as it resulted in an
accidental shutdown.

Anyways, I recently did an aptitude upgrade on my laptop. Sometime later,
I pressed the power button which I had configured to hibernate. Instead,
it caused a shutdown.  Not good. (And, no, I hadn't said it was ok to
replace /etc/acpi/powerbtn.sh.  I'm not sure where the upgrade was at
that point, but it may have been in the middle of asking me whether it
was ok to replace. After the reboot I see there is a powerbtn.sh.dpkg-dist
and my original script at powerbtn.sh.dpkg-bak. 

I'm guessing this is a funny interaction with the way dpkg handles
config file changes combined with the check in powerbtn-acpi-support.sh
and the existence of a new powerbtn.sh. It seems like a way to fix this
problem would be to put the contents of the new powerbtn.sh into the
fallback portion of powerbtn-acpi-support.sh. (After all that's what it's
there for, isn't it?) 

I was kind of expecting to be able to get dpkg to finish upgrading/configuring
packages but none of {apt-get install, aptitude dist-upgrade, or dpkg
--configure --pending} did anything, so I just moved my old script back by
hand. Now I'm even starting to wonder whether the shutdown actually
happened *during* the upgrade, or whether the upgrade finished and
just left me without a powerbtn.sh.

This may very well just be a fluke, but it would be good to provent it
from happening again when people upgrade from lenny to squeeze.

Ivan


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-ita (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages acpi-support-base depends on:
ii  acpid                    1.0.8-4         Utilities for using ACPI power man
ii  console-tools [console-u 1:0.2.3dbs-65.1 Linux console and font utilities

acpi-support-base recommends no packages.

Versions of packages acpi-support-base suggests:
ii  acpi-support                  0.109-11   scripts for handling many ACPI eve

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to