"the cache has no package" error when wine update is available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Xenial |
Fix Released
|
High
|
Brian Murray |
Bug Description
[Test Case]
1) wget https:/
2) sudo apt-key add Release.key
3) sudo apt-add-repository 'https:/
4) sudo apt-get update
5) sudo apt-get install wine-devel-
6) /usr/lib/
7) Observe the following crash:
E: Unknown Error: '<class 'KeyError'>' ("The cache has no package named 'wine-devel-i386'")
With the version of the package from proposed you'll be able to run apt-check -p with no Error being reported.
Original Description
-------
Release:
$ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
Pacakge:
$ apt-cache policy update-notifier
update-notifier:
Installed: 3.168
Candidate: 3.168
Version table:
*** 3.168 500
500 http://
100 /var/lib/
What should happen:
$/usr/lib/
wine-devel-amd64
wine-devel
google-
winehq-devel
wine-devel-i386
What actually happened:
$/usr/lib/
E: Unknown Error: '<class 'KeyError'>' ("The cache has no package named 'wine-devel-i386'")
Whats wrong:
apt_check.py line 143:
ignored = ul._is_
needs to use a full package name that includes the arch:
ignored = ul._is_
There are many other reports of this problem - the suggested 'solution' in many cases is to run package manager/apt to install all the updates which then 'fixes' the problem until the next
update for wine becomes available.
https:/
http://
https:/
http://
http://
http://
Related branches
- Dennis Kaarsemaker: Pending requested
- Diff: 0 lines
description: | updated |
description: | updated |
Thanks for this diagnosis! I've seen this error many times with cross-installed packages, but never had a chance to track the problem down.