Several python errors when updating/upgrading. Started after upgrading to 24.04.

Bug #2072792 reported by David Lamont
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

Bug Description

File "/usr/share/appgrid/appdata.py", line 167, in <module>
    rebuild_db()
  File "/usr/share/appgrid/appdata.py", line 62, in rebuild_db
    for pkgname in get_apt_pkgnames():
                   ^^^^^^^^^^^^^^^^^^
  File "/usr/share/appgrid/appdata/apps/aptapp.py", line 250, in get_apt_pkgnames
    is_digits(ij.split(base)[1])) or
              ^^^^^^^^^^^^^^
ValueError: empty separator
Traceback (most recent call last):
                                    File "/usr/share/appgrid/appdata.py", line 167, in <module>
                                                                                                   rebuild_db()
                                                                                                                 File "/usr/share/appgrid/appdata.py", line 62, in rebuild_db
                   for pkgname in get_apt_pkgnames():
                                                                        ^^^^^^^^^^^^^^^^^^
                                                                                            File "/usr/share/appgrid/appdata/apps/aptapp.py", line 250, in get_apt_pkgnames
                 is_digits(ij.split(base)[1])) or
                                                               ^^^^^^^^^^^^^^
                                                                             ValueError: empty separator
                                                                                                        dpkg: error processing package appgrid (--configure):
 installed appgrid package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 appgrid
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: ubuntu-release-upgrader-core 1:24.04.18 [origin: unknown]
ProcVersionSignature: Ubuntu 6.8.0-36.36-generic 6.8.4
Uname: Linux 6.8.0-36-generic x86_64
ApportVersion: 2.28.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CrashDB: ubuntu
CurrentDesktop: X-Cinnamon
Date: Thu Jul 11 14:26:25 2024
InstallationDate: Installed on 2023-12-19 (205 days ago)
InstallationMedia: Xubuntu 22.04.3 LTS "Jammy Jellyfish" - Release amd64 (20230807.1)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
Symptom: ubuntu-release-upgrader
UpgradeStatus: Upgraded to noble on 2024-06-15 (26 days ago)
VarLogDistupgradeXorgFixuplog:
 INFO:root:/usr/bin/do-release-upgrade running
 INFO:root:No xorg.conf, exiting

Revision history for this message
David Lamont (dlamont614) wrote :
Revision history for this message
David Lamont (dlamont614) wrote :

Don't know why it was happening, but it was only for the App Grid app. I hardly use it anyway, so I deleted it. Error gone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.