[Piuparts-devel] Bug#677337: piuparts: [install-upgrade-purge] should call apt-get purge, not apt-get remove and dpkg --purge
Luca Capello
luca at pca.it
Wed Jun 13 10:22:05 UTC 2012
Package: piuparts
Version: 0.44
Severity: important
User: luca at pca.it
Usertags: debian-packaging
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi there!
It seems that Bacula packages are generating a lot of piuparts noise ;-)
piuparts discovered #670427, which has been fixed. However, piuparts
(with the NACK patch at #676694) still reports it, while I am not able
to reproduce it by hand:
=====
(base-sid)root at gismo:/# dpkg-query -W bacula\*
bacula-common 5.2.6+dfsg-1
bacula-common-mysql
bacula-common-pgsql
bacula-common-sqlite3 5.2.6+dfsg-1
bacula-director
bacula-director-common 5.2.6+dfsg-1
bacula-director-sqlite3 5.2.6+dfsg-1
bacula-doc
(base-sid)root at gismo:/# ls /etc/dbconfig-common/
bacula-director-sqlite3.conf config
(base-sid)root at gismo:/# apt-get remove bacula-director-sqlite3
[...]
The following packages were automatically installed and are no longer required:
dbconfig-common sqlite3
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
bacula-director-sqlite3
[...]
(base-sid)root at gismo:/# ls /etc/dbconfig-common/
bacula-director-sqlite3.conf config
(base-sid)root at gismo:/# dpkg --purge bacula-director-sqlite3
(Reading database ... 13599 files and directories currently installed.)
Removing bacula-director-sqlite3 ...
Purging configuration files for bacula-director-sqlite3 ...
(base-sid)root at gismo:/# ls /etc/dbconfig-common/
config
(base-sid)root at gismo:/#
=====
The problem is that piuparts does an `apt-get remove` with all the
dependencies installed for bacula-director-sqlite3, thus dbconfig-common
gets removed *before* bacula-director-sqlite3 is purged. I am not sure
how to solve this except with:
# apt-get remove bacula-director-sqlite3
# dpkg --purge bacula-director-sqlite3
# apt-get autoremove
Piuparts logs are available at:
<http://pkg-bacula.alioth.debian.org/tmp/bacula-director-sqlite3_5.2.6+dfsg-1_amd64.deb.piuparts-0.44>
<http://pkg-bacula.alioth.debian.org/tmp/bacula-director-sqlite3_5.2.6+dfsg-1_amd64.deb.piuparts-Debian676694>
<http://pkg-bacula.alioth.debian.org/tmp/bacula-director-sqlite3_5.2.6+dfsg-1_amd64.deb.piuparts.diff.gz>
Thx, bye,
Gismo / Luca
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.3.0-trunk-amd64 (SMP w/2 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 piuparts depends on:
ii apt 0.9.5.1
ii debootstrap 1.0.40
ii lsb-release 4.1+Debian7
ii lsof 4.86+dfsg-1
ii python 2.7.3~rc2-1
ii python-apt 0.8.4
ii python-debian 0.1.21
ii python-debianbts 1.11
ii python2.6 2.6.7-4
ii python2.7 2.7.3~rc2-2.1
piuparts recommends no packages.
Versions of packages piuparts suggests:
ii ghostscript 9.05~dfsg-6
pn python-rpy <none>
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20120613/b6e3c76d/attachment-0001.pgp>
More information about the Piuparts-devel
mailing list