install_packages and 'hold' in the PACKAGES

Michael Tautschnig mt at debian.org
Sun Oct 10 11:08:35 CEST 2010


Hi Michael,

> Hello,
> Is it possible that the following is valid:
> 
> Index: bin/install_packages
> ===================================================================
> --- bin/install_packages        (revision 6118)
> +++ bin/install_packages        (working copy)
> @@ -184,7 +184,7 @@
>    my $packlist = join(' ',@{$list{$atype}});
> 
>    if ($atype eq "hold") {
> -    my $hold = join " hold\n", @{$list{hold}}, " hold\n";
> +    my $hold = join " hold\n", @{$list{hold}}, "";
>      execute("echo \"$hold\" | $rootcmd $command{hold}");
>      next;
>    }
> 
> According to the "man dpkg" it seems that the last " hold\n" is unnecessary:
> 
> --set-selections
> Set package selections using file read from stdin. This file should be
> in the  format  ’<package>  <state>’,
> where  state  is  one of install, hold, deinstall or purge. Blank
> lines and comment lines beginning with ’#’
> are also permitted.
> 

Thanks a lot for providing this patch and the additional info in further
responses in this thread. Could you also describe which problems this is
causing?

Anyway, I have added your patch to the experimental series; it's included in
4.0~beta2+experimental26. But I guess receiving further information on the
problems caused by this bug will increase the likelihood of the patch making it
into trunk.

Thanks again,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai-devel/attachments/20101010/c5fe9346/attachment.bin 


More information about the linux-fai-devel mailing list