Package: dpkg
Version: 1.15.3.1
Severity: serious

Hi,

today I noticed something that I consider really serious:
I've started an aptitude purge gimp, without noticing that I had
an aptitude dist-upgrade (waiting for input, because of apt-listchanges)
running in another terminal, which I forgot to finish the day before.
Now would I have expected would be to stop and warn me about
the locked dpkg database.
But in reality aptitude proceeded (with displaying an error!) and
dpkg also proceeded and removed the package.
While still having the dist-upgrade open I can reproduce this:

% sudo dpkg -P
python3.1 
(Reading database ... 260455 files and directories currently installed.)
Removing python3.1 ...
Purging configuration files for python3.1 ...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for desktop-file-utils ...

However I guess that the dpkg status database is locked and
if I remove packages it should therefore not update the
database. But it does:

% dpkg -l python3.1 
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name                 Version              Description
+++-====================-====================-========================================================
pn  python3.1            <none>               (no description available)

Given that I have a dist-upgrade running I fear that my dpkg
database will be inconsistent when this is finished, so this
problem is quiet serious.

Best Regards,
Patrick

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-2-686 (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/bash

Versions of packages dpkg depends on:
ii  coreutils                     7.4-2      The GNU core utilities
ii  libc6                         2.9-21     GNU C Library: Shared libraries
ii  lzma                          4.43-14    Compression method of 7z format in

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.7.21     Advanced front-end for dpkg

-- no debconf information



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

Reply via email to