Re: Some questions about piuparts
2009/6/26 Lars Wirzenius <firstname.lastname@example.org>:
> pe, 2009-06-26 kello 16:09 +1930, Rafael Leon kirjoitti:
>> I'm developing a lot of Debian packages to my company, obviously using
>> Debian. To test the integrity of the packages, first I tested them
>> with Lintian tools, then I test the packages with piuparts. But in
>> this step I have a questions about the piuparts's logs. At the end of
>> the log piuparts show me this message:
>> " 1 not fully installed or removed.
>> E: Packages need to be removed but remove is disabled. "
>> but, before piuparts say:
>> "DEBUG: Starting command: ['chroot', '/tmp/tmpY1bOcF', 'apt-get',
>> '-yf', '--no-remove', 'install']"
>> with the flags --no-remove
>> My question is: This is normal, this error is a real error or it is a
>> DEBUG label ?
> The "DEBUG:" label just indicates the logging level piuparts is using.
> It is normal for piuparts to use --no-remove when running apt-get, not
> doing so caused various kinds of problems.
> Without knowing what else is going on, it is not possible to know
> whether the packages you are testing are OK or not. Does piuparts report
> anything as FAIL or PASS?
In the log file only report DEBUG, DUMP, INFO labes, and a pair of
ERROR labels. I don't see FAIL or PASS labels. I paste the end part
of the log file.
2m11.2s ERROR: Command failed (status=100): ['chroot',
'/tmp/tmpwOOboA', 'apt-get', '-yf', '--no-remove'
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following packages were automatically installed and are no
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
The following packages will be REMOVED:
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 1 to remove and 6 not upgraded.
1 not fully installed or removed.
E: Packages need to be removed but remove is disabled.
2m11.2s DEBUG: Starting command: ['chroot', '/tmp/tmpwOOboA', 'umount', '/proc']
2m11.3s DEBUG: Command ok: ['chroot', '/tmp/tmpwOOboA', 'umount', '/proc']
2m11.5s DEBUG: Removed directory tree at /tmp/tmpwOOboA