[Piuparts-devel] Bug#784218: piuparts: Please document how to test upgrades of split packages

Fabian Greffrath fabian+debian at greffrath.com
Mon May 4 07:36:43 UTC 2015

Package: piuparts
Version: 0.63
Severity: wishlist

Hi there,

this is more or less a request to add documentation for a specific use
case, because I believe if am using piuparts wrong.

I maintain a package "game" that is already in Debian unstable in
version 1.0-1. For the next upload, I have decided to split the
package into three, namely "game", "game-variant" and "game-data". The
former two are two variants of the game, whereas the latter contains
the common files for both variants. In the course of this split,
new Depends, Breaks and Replaces relations have been added as
(believed) appropriate and there are also some alternatives (for
the two different implementations of "game") that need to get managed
upon upgrade. You see, this is a mess. ;)

Now, if I want to test the upgrade path "game (sid) -> game + game-variant +
game-data", how would I invoke piuparts? Passing it only the .changes file
of my local build will only install and remove these three packages.
The upgrade is not performed, because two of these packages are not
found in the Debian archive. What I want to test is (1) install the
"game" package from sid and (2) upgrade to the packages given in the
.changes file. How do I achieve this?

Thank you very much!

 - Fabian

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'experimental'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages piuparts depends on:
ii  debootstrap      1.0.67
ii  debsums          2.0.53
ii  dpkg             1.17.25
ii  lsb-release      4.1+Debian13+nmu1
ii  lsof             4.86+dfsg-1
ii  piuparts-common  0.63
ii  python-debian    0.1.27
pn  python:any       <none>

Versions of packages piuparts recommends:
ii  adequate  0.12.1

Versions of packages piuparts suggests:
pn  schroot  <none>

-- no debconf information

More information about the Piuparts-devel mailing list