This has regressed: % cat /etc/apt/preferences #test
% apt-get source apt Reading package lists... Done E: Unable to parse package file /etc/apt/preferences (1) The man page tells that "Explanation: " would work for commenting package sections (and "//" does appear to work the same), but it requires a Package header then anyway (otherwise it results in "E: Invalid record in the preferences file /etc/apt/preferences, no Package header"). ** Changed in: apt (Ubuntu) Status: Fix Released => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/83337 Title: apt preferences file should allow comments (#) (was: [apport] update- manager crashed with SystemError in open()) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/83337/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs