[Bug 746625] Re: SystemError: E:Opening /etc/apt/sources.list.d/private-ppa.launchpad.<something>list - ifstream::ifstream (13: Permission denied)

Matthew Paul Thomas mpt at canonical.com
Fri Sep 16 16:14:15 UTC 2011


I reported the equivalent bug for Ubuntu Software Center as bug 852003.

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

Title:
  SystemError: E:Opening /etc/apt/sources.list.d/private-
  ppa.launchpad.<something>list - ifstream::ifstream (13: Permission
  denied)

Status in “apt” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: python-apt

  When creating a Cache instance with:

  cache = apt.Cache()

  if any of the sources file is not readable by the current user, we get
  this trace:

     cache = apt.Cache()
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 88, in __init__
      self.open(progress)
    File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 130, in open
      self._list.read_main_list()
  SystemError: E:Opening /etc/apt/sources.list.d/private-ppa.launchpad_<something>.list - ifstream::ifstream (13: Permission denied)

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: python-apt 0.7.100.2ubuntu2
  ProcVersionSignature: Ubuntu 2.6.38-7.39-generic 2.6.38
  Uname: Linux 2.6.38-7-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Thu Mar 31 15:09:10 2011
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python-apt
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list