[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-29 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-release-upgrader - 1:18.04.25 --- ubuntu-release-upgrader (1:18.04.25) bionic; urgency=medium * DistUpgradeQuirks.py: if ubuntu-desktop or snapd isn't in the package cache don't try and run the quirk for installing or upgrading snaps.

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-29 Thread Frank Heimes
** Changed in: ubuntu-z-systems Status: In Progress => Fix Committed -- 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

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-29 Thread Brian Murray
I went ahead and tested an upgrade from Ubuntu 16.04 to Ubuntu 18.04 using the release upgrader from -proposed without hacking the packages in the cache to ensure that the deb2snap migration (per Adam's suggestion) was still done. In /var/log/dist-upgrade/main.log we can see the following: 2018-08

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-29 Thread Dimitri John Ledkov
I've tried normal do-release-upgrade xenial->bionic and it fails with keyerror on s390x. Using the proposed upgrader, the upgrade is succeeding and starts the upgrade transaction correctly on s390x. Therefore from s390x point of view this is fixed. -- You received this bug notification because

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-29 Thread Adam Conrad
Hello errors.ubuntu.com, or anyone else affected, Accepted ubuntu-release-upgrader into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source /ubuntu-release-upgrader/1:18.04.25 in a few hours, and then in the -proposed repository. Please help us by

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-29 Thread Brian Murray
** Description changed: + Description + --- + + For s390x there is no ubuntu-desktop package and the quirk to install + snaps will crash as it expects there to be an ubuntu-desktop package in + the cache. + + Test Case + - + On an s390x system the test case is just to try the upg

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-29 Thread Brian Murray
** Also affects: ubuntu-release-upgrader (Ubuntu Bionic) Importance: Undecided Status: New ** Changed in: ubuntu-release-upgrader (Ubuntu Bionic) Status: New => In Progress ** Changed in: ubuntu-release-upgrader (Ubuntu Bionic) Importance: Undecided => High ** Changed in: ubu

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-29 Thread Frederik Hartmann
I hope that it will be backported to 16.04 as well, without applying this fix to an upgrade to 18.04 isn't possible. Thank you! -- 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-r

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-28 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-release-upgrader - 1:18.10.9 --- ubuntu-release-upgrader (1:18.10.9) cosmic; urgency=medium * data/release-upgrades: set Prompt to normal not lts * DistUpgradeQuirks.py: if ubuntu-desktop or snapd isn't in the package cache don't try an

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-28 Thread Francis Ginther
** Tags added: id-5b846d495b0b2662342c5dc7 -- 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-deskt

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-27 Thread Frank Heimes
** Changed in: ubuntu-z-systems Status: Confirmed => In Progress -- 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

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-27 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu-release-upgrader -- 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-des

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-27 Thread Steve Langasek
However, as Frank points out there is a s390x-specific issue here in that the ubuntu-desktop package does not exist at all on s390x but does exist on other architectures. So this check will currently ALWAYS fail on s390x. (One wonders why ubuntu-desktop exists on s390x though given that this was

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-27 Thread Brian Murray
** Changed in: ubuntu-release-upgrader (Ubuntu) Status: Confirmed => In Progress ** Changed in: ubuntu-release-upgrader (Ubuntu) Importance: Undecided => High ** Changed in: ubuntu-release-upgrader (Ubuntu) Assignee: (unassigned) => Brian Murray (brian-murray) -- You received thi

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-27 Thread Brian Murray
The error reports in the Ubuntu Error Tracker are from i386 and amd64 systems so the issue is not specific to s390x. -- 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-upgra

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-27 Thread Frank Heimes
** Changed in: ubuntu-z-systems Importance: Undecided => High -- 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 packa

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-27 Thread bugproxy
** Tags added: architecture-s39064 bugnameltc-170884 severity-high targetmilestone-inin1804 -- 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

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-27 Thread Frank Heimes
Not limited to s390x, but affecting it, too - hence adding z project. ** Also affects: ubuntu-z-systems Importance: Undecided Status: New ** Changed in: ubuntu-z-systems Status: New => Confirmed ** Changed in: ubuntu-z-systems Assignee: (unassigned) => Canonical Foundations

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-26 Thread brianredbeard
Strike that. Ultimately it didn't *really* resolve the issue for me because there are no aarch64 packages on the referenced Bionic repos: Error during update A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry. E

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-26 Thread brianredbeard
Similar to Frederik, I had to much with sources.list, adding a reference to Zesty. In my case it was a Pine64 running: Linux string.rvu.io 3.10.105-bsp-1.2-ayufan-99 #1 SMP PREEMPT Fri Aug 4 08:36:39 UTC 2017 aarch64 aarch64 aarch64 GNU/Linux Upgrading from: $ cat /etc/os-release NAME="Ubuntu

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-21 Thread Frederik Hartmann
The package 'ubuntu-desktop' doesn't exist for 16.04 on s390x where I encountered this error. Adding a bionic repository to sources.list without upgrading works as a hacky workaround since this package exists in bionic and the failing check is simply a verification if this package is installed.

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-21 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1787

[Bug 1787668] Re: ubuntu-release-upgrader crashed with KeyError: "The cache has no package named 'ubuntu-desktop'"

2018-08-17 Thread Brian Murray
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 handlin