[Piuparts-devel] Bug#638832: piuparts: logcheck test doesn't work on Ubuntu, where adduser is already installed

Stefano Rivera stefanor at debian.org
Sat Aug 20 09:34:04 UTC 2011

Package: piuparts
Version: 0.40
Severity: normal
Tags: patch

The "crude hack" for installing and removing logrotate breaks with an
Ubuntu chroot, where adduser will already be installed.

Here's a replacement for the hack.

It changes the order that logrotate is removed in. I assume that isn't a

Another possible option is to use apt-get's --auto-remove, but I don't
know how good an idea that would be in the cleanup function.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages piuparts depends on:
ii  apt                    Advanced front-end for dpkg
ii  debootstrap                1.0.35        Bootstrap a basic Debian system
ii  lsb-release                3.2-27        Linux Standard Base version report
ii  lsof                       4.81.dfsg.1-1 List open files
ii  python                     2.6.7-3       interactive high-level object-orie
ii  python-debian              0.1.21        Python modules to work with Debian
ii  python-support             1.0.14        automated rebuilding support for P

piuparts recommends no packages.

Versions of packages piuparts suggests:
ii  ghostscript                  9.02~dfsg-3 interpreter for the PostScript lan
pn  python-rpy                   <none>      (no description available)

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logrotate-hack-cleanup.patch
Type: text/x-diff
Size: 2454 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20110820/9d0b1114/attachment.patch>

More information about the Piuparts-devel mailing list