[Bug 2053165] Re: [noble] Version 2.7.5 causes software-properties to crash

Launchpad Bug Tracker 2053165 at bugs.launchpad.net
Thu Feb 15 13:20:55 UTC 2024


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: python-apt (Ubuntu)
       Status: New => Confirmed

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

Title:
  [noble] Version 2.7.5 causes software-properties to crash

Status in python-apt package in Ubuntu:
  Confirmed

Bug description:
  Hi,

  Only since recent 2.7.5 update along with 0.99.42 for software-properties.
  Crash on start-up.

  $ software-properties-gtk 
  Traceback (most recent call last):
    File "/usr/bin/software-properties-gtk", line 100, in <module>
      app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 163, in __init__
      SoftwareProperties.__init__(self, options=options, datadir=datadir,
    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
      self.backup_sourceslist()
    File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 437, in backup_sourceslist
      source_bkp = SourceEntry(line=source.line,file=source.file)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3/dist-packages/aptsources/sourceslist.py", line 509, in __init__
      raise ValueError("Classic SourceEntry cannot be written to .sources file")
  ValueError: Classic SourceEntry cannot be written to .sources file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/2053165/+subscriptions




More information about the foundations-bugs mailing list