Software and Updates broken in Ubuntu MATE 24.04

Bug #2056546 reported by Brian Bogdan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu MATE
New
Undecided
Unassigned

Bug Description

I am unsure when this actually happened but Software & Updates has stopped working. Here is the error when launching it from Terminal:

xWarning: invalid escape sequence '\.'
  elif re.match("^((ftp)|(http)|(file)|(rsync)|(https))://([a-z]|[A-Z]|[0-9]|:|/|\.|~)+$", uri) == None:
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

I have tried reinstalling the application but I cannot get it to work.

Ubuntu MATE 24.04
kernel 6.8.0-11

Revision history for this message
Brian Bogdan (bbogdan-i) wrote :
description: updated
Revision history for this message
Brian Bogdan (bbogdan-i) wrote :

added file from /var/crash

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.