[Pkg-uml-pkgs] Bug#372901: problem with setting multiple blocks in /etc/apt/preferences

Andreas Beckmann debian at abeckmann.de
Wed Sep 20 11:03:47 UTC 2006


Sven Mueller wrote:

>>> yes, for this reason I'd prefer using a dot-only line used as separator,
In rootstrap.conf this would be actually a line consisting of
<space><dot> since it's a continuation line.

> I wouldn't require that. aptitude/apt-get etc. are working quite nicely
> with empty lines between blocks in /etc/apt/preferences, so
We are not discussing changing /etc/apt/preferences, but how to embed an
/etc/apt/preferences into /etc/rootstrap/rootstrap.conf.
Since ConfigParser.py skips empty lines, a solution is needed to
'encode' the empty line somehow and to 'decode' it to an empty line when
creating the apt/preferences in the uml image.


Andreas




More information about the Pkg-uml-pkgs mailing list