[Piuparts-devel] Bug#443641: Bug#443641: piuparts: UnboundLocalError: local variable 'deps_info' referenced before assignment

John Wright jsw at debian.org
Sun Sep 23 04:54:24 UTC 2007


On Sun, Sep 23, 2007 at 02:22:10PM +1000, Aníbal Monsalve Salazar wrote:
> Package: piuparts
> Severity: serious
> Version: 0.27
> 
> After upgrading piuparts today, it dies as so:
> 
> 3m32.9s DUMP:
>   (Reading database ... 5051 files and directories currently installed.)
>   Removing screenkast ...
>   Purging configuration files for screenkast ...
> 3m32.9s DEBUG: Command ok: ['chroot', '/tmp/tmpZuDmDw', 'dpkg', '--purge', 'screenkast']
> 3m32.9s DEBUG: Starting command: ['chroot', '/tmp/tmpZuDmDw', 'dpkg', '--remove', '--pending']
> 3m32.9s DEBUG: Command ok: ['chroot', '/tmp/tmpZuDmDw', 'dpkg', '--remove', '--pending']
> 3m32.9s DEBUG: Starting command: ['chroot', '/tmp/tmpZuDmDw', 'dpkg', '--purge', '--pending']
> 3m33.0s DEBUG: Command ok: ['chroot', '/tmp/tmpZuDmDw', 'dpkg', '--purge', '--pending']
> 3m33.0s DEBUG: Starting command: ['chroot', '/tmp/tmpZuDmDw', 'dpkg', '--remove', '--pending']
> 3m33.0s DEBUG: Command ok: ['chroot', '/tmp/tmpZuDmDw', 'dpkg', '--remove', '--pending']
> 3m33.0s DEBUG: Starting command: ['chroot', '/tmp/tmpZuDmDw', 'umount', '/proc']
> 3m33.0s DEBUG: Command ok: ['chroot', '/tmp/tmpZuDmDw', 'umount', '/proc']
> Traceback (most recent call last):
>   File "/usr/sbin/piuparts", line 1471, in ?
>     main()
>   File "/usr/sbin/piuparts", line 1436, in main
>     args, packages):
>   File "/usr/sbin/piuparts", line 1050, in install_purge_test
>     return check_results(chroot, root_info, file_owners, deps_info=deps_info)
> UnboundLocalError: local variable 'deps_info' referenced before assignment

Agh!  This is my fault.  I tested with and without --warn-on-others, but
apparently I didn't test without --apt.  I'm about to commit the fix.

Sorry about that.

-- 
John Wright <jsw at debian.org>





More information about the Piuparts-devel mailing list