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
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to