[Piuparts-devel] Piuparts support systemd?

Oleg Gashev oleg at gashev.net
Sun Oct 13 20:31:22 UTC 2013


Hi,

to run piuparts -p pinto_0.89-1_all.deb I get next failures:

...
9m46.8s DEBUG: Starting command: ['chroot', '/tmp/tmpYBTIX7', 'dpkg', 
'--purge', 'pinto']
9m48.5s DUMP:
   (Reading database ... 11267 files and directories currently installed.)
   Removing pinto ...
   Purging configuration files for pinto ...
9m48.5s DEBUG: Command ok: ['chroot', '/tmp/tmpYBTIX7', 'dpkg', 
'--purge', 'pinto']
9m48.5s DEBUG: Starting command: ['chroot', '/tmp/tmpYBTIX7', 'dpkg', 
'--purge', '--pending']
9m48.7s DEBUG: Command ok: ['chroot', '/tmp/tmpYBTIX7', 'dpkg', 
'--purge', '--pending']
9m48.7s DEBUG: Starting command: ['chroot', '/tmp/tmpYBTIX7', 'dpkg', 
'--remove', '--pending']
9m48.8s DEBUG: Command ok: ['chroot', '/tmp/tmpYBTIX7', 'dpkg', 
'--remove', '--pending']
9m48.8s DEBUG: Starting command: ['lsof', '-w', '+D', '/tmp/tmpYBTIX7']
9m49.7s DEBUG: Command failed (status=1), but ignoring error: ['lsof', 
'-w', '+D', '/tmp/tmpYBTIX7']
9m51.4s ERROR: WARN: Broken symlinks:
   /etc/systemd/system/multi-user.target.wants/pinto.service -> 
/lib/systemd/system/pinto.service
9m51.4s DEBUG: Starting command: ['chroot', '/tmp/tmpYBTIX7', 
'dpkg-divert', '--list']
9m51.4s DUMP:
   diversion of /usr/share/man/man1/sh.1.gz to 
/usr/share/man/man1/sh.distrib.1.gz by dash
   diversion of /bin/sh to /bin/sh.distrib by dash
9m51.4s DEBUG: Command ok: ['chroot', '/tmp/tmpYBTIX7', 'dpkg-divert', 
'--list']
9m51.4s DEBUG: Starting command: ['chroot', '/tmp/tmpYBTIX7', 'apt-get', 
'clean']
9m51.5s DEBUG: Command ok: ['chroot', '/tmp/tmpYBTIX7', 'apt-get', 'clean']
9m52.3s ERROR: FAIL: Package purging left files on system:
   /etc/systemd/  not owned
   /etc/systemd/system/   not owned
   /etc/systemd/system/multi-user.target.wants/   not owned
   /etc/systemd/system/multi-user.target.wants/pinto.service -> 
/lib/systemd/system/pinto.service         not owned
   /etc/systemd/system/pinto.service -> /dev/null         not owned
   /var/lib/systemd/      owned by: init-system-helpers
   /var/lib/systemd/deb-systemd-helper-enabled/   not owned
   /var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ 
   not owned
 
/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/pinto.service 
      not owned
   /var/lib/systemd/deb-systemd-helper-enabled/pinto.service.dsh-also 
   not owned
   /var/lib/systemd/deb-systemd-helper-masked/    not owned
   /var/lib/systemd/deb-systemd-helper-masked/pinto.service       not owned

9m52.3s ERROR: FAIL: Installation and purging test.
9m53.2s DEBUG: Starting command: ['chroot', '/tmp/tmpYBTIX7', 'umount', 
'/proc']
9m53.2s DEBUG: Command ok: ['chroot', '/tmp/tmpYBTIX7', 'umount', '/proc']
9m53.2s DEBUG: Starting command: ['rm', '-rf', '--one-file-system', 
'/tmp/tmpYBTIX7']
9m53.6s DEBUG: Command ok: ['rm', '-rf', '--one-file-system', 
'/tmp/tmpYBTIX7']
9m53.6s DEBUG: Removed directory tree at /tmp/tmpYBTIX7

After manual install and purge pinto package, files 
/etc/systemd/system/pinto.service, 
/etc/systemd/system/multi-user.target.wants/pinto.service, 
/var/lib/systemd/deb-systemd-helper-enabled/pinto.service does not exist.

--
Best regards, Oleg Gashev.



More information about the Piuparts-devel mailing list