If there are only comments in the file it will still result in an error:
"E: Unable to parse package file /etc/apt/preferences (1)". In my
opinion apt should handle this file like an empty file in this case.

-- 
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

Reply via email to