Update-manager crashes on 22.10

Asked by Gyurkan Mehmed

I get following error on running update-manager app:

ua: error: unrecognized arguments: security-status --format=jsonTraceback (most recent call last): File "/usr/lib/python3/dist-packages/UpdateManager/backend/InstallBackendAptdaemon.py", line 448, in _on_finished self._action_done(action, File "/usr/lib/python3/dist-packages/UpdateManager/backend/__init__.py", line 365, in _action_done self.window_main.start_available() File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 241, in start_available self.refresh_cache() File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 449, in refresh_cache self._get_ua_security_status() File "/usr/lib/python3/dist-packages/UpdateManager/UpdateManager.py", line 285, in _get_ua_security_status s = json.load(p.stdout) File "/usr/lib/python3.10/json/__init__.py", line 293, in load return loads(fp.read(), File "/usr/lib/python3.10/json/__init__.py", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.10/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.10/json/decoder.py", line 355, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None

I managed to pinpoint the issue to the fact that update-manager is ran as non-root and crashes when invoking ua with arguments 'ua security-status --format=json' which only works if it is ran as root. Anyone else who encountered this issue and with ideas how to resolve that?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Gyurkan Mehmed
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

This seems to be the problem already reported as bug #2002613

Revision history for this message
Gyurkan Mehmed (gm93) said :
#3

yes, I saw this issue, but decided to as as a question. Ok will follow the above issue.