Here's the Traceback:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 194, in __getitem__
    return self._weakref[key]
  File "/usr/lib/python3.5/weakref.py", line 131, in __getitem__
    o = self.data[key]()
KeyError: 'ubuntu-desktop'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 198, in __getitem__
    rawpkg = self._cache[key]
KeyError: 'ubuntu-desktop'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmp/ubuntu-release-upgrader-wtsb6vse/bionic", line 8, in <module>
    sys.exit(main())
  File "/tmp/ubuntu-release-upgrader-wtsb6vse/DistUpgrade/DistUpgradeMain.py", 
line 238, in main
    if app.run():
  File 
"/tmp/ubuntu-release-upgrader-wtsb6vse/DistUpgrade/DistUpgradeController.py", 
line 2017, in run
    return self.fullUpgrade()
  File 
"/tmp/ubuntu-release-upgrader-wtsb6vse/DistUpgrade/DistUpgradeController.py", 
line 1863, in fullUpgrade
    if not self.doPostInitialUpdate():
  File 
"/tmp/ubuntu-release-upgrader-wtsb6vse/DistUpgrade/DistUpgradeController.py", 
line 894, in doPostInitialUpdate
    self.quirks.run("PostInitialUpdate")
  File 
"/tmp/ubuntu-release-upgrader-wtsb6vse/DistUpgrade/DistUpgradeQuirks.py", line 
113, in run
    func()
  File 
"/tmp/ubuntu-release-upgrader-wtsb6vse/DistUpgrade/DistUpgradeQuirks.py", line 
132, in bionicPostInitialUpdate
    if self.controller.cache['ubuntu-desktop'].is_installed and \
  File "/usr/lib/python3/dist-packages/apt/cache.py", line 200, in __getitem__
    raise KeyError('The cache has no package named %r' % key)
KeyError: "The cache has no package named 'ubuntu-desktop'"

It's seems strange that 'ubuntu-desktop' wouldn't exist in the cache but
there you go.

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

Title:
  ubuntu-release-upgrader crashed with KeyError: "The cache has no
  package named 'ubuntu-desktop'"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1787668/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to