[Bug 619107] Re: add-apt-repository crashed with IOError in save()

Robert Roth evfool at gmail.com
Sat Oct 15 13:47:20 UTC 2011


*** This bug is a duplicate of bug 623389 ***
    https://bugs.launchpad.net/bugs/623389

** This bug is no longer a duplicate of private bug 624966
** This bug has been marked a duplicate of bug 623389
   add-apt-repository error in Ubuntu 10.10

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

Title:
  add-apt-repository crashed with IOError in save()

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

Bug description:
  Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 65, in <module>
      if not sp.add_source_from_line(line):
    File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 639, in add_source_from_line
      self.set_modified_sourceslist()
    File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 425, in set_modified_sourceslist
      self.save_sourceslist()
    File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 589, in save_sourceslist
      self.sourceslist.save()
    File "/usr/lib/python2.6/dist-packages/aptsources/sourceslist.py", line 367, in save
      files[source.file] = open(source.file, "w")
  IOError: [Errno 2] No such file or directory: u'/etc/apt/sources.list.d//ricotz-testing-maverick.list'

  ProblemType: Crash
  DistroRelease: Ubuntu 10.10
  Package: python-software-properties 0.76
  ProcVersionSignature: Ubuntu 2.6.35-15.21-generic 2.6.35.1
  Uname: Linux 2.6.35-15-generic x86_64
  NonfreeKernelModules: nvidia wl
  Architecture: amd64
  Date: Tue Aug 17 11:05:10 2010
  ExecutablePath: /usr/bin/add-apt-repository
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  InterpreterPath: /usr/bin/python2.6
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/add-apt-repository ppa:ricotz/testing
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  PythonArgs: ['/usr/bin/add-apt-repository', 'ppa:ricotz/testing']
  SourcePackage: software-properties
  Title: add-apt-repository crashed with IOError in save()
  UserGroups:

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




More information about the foundations-bugs mailing list