groovy to hirsute on arm64: KeyError: 'ubuntu-desktop-rapsi'

Bug #1924793 reported by Andreas Hasenack
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Brian Murray

Bug Description

I did a release-upgrade from groovy to hirsute on my groovy pi4, and got this backtrace:

KeyError: "The cache has no package named 'ubuntu-desktop-rapsi'"
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/", line 477, in add_to_existing
  File "/usr/lib/python3/dist-packages/", line 430, in write
    block =
  File "/usr/lib/python3.8/", 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 "/usr/lib/python3/dist-packages/apt/", line 281, in __getitem__
    rawpkg = self._cache[key]
KeyError: 'ubuntu-desktop-rapsi'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-42aqo0hw/hirsute", line 8, in <module>
  File "/tmp/ubuntu-release-upgrader-42aqo0hw/DistUpgrade/", line 236, in main
  File "/tmp/ubuntu-release-upgrader-42aqo0hw/DistUpgrade/", line 2024, in run
    return self.fullUpgrade()
  File "/tmp/ubuntu-release-upgrader-42aqo0hw/DistUpgrade/", line 2005, in fullUpgrade
  File "/tmp/ubuntu-release-upgrader-42aqo0hw/DistUpgrade/", line 1395, in doPostUpgrade"PostUpgrade")
  File "/tmp/ubuntu-release-upgrader-42aqo0hw/DistUpgrade/", line 99, in run
  File "/tmp/ubuntu-release-upgrader-42aqo0hw/DistUpgrade/", line 146, in hirsutePostUpgrade
    if cache['ubuntu-desktop-rapsi'].is_installed:
  File "/usr/lib/python3/dist-packages/apt/", line 283, in __getitem__
    raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'ubuntu-desktop-rapsi'"

Dave Jones (waveform)
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
Changed in ubuntu-release-upgrader (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:21.04.10

ubuntu-release-upgrader (1:21.04.10) hirsute; urgency=medium

  * DistUpgrade/ look for the proper package name in the
    cache. (LP: #1924793)
  * Run updating mirrors, demotions, and translations.

 -- Brian Murray <email address hidden> Fri, 16 Apr 2021 11:55:36 -0700

Changed in ubuntu-release-upgrader (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