ubuntu-bug crashes when there's no sources.list
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
$ ubuntu-bug apport
*** 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(progress, rootdir='/')
File "/usr/lib/
self.
File "/usr/lib/
open(rootdir + f, "w").close()
IOError: [Errno 13] Permission denied: '//etc/
If I run it with sudo, then it makes a zero-byte sources.list file. The reason we don't have a sources.list is that puppet manages the files in /etc/apt/
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: apport 2.0.1-0ubuntu17.6
ProcVersionSign
Uname: Linux 3.8.0-42-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
CrashReports: 640:3276:
Date: Wed Jul 16 11:46:54 2014
MarkForUpload: True
PackageArchitec
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)
This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.