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://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages 100 /var/lib/dpkg/status
What should happen:
$/usr/lib/update-notifier$ /usr/lib/update-notifier/apt-check -p wine-devel-amd64 wine-devel google-chrome-stable winehq-devel wine-devel-i386
What actually happened:
$/usr/lib/update-notifier/apt-check -p E: Unknown Error: '<class 'KeyError'>' ("The cache has no package named 'wine-devel-i386'")
Whats wrong:
apt_check.py line 143:
ignored = ul._is_ignored_phased_update(aptcache[pkg.name])
needs to use a full package name that includes the arch:
ignored = ul._is_ignored_phased_update(aptcache[pkg.get_fullname(False)])
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://bugs.launchpad.net/pipelight/+bug/1318321 http://askubuntu.com/questions/409243/update-notifier-doesnt-work-cache-issue https://www.kubuntuforums.net/showthread.php?64504-Update-notifier-doesn-t-work-cache-issue http://askubuntu.com/questions/581480/unknown-error-class-keyerror-the-cache-has-no-package-named-wine-stagin http://askubuntu.com/questions/594888/how-can-i-resolve-repeated-package-dependency-error-involving-wine-staging-i38 http://ubuntuforums.org/showthread.php?t=2222677
Release:
$ lsb_release -rd
Description: Ubuntu 16.04 LTS
Release: 16.04
Pacakge: gb.archive. ubuntu. com/ubuntu xenial/main amd64 Packages dpkg/status
$ 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/ update- notifier$ /usr/lib/ update- notifier/ apt-check -p chrome- stable
wine-devel-amd64
wine-devel
google-
winehq-devel
wine-devel-i386
What actually happened:
$/usr/lib/ update- notifier/ apt-check -p
E: Unknown Error: '<class 'KeyError'>' ("The cache has no package named 'wine-devel-i386'")
Whats wrong:
apt_check.py line 143:
ignored = ul._is_ ignored_ phased_ update( aptcache[ pkg.name] )
needs to use a full package name that includes the arch:
ignored = ul._is_ ignored_ phased_ update( aptcache[ pkg.get_ fullname( False)] )
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:/ /bugs.launchpad .net/pipelight/ +bug/1318321 askubuntu. com/questions/ 409243/ update- notifier- doesnt- work-cache- issue /www.kubuntufor ums.net/ showthread. php?64504- Update- notifier- doesn-t- work-cache- issue askubuntu. com/questions/ 581480/ unknown- error-class- keyerror- the-cache- has-no- package- named-wine- stagin askubuntu. com/questions/ 594888/ how-can- i-resolve- repeated- package- dependency- error-involving -wine-staging- i38 ubuntuforums. org/showthread. php?t=2222677
http://
https:/
http://
http://
http://