[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#189866: empty lines are the problem



Thanks Martin!

I second the whish and would be good if this can be solved and allow
'#' as comment lines.  This bug is bothering me since years...

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant



Am 2007-04-03 14:35:55, schrieb martin f krafft:
> The problem seems not to be # used for comments, but empty lines.
> 
> If I do this:
> 
>   Package: *
>   Pin: release o=madduck, release a=sid
>   Pin-Priority: 50
> 
>   #Package: mdadm
>   #Pin: release o=madduck, release a=sid
>   #Pin-Priority: 600
>   
>   Package: mplayer
>   Pin: origin www.debian-multimedia.org
>   Pin-Priority: -1
> 
> I get:
> 
>   E: Invalid record in the preferences file, no Package header
> 
> If I comment either of the empty lines, it works. Note that the
> problem only exists with a commented block, i.e. multiple empty
> lines in a row are otherwise okay.
> 
> -- 
>  .''`.   martin f. krafft <madduck@debian.org>
> : :'  :  proud Debian developer, author, administrator, and user
> `. `'`   http://people.debian.org/~madduck - http://debiansystem.info
>   `-  Debian - when you have better things to do than fixing systems


------------------------- END OF REPLIED MESSAGE -------------------------





-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: