[Piuparts-devel] Bug#434980: piuparts: /var/lib/apt/extended_states should be ignored

Aníbal Monsalve Salazar anibal at debian.org
Sat Jul 28 04:50:45 UTC 2007


Package: piuparts
Severity: important
Version: 0.23
Tags: patch

>0m58.3s DUMP:
>  dpkg - warning: ignoring request to remove libencode-perl which isn't installed.
>0m58.3s DEBUG: Command ok: ['chroot', '/tmp/tmpj83yf-', 'dpkg', '--purge', 'libencode-perl']
>0m58.3s DEBUG: Starting command: ['chroot', '/tmp/tmpj83yf-', 'dpkg', '--remove', '--pending']
>0m58.4s DEBUG: Command ok: ['chroot', '/tmp/tmpj83yf-', 'dpkg', '--remove', '--pending']
>0m58.4s DEBUG: Starting command: ['chroot', '/tmp/tmpj83yf-', 'dpkg', '--purge', '--pending']
>0m58.4s DEBUG: Command ok: ['chroot', '/tmp/tmpj83yf-', 'dpkg', '--purge', '--pending']
>0m58.4s DEBUG: Starting command: ['chroot', '/tmp/tmpj83yf-', 'dpkg', '--remove', '--pending']
>0m58.4s DEBUG: Command ok: ['chroot', '/tmp/tmpj83yf-', 'dpkg', '--remove', '--pending']
>0m58.4s DEBUG: Starting command: ['chroot', '/tmp/tmpj83yf-', 'umount', '/proc']
>0m58.4s DEBUG: Command ok: ['chroot', '/tmp/tmpj83yf-', 'umount', '/proc']
>0m59.1s ERROR: After purging files have been modified:
>  /var/lib/apt/extended_states   not owned
>
>0m59.1s ERROR: FAIL: Installation and purging test.

The above has been happening lately.

/var/lib/apt/extended_states should be ignored.

>0m59.1s DEBUG: Starting command: ['chroot', '/tmp/tmpj83yf-', 'umount', '/proc']
>0m59.1s DUMP:
>  warning: can't open /etc/mtab: No such file or directory
>  umount: /proc: not mounted
>0m59.1s DEBUG: Command failed (status=1), but ignoring error: ['chroot', '/tmp/tmpj83yf-',
>'umount', '/proc']
>0m59.4s DEBUG: Removed directory tree at /tmp/tmpj83yf-

The following patch fixes this problem.

--- piuparts.py 2007-07-11 06:17:21.000000000 +1000
+++ piuparts.py 2007-07-28 14:25:55.000000000 +1000
@@ -123,6 +123,7 @@
             "/var/cache/debconf/templates.dat",
             "/var/cache/debconf/templates.dat-old",
             "/var/cache/man/index.db",
+            "/var/lib/apt/extended_states",
             "/var/lib/dpkg/available",
             "/var/lib/dpkg/available-old",
             "/var/lib/dpkg/diversions",

Aníbal Monsalve Salazar
-- 
http://v7w.com/anibal
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/piuparts-devel/attachments/20070728/25887098/attachment.pgp 


More information about the Piuparts-devel mailing list