ValueError: package does not exist when using ubuntu-bug update-manager

Bug #1878500 reported by Seth Arnold
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Medium
Brian Murray

Bug Description

Hello, while reporting a bug on focal against the update-manager source package, I got an error:

$ ubuntu-bug update-manager-core

*** Collecting problem information

The collected information can be sent to the developers to improve the
application. This might take a few minutes.
.....
*** Is the issue you are reporting one you encountered when upgrading Ubuntu from one release to another?

What would you like to do? Your options are:
  Y: Yes
  N: No
  C: Cancel
Please choose (Y/N/C): n
ERROR: hook /usr/share/apport/package-hooks/source_update-manager.py crashed:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport/report.py", line 225, in _run_hook
    symb['add_info'](report, ui)
  File "/usr/share/apport/package-hooks/source_update-manager.py", line 47, in add_info
    attach_gsettings_package(report, 'update-manager')
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 649, in attach_gsettings_package
    for schema_file in files_in_package(package, '/usr/share/glib-2.0/schemas/*.gschema.xml'):
  File "/usr/lib/python3/dist-packages/apport/hookutils.py", line 595, in files_in_package
    files = packaging.get_files(package)
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 365, in get_files
    list = self._call_dpkg(['-L', package])
  File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 1197, in _call_dpkg
    raise ValueError('package does not exist')
ValueError: package does not exist
...

*** Send problem report to the developers?

After the problem report has been sent, please fill out the form in the
automatically opened web browser.

What would you like to do? Your options are:
  S: Send report (4.8 KB)
  V: View report
  K: Keep report file for sending later or copying to somewhere else
  I: Cancel and ignore future crashes of this program version
  C: Cancel
Please choose (S/V/K/I/C): s

*** Uploading problem information

The collected information is being sent to the bug tracking system.
This might take a few minutes.
0%

*** To continue, you must visit the following URL:

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: update-manager-core 1:20.04.9
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed May 13 23:12:23 2020
PackageArchitecture: all
ProcEnviron:
 TERM=rxvt-unicode-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
UpgradeStatus: Upgraded to focal on 2020-01-24 (110 days ago)

Related branches

Revision history for this message
Seth Arnold (seth-arnold) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote :

What kind of installation was this? Is it a server or desktop?

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Seth Arnold (seth-arnold) wrote :

This is my laptop; I followed Richard Laager's ZFS Root on Ubuntu installation guide a year ago, which starts with using debootstrap, and then installing what you want by hand after that. So, while this system is used as a desktop, it doesn't have many of the usual tasksets installed:

$ tasksel --list-tasks
u kubuntu-live Kubuntu live CD
u lubuntu-live Lubuntu live CD
u ubuntu-budgie-live Ubuntu Budgie live CD
u ubuntu-live Ubuntu live CD
u ubuntu-mate-live Ubuntu MATE Live CD
u ubuntustudio-dvd-live Ubuntu Studio live DVD
u xubuntu-live Xubuntu live CD
u cloud-image Ubuntu Cloud Image (instance)
u dns-server DNS server
u kubuntu-desktop Kubuntu desktop
u lamp-server LAMP server
u lubuntu-desktop Lubuntu Desktop
u mail-server Mail server
u postgresql-server PostgreSQL database
u print-server Print server
u samba-server Samba file server
u ubuntu-budgie-desktop Ubuntu Budgie desktop
u ubuntu-desktop Ubuntu desktop
u ubuntu-desktop-default-languages Ubuntu desktop default languages
u ubuntu-desktop-minimal Ubuntu minimal desktop
u ubuntu-desktop-minimal-default-languages Ubuntu minimal desktop default languages
u ubuntu-mate-core Ubuntu MATE minimal
u ubuntu-mate-desktop Ubuntu MATE desktop
u ubuntustudio-audio Audio recording and editing suite
u ubuntustudio-desktop Ubuntu Studio desktop
u ubuntustudio-desktop-core Ubuntu Studio minimal DE installation
u ubuntustudio-fonts Large selection of font packages
u ubuntustudio-graphics 2D/3D creation and editing suite
u ubuntustudio-photography Photograph touchup and editing suite
u ubuntustudio-publishing Publishing applications
u ubuntustudio-video Video creation and editing suite
u xubuntu-core Xubuntu minimal installation
u xubuntu-desktop Xubuntu desktop
i openssh-server OpenSSH server
u server Basic Ubuntu server

Thanks

Changed in update-manager (Ubuntu):
status: Incomplete → New
Changed in update-manager (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Brian Murray (brian-murray)
summary: - ValueError: package does not exist
+ ValueError: package does not exist when using ubuntu-bug update-manager
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:20.10.1

---------------
update-manager (1:20.10.1) groovy; urgency=medium

  * In the apport hook don't assume the bug is being reported about the
    update-manager package which may not be installed. (LP: #1878500)
  * Resolve pycodestyle E741 issues.

 -- Brian Murray <email address hidden> Thu, 23 Jul 2020 12:50:16 -0700

Changed in update-manager (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers