[Bug 83337] Re: apt preferences file should allow comments (#) (was: [apport] update-manager crashed with SystemError in open())

Julian Andres Klode juliank at ubuntu.com
Wed Nov 23 10:13:48 UTC 2011


Well, a comment without something to comment is not really useful
anyway. If there are actual sections in the file, it works. It expects
the file to be empty or to contain at least one valid section.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/83337

Title:
  apt preferences file should allow comments (#) (was: [apport] update-
  manager crashed with SystemError in open())

Status in “apt” package in Ubuntu:
  Triaged
Status in “apt” package in Debian:
  Fix Released

Bug description:
  Binary package hint: update-manager

  Are comments not allowed in the preferences file.  Simply changing:

  Package: tar
  Pin: version 1.15.1-2ubuntu2
  Pin-Priority: 1000

  to:

  #Package: tar
  #Pin: version 1.15.1-2ubuntu2
  #Pin-Priority: 1000

  seems to have caused this defect.

  ProblemType: Crash
  Date: Sun Feb  4 19:04:37 2007
  DistroRelease: Ubuntu 7.04
  ExecutablePath: /usr/bin/update-manager
  InterpreterPath: /usr/bin/python2.5
  Package: update-manager 0.53.5 [modified: usr/share/pycentral/update-manager/site-packages/UpdateManager/UpdateManager.py]
  ProcCmdline: /usr/bin/python /usr/bin/update-manager
  ProcCwd: /home/brian
  ProcEnviron:
   PATH=/home/brian/bin:/sbin:/bin:/usr/sbin/:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/StarOffice-3.1/linux-x86/bin
   LANG=en_CA.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/update-manager']
  SourcePackage: update-manager
  Uname: Linux pc 2.6.20-4-generic #2 SMP Fri Jan 5 04:31:55 UTC 2007 i686 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/83337/+subscriptions




More information about the foundations-bugs mailing list