[Bug 2056213] Re: Unable to open Software & Updates

Daniel van Vugt 2056213 at bugs.launchpad.net
Mon Mar 11 02:14:51 UTC 2024


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

Thank you for taking the time to report this bug and helping to make
Ubuntu better. This particular bug has already been reported and is a
duplicate of bug 2053228, so it is being marked as such. Please look at
the other bug report to see if there is any missing information that you
can provide, or to see if there is a workaround for the bug.
Additionally, any further discussion regarding the bug should occur in
the other report. Feel free to continue to report any other bugs you may
find.


** This bug has been marked a duplicate of bug 2053228
   software-properties-gtk does not start

-- 
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/2056213

Title:
  Unable to open Software & Updates

Status in software-properties package in Ubuntu:
  Confirmed

Bug description:
  I receive the error below when trying to open, after update

  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

  ProblemType: Bug
  DistroRelease: Ubuntu 24.04
  Package: software-properties-gtk 0.99.42 [modified: usr/lib/python3/dist-packages/softwareproperties/gtk/DialogMirror.py]
  ProcVersionSignature: Ubuntu 6.8.0-11.11-generic 6.8.0-rc4
  Uname: Linux 6.8.0-11-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.28.0-0ubuntu1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Mar  5 20:42:48 2024
  InstallationDate: Installed on 2023-09-14 (173 days ago)
  InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
  PackageArchitecture: all
  ProcEnviron:
   LANG=en_US.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  SourcePackage: software-properties
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list