[Piuparts-devel] Bug#458929: piuparts: can't test apt/debfoster and their dependancies

Lucas Nussbaum lucas at lucas-nussbaum.net
Thu Jan 3 18:16:12 UTC 2008


Package: piuparts
Version: 0.28

Hi,

If I run piuparts with --warn-on-others on zlib1g, it will fail in that
way:

0m14.2s DEBUG: Starting command: ['chroot', '/tmp/tmp5tYw8U', 'apt-get', '-y', 'install', 'zlib1g', 'zlib1g-']
0m15.2s DUMP: 
  Reading package lists...
  Building dependency tree...
  Reading state information...
  zlib1g is already the newest version.
  The following packages will be REMOVED:
    apt debian-archive-keyring gnupg gpgv libgnutls13 libldap2 libopencdk10
    util-linux zlib1g
  WARNING: The following essential packages will be removed.
  This should NOT be done unless you know exactly what you are doing!
    apt debian-archive-keyring (due to apt) util-linux zlib1g (due to
    util-linux)
  0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
  Need to get 0B of archives.
  After unpacking 13.5MB disk space will be freed.
  E: There are problems and -y was used without --force-yes
0m15.2s ERROR: Command failed (status=100): ['chroot', '/tmp/tmp5tYw8U', 'apt-get', '-y', 'install', 'zlib1g', 'zlib1g-']
  Reading package lists...
  Building dependency tree...
  Reading state information...
  zlib1g is already the newest version.
  The following packages will be REMOVED:
    apt debian-archive-keyring gnupg gpgv libgnutls13 libldap2 libopencdk10
    util-linux zlib1g
  WARNING: The following essential packages will be removed.
  This should NOT be done unless you know exactly what you are doing!
    apt debian-archive-keyring (due to apt) util-linux zlib1g (due to
    util-linux)
  0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded.
  Need to get 0B of archives.
  After unpacking 13.5MB disk space will be freed.
  E: There are problems and -y was used without --force-yes
  
0m15.2s DEBUG: Starting command: ['chroot', '/tmp/tmp5tYw8U', 'umount', '/proc']

Since we can't do anything about that, it would be great to:
- either detect that the package is already installed, and continue running without trying to "apt-get install package package-".
- or simply detect that case and exit gracefully.
-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Piuparts-devel mailing list