Bug#102423: no errors on invalid syntax in /etc/apt/preferences
reopen 102423
Previously Jason Gunthorpe wrote:
> As I said, It isn't incorrect, it is an unsupported field, just like any
> other file in that format unsupported fields are ignored. This is so if
> you have to downgrade apt it doesn't break parsing the preferences file.
So make it print a warning that it encountered an unsupported field.
That way you keep downwards compatability while also notifying the
administrator of possible brokeness.
Wichert.
--
_________________________________________________________________
/ Nothing is fool-proof to a sufficiently talented fool \
| wichert@wiggy.net http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0 2805 3CB8 9250 2FA3 BC2D |
Reply to: