add-apt-repository creates read-only sources.list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Undecided
|
Michael Vogt |
Bug Description
by default `sudo add-apt-repository ppa:username` creates a file /etc/apt/
this causes all non-superuser run apps that legitimately probe the contents of /etc/apt/
e.g.,
$ apport-cli -f -p python-
*** Collecting problem information
The collected information can be sent to the developers to improve the
application. This might take a few minutes.
Traceback (most recent call last):
File "/usr/bin/
if not app.run_argv():
File "/usr/lib/
return self.run_
File "/usr/lib/
self.
File "/usr/lib/
icthread.
File "/usr/lib/
self._retval = self.__
File "/usr/lib/
report.
File "/usr/lib/
version = packaging.
File "/usr/lib/
pkg = self._apt_
File "/usr/lib/
return self._cache(
File "/usr/lib/
self._apt_cache = apt.Cache()
File "/usr/lib/
self.
File "/usr/lib/
self._cache = apt_pkg.
SystemError: E:Opening /etc/apt/
add-apt-repository should be updated to ensure the resulting apt source files have been treated to a `chmod a+r username-
ProblemType: Bug
Architecture: i386
Date: Wed Jul 15 13:30:55 2009
DistroRelease: Ubuntu 9.10
Package: python-
PackageArchitec
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_GB.UTF-8
ProcVersionSign
SourcePackage: software-properties
Uname: Linux 2.6.31-3-generic i686
Related branches
- No reviews requested
Changed in software-properties (Ubuntu): | |
assignee: | nobody → Michael Vogt (mvo) |
status: | New → Fix Committed |
description: | updated |
Thanks for taking the time to report this bug and helping to make Ubuntu better. I tried recreating this using python- software- properties version 0.75 in Karmic but was unsuccessful. The file was created with '-rw-r--r-- ' permissions. Additionally, I tried executing apport-cli for that package and it did not crash for me. Is there any other information that you can provide that would help us recreate the bug report? Thanks in advance.