/usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@163:add_source_from_shortcut:set_modified_sourceslist:save_sourceslist:backup:copy:copyfile
Bug #1365759 reported by
errors.ubuntu.com bug bridge
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
The Ubuntu Error Tracker has been receiving reports about a problem regarding software-
Changed in software-properties (Ubuntu): | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Traceback:
Traceback (most recent call last): apt-add- repository" , line 163, in <module> source_ from_shortcut( shortcut, options. enable_ source) : python3/ dist-packages/ softwarepropert ies/SoftwarePro perties. py", line 750, in add_source_ from_shortcut set_modified_ sourceslist( ) python3/ dist-packages/ softwarepropert ies/SoftwarePro perties. py", line 484, in set_modified_ sourceslist save_sourceslis t() python3/ dist-packages/ softwarepropert ies/SoftwarePro perties. py", line 649, in save_sourceslist sourceslist. backup( ".save" ) python3/ dist-packages/ aptsources/ sourceslist. py", line 383, in backup copy(source. file, "%s%s" % (source.file, backup_ext)) python3. 4/shutil. py", line 228, in copy symlinks= follow_ symlinks) python3. 4/shutil. py", line 108, in copyfile sources. list.save'
File "/usr/bin/
if not sp.add_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
shutil.
File "/usr/lib/
copyfile(src, dst, follow_
File "/usr/lib/
with open(dst, 'wb') as fdst:
OSError: [Errno 30] Read-only file system: '/etc/apt/