[Piuparts-devel] Bug#676694: piuparts: [install-upgrade] should first install from distribution

Luca Capello luca at pca.it
Fri Jun 8 21:17:14 UTC 2012

Package: piuparts
Version: 0.44
Severity: normal
File: /usr/sbin/piuparts
Tags: patch
Usertags: debian-packaging
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi there!

I tried to look at the piuparts documentation, but I was unable to find
a solution to the problem below, so I am sorry if it is a mistake from
my side.

When doing an install-upgrade test, the apt-get package installation
should be forced from the first distribution set via -d (using the
apt-get -t option).  Otherwise, if the package being tested depends on
the same binary version of other packages, then installation from
official sources is not possible.  Git patch attached.

I encountered this bug while testing the new bacula-console package,
which depends on "bacula-common (= ${binary:Version})".  I setup a local
APT repository (managed via mini-dinstall and bindmounted in the
pbuilder chroot) for the packages to be tested.  But after installation,
piuparts always resolved the problem removing bacula-console instead of
installing the new bacula-common version.

Piuparts logs are available upon request or simply grab the testing
package at <http://pkg-bacula.alioth.debian.org/tmp/> ;-)

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     
ii  debootstrap       1.0.40
ii  lsb-release       4.1+Debian6
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: 0001-piuparts.py-install-from-distribution-before-upgradi.patch
Type: text/x-diff
Size: 1161 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20120608/909559eb/attachment.patch>
-------------- 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/20120608/909559eb/attachment.pgp>

More information about the Piuparts-devel mailing list