[Bug 2059796] Re: Other Software > Remove button doesn't work
Nathan Teodosio
2059796 at bugs.launchpad.net
Mon Apr 8 17:22:20 UTC 2024
I had killed the authentication agent and forgot to bring it back, so my
last comment conclusion is wrong.
The incorrect behavior does seem to be tied to deb822; for .source files
the exception being suppressed is
--->
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 1158, in on_remove_clicked
self.backend.RemoveSource(str(source_entry))
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 141, in __call__
return self._connection.call_blocking(self._named_service,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/dbus/connection.py", line 634, in call_blocking
reply_message = self.send_message_with_reply_and_block(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.ValueError: Traceback (most recent call last):
File "/lib/python3/dist-packages/dbus/service.py", line 712, in _message_cb
retval = candidate_method(self, *args, **keywords)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/lib/python3/dist-packages/softwareproperties/dbus/SoftwarePropertiesDBus.py", line 285, in RemoveSource
self.remove_source(_to_unicode(source))
File "/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 779, in remove_source
self.remove_source(source, True)
File "/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 781, in remove_source
self.remove_source(source, False)
File "/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 802, in remove_source
self.sourceslist.list.append(SourceEntry("", file=source.file))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/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
<---
--
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/2059796
Title:
Other Software > Remove button doesn't work
Status in software-properties package in Ubuntu:
Triaged
Bug description:
Test Case
---------
- Add a PPA
- Open the Software & Updates tab
- Switch to the Other Software tab
- Select the PPA line and click Remove
- After Authentication, nothing happens.
No error is emitted to the command line. The repo line still shows.
The repo is still in /etc/apt/sources.list.d/
ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: software-properties-gtk 0.99.44
ProcVersionSignature: Ubuntu 6.8.0-20.20-generic 6.8.1
Uname: Linux 6.8.0-20-generic x86_64
NonfreeKernelModules: zfs
ApportVersion: 2.28.0-0ubuntu1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Fri Mar 29 12:06:07 2024
InstallationDate: Installed on 2022-04-06 (723 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Daily amd64 (20220405)
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: Upgraded to noble on 2023-12-09 (111 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2059796/+subscriptions
More information about the foundations-bugs
mailing list