← Back to team overview

touch-packages team mailing list archive

[Bug 1365759] Re: /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-repository@163:add_source_from_shortcut:set_modified_sourceslist:save_sourceslist:backup:copy:copyfile

 

Traceback:

Traceback (most recent call last):
  File "/usr/bin/apt-add-repository", line 163, in <module>
    if not sp.add_source_from_shortcut(shortcut, options.enable_source):
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 750, in add_source_from_shortcut
    self.set_modified_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 484, in set_modified_sourceslist
    self.save_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 649, in save_sourceslist
    self.sourceslist.backup(".save")
  File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 383, in backup
    shutil.copy(source.file, "%s%s" % (source.file, backup_ext))
  File "/usr/lib/python3.4/shutil.py", line 228, in copy
    copyfile(src, dst, follow_symlinks=follow_symlinks)
  File "/usr/lib/python3.4/shutil.py", line 108, in copyfile
    with open(dst, 'wb') as fdst:
OSError: [Errno 30] Read-only file system: '/etc/apt/sources.list.save'

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to software-properties in
Ubuntu.
https://bugs.launchpad.net/bugs/1365759

Title:
  /usr/bin/add-apt-repository:OSError:/usr/bin/add-apt-
  repository@163:add_source_from_shortcut:set_modified_sourceslist:save_sourceslist:backup:copy:copyfile

Status in “software-properties” package in Ubuntu:
  New

Bug description:
  The Ubuntu Error Tracker has been receiving reports about a problem
  regarding software-properties.  This problem was most recently seen
  with version 0.92.37.1, the problem page at
  https://errors.ubuntu.com/problem/2b8bba9b95a33d09f53d20dbb0664e85d407d788
  contains more details.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1365759/+subscriptions


References