[Bug 1902138] Re: Update manager failed by python
shameerariff
1902138 at bugs.launchpad.net
Fri Nov 6 08:00:02 UTC 2020
*** This bug is a duplicate of bug 1415128 ***
https://bugs.launchpad.net/bugs/1415128
** This bug has been marked a duplicate of bug 1415128
Update-manager not launching
--
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/1902138
Title:
Update manager failed by python
Status in python-apt package in Ubuntu:
New
Bug description:
Whenever the update-manager starts,the following error occurs if
software-properties-gtk is opened that also lead to the error which
was listed next to update-manager
$ sudo update-manager
Checking for a new Ubuntu release
authenticate 'groovy.tar.gz' against 'groovy.tar.gz.gpg'
extracting 'groovy.tar.gz'
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeQuirks.py", line 197, in _get_from_and_to_version
di.version('%s' % self.controller.fromDist).split()[0]
AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-9omt7t12/groovy", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeMain.py", line 238, in main
if app.run():
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeController.py", line 2089, in run
return self.fullUpgrade()
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeController.py", line 1926, in fullUpgrade
if not self.doPostInitialUpdate():
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeController.py", line 924, in doPostInitialUpdate
self.quirks.run("PostInitialUpdate")
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeQuirks.py", line 99, in run
func()
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeQuirks.py", line 118, in groovyPostInitialUpdate
self._get_from_and_to_version()
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeQuirks.py", line 203, in _get_from_and_to_version
(r.version for r in di.get_all("object")
AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 477, in add_to_existing
self.write(f)
File "/usr/lib/python3/dist-packages/problem_report.py", line 430, in write
block = f.read(1048576)
File "/usr/lib/python3.8/codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte
Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeQuirks.py", line 197, in _get_from_and_to_version
di.version('%s' % self.controller.fromDist).split()[0]
AttributeError: 'UbuntuDistroInfo' object has no attribute 'version'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-9omt7t12/groovy", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeMain.py", line 238, in main
if app.run():
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeController.py", line 2089, in run
return self.fullUpgrade()
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeController.py", line 1926, in fullUpgrade
if not self.doPostInitialUpdate():
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeController.py", line 924, in doPostInitialUpdate
self.quirks.run("PostInitialUpdate")
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeQuirks.py", line 99, in run
func()
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeQuirks.py", line 118, in groovyPostInitialUpdate
self._get_from_and_to_version()
File "/tmp/ubuntu-release-upgrader-9omt7t12/DistUpgrade/DistUpgradeQuirks.py", line 203, in _get_from_and_to_version
(r.version for r in di.get_all("object")
AttributeError: 'UbuntuDistroInfo' object has no attribute 'get_all'
$ software-properties-gtk
ERROR:dbus.proxies:Introspect error on :1.198:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying
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 211, in __init__
self.backend.Reload();
File "/usr/lib/python3/dist-packages/dbus/proxies.py", line 72, in __call__
return self._proxy_method(*args, **keywords)
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 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.198 was not provided by any .service files
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1902138/+subscriptions
More information about the foundations-bugs
mailing list