[Bug 2058133] Re: [SRU] update-manager crashes when ua security-status response is an error

2024-03-27 Thread Giacomo Massa
Hi Timo and everybody, just tested the proposed package for Jammy
(22.04.4), version 1:22.04.20 and it fixes the bug for me same as it did
applying the patch directly to UpdateManager.py before.

Preliminary:
- reverted UpdateManager.py to its original nonworking state
> bug is present

-updated the package to proposed version, then

Testing procedure:

mv /snap/bin/canonical-livepatch /snap/bin/canonical-livepatch.bak
>/snap/bin/canonical-livepatch printf '%s\n' '#!/bin/sh' 'exit 1'
chmod +x /snap/bin/canonical-livepatch
update-manager -c -d

Results:
software opens, runs and gives results without crashing.

** Tags removed: verification-needed-jammy
** Tags added: verification-done-jammy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2058133

Title:
  [SRU] update-manager crashes when ua security-status response is an
  error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2058133/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2058133] Re: [SRU] update-manager crashes when ua security-status response is an error

2024-03-23 Thread Giacomo Massa
I don't know if this helps but I've tested the patch
https://code.launchpad.net/~nteodosio/update-manager/+git/update-
manager/+ref/jammy-json-to-api for Jammy by nteodosio and it fixes the
problem.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2058133

Title:
  [SRU] update-manager crashes when ua security-status response is an
  error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2058133/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2058133] Re: update-manager crashes when ua security-status response is an error

2024-03-21 Thread Giacomo Massa
Hi Nathan, here is the output from the python3 command as requested:

[UpdateInfo{'download_size': 3590030, 'origin': 'it.archive.ubuntu.com',
'package': 'librados2', 'provided_by': 'standard-updates', 'status':
'upgrade_available', 'version': '17.2.7-0ubuntu0.22.04.1'},
UpdateInfo{'download_size': 3547412, 'origin': 'it.archive.ubuntu.com',
'package': 'librbd1', 'provided_by': 'standard-updates', 'status':
'upgrade_available', 'version': '17.2.7-0ubuntu0.22.04.1'},
UpdateInfo{'download_size': 115463212, 'origin': 'brave-browser-apt-
release.s3.brave.com', 'package': 'brave-browser', 'provided_by':
'standard-updates', 'status': 'upgrade_available', 'version':
'1.64.109'}, UpdateInfo{'download_size': 2412, 'origin':
'it.archive.ubuntu.com', 'package': 'linux-image-oem-22.04c',
'provided_by': 'standard-security', 'status': 'upgrade_available',
'version': '6.1.0.1036.37'}, UpdateInfo{'download_size': 1674, 'origin':
'it.archive.ubuntu.com', 'package': 'linux-modules-ipu6-oem-22.04b',
'provided_by': 'standard-security', 'status': 'upgrade_available',
'version': '6.1.0.1036.37'}, UpdateInfo{'download_size': 2370, 'origin':
'it.archive.ubuntu.com', 'package': 'linux-modules-ipu6-oem-22.04c',
'provided_by': 'standard-security', 'status': 'upgrade_available',
'version': '6.1.0.1036.37'}, UpdateInfo{'download_size': 1654, 'origin':
'it.archive.ubuntu.com', 'package': 'linux-oem-22.04b', 'provided_by':
'standard-security', 'status': 'upgrade_available', 'version':
'6.1.0.1036.37'}, UpdateInfo{'download_size': 1710, 'origin':
'it.archive.ubuntu.com', 'package': 'linux-oem-22.04c', 'provided_by':
'standard-security', 'status': 'upgrade_available', 'version':
'6.1.0.1036.37'}, UpdateInfo{'download_size': 2284, 'origin':
'it.archive.ubuntu.com', 'package': 'linux-headers-oem-22.04c',
'provided_by': 'standard-security', 'status': 'upgrade_available',
'version': '6.1.0.1036.37'}, UpdateInfo{'download_size': 1674, 'origin':
'it.archive.ubuntu.com', 'package': 'linux-modules-ivsc-oem-22.04b',
'provided_by': 'standard-security', 'status': 'upgrade_available',
'version': '6.1.0.1036.37'}, UpdateInfo{'download_size': 2378, 'origin':
'it.archive.ubuntu.com', 'package': 'linux-modules-ivsc-oem-22.04c',
'provided_by': 'standard-security', 'status': 'upgrade_available',
'version': '6.1.0.1036.37'}]

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2058133

Title:
  update-manager crashes when ua security-status response is an error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2058133/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2058133] Re: update-manager applet does exit successfully

2024-03-21 Thread Giacomo Massa
Hi, I've reported duplicate bug 2058158. I post the output of `pro
security-status --format=json` below and attach as text file my ubuntu-
avantage log.

Unexpected error(s) occurred.
For more details, see the log: /var/log/ubuntu-advantage.log
To file a bug run: ubuntu-bug ubuntu-advantage-tools


** Attachment added: "ubuntu-advantage.log"
   
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2058133/+attachment/5757859/+files/ubuntu-advantage.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2058133

Title:
  update-manager applet does exit successfully

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2058133/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2058285] Re: update-manager crashes when started

2024-03-21 Thread Giacomo Massa
Hi, this is the output of `pro security-status --format=json` as
requested:

Unexpected error(s) occurred.
For more details, see the log: /var/log/ubuntu-advantage.log
To file a bug run: ubuntu-bug ubuntu-advantage-tools

I attach the log as text file.

** Attachment added: "ubuntu-advantage.log"
   
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2058285/+attachment/5757855/+files/ubuntu-advantage.log

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2058285

Title:
  update-manager crashes when started

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2058285/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 2058285] [NEW] update-manager crashes when started

2024-03-18 Thread Giacomo Massa
Public bug reported:

When started either via launcher or cli update-manager downloads
informations from sources and crashes when the operation is terminated,
just before showing the package list.

This happens since the update from update-manager version 1:22.04.18 to
1:22.04.19, done yesterday.

Updates via apt or apt-get cli commands work regularly.

Description:Ubuntu 22.04.4 LTS
Release:22.04

Package: update-manager 1:22.04.19

Expected behaviour: after sources' interrogation, the software should
either tell no updates are available or show pending updates.

Observed behaviour: the software checks for updates then crashes before
showing any results.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: update-manager 1:22.04.19
ProcVersionSignature: Ubuntu 6.1.0-1035.35-oem 6.1.78
Uname: Linux 6.1.0-1035-oem x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Mar 18 22:02:14 2024
DistributionChannelDescriptor:
 # This is the distribution channel descriptor for the OEM CDs
 # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
 canonical-oem-somerville-jammy-amd64-20220504-33
InstallationDate: Installed on 2024-01-27 (51 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - 
somerville-jammy-amd64-20220504-33
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: update-manager (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug jammy wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2058285

Title:
  update-manager crashes when started

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/2058285/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs