[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#800499: marked as done (SystemError on unreadable files in sources.list.d)



Your message dated Wed, 30 Sep 2015 10:17:39 +0200
with message-id <560B9AA3.2090607@ubuntu.com>
and subject line duplicate bug filing, closing one
has caused the Debian Bug report #800499,
regarding SystemError on unreadable files in sources.list.d
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
800499: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800499
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: python-apt
Version: 1.1.0~alpha3

Test case:
- sudo touch /etc/apt/sources.list.d/bug.list
- sudo chmod 770 /etc/apt/sources.list.d/bug.list
- python -c "import apt; apt.Cache()"

That triggers a SystemError

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 113, in
__init__
    self.open(progress)
  File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 164, in open
    self._cache = apt_pkg.Cache(progress)
SystemError: E:Opening /etc/apt/sources.list.d/bugs.list -
ifstream::ifstream (13: Permission denied), E:The list of sources could
not be read., E:The package lists or status file could not be parsed or
opened.

The issue is hit sometimes by oneconf users on Ubuntu, see e.g
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1323586

--- End Message ---
--- Begin Message ---
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800500

--- End Message ---

Reply to: