[Bug 1597537] Re: "the cache has no package" error when wine update is available

2017-08-28 Thread Launchpad Bug Tracker
This bug was fixed in the package update-notifier - 3.168.5

---
update-notifier (3.168.5) xenial; urgency=medium

  * data/apt_check.py: use pkg.get_fullname() instead of pkg.name so that
architectures appear in package names, thanks to Bill Scales for the
patch. (LP: #1597537)

 -- Brian Murray   Fri, 11 Aug 2017 12:06:17 -0700

** Changed in: update-notifier (Ubuntu Xenial)
   Status: Fix Committed => Fix Released

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

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1597537] Re: "the cache has no package" error when wine update is available

2017-08-25 Thread Jean-Baptiste Lallement
SRU verification for Xenial:
I have reproduced the problem with update-notifier 3.168.4 in xenial-updates 
and have verified that the version of update-notifier 3.168.5 in -proposed 
fixes the issue. I also verified that there is no regression with other 
packages than wine.

Marking as verification-done


** Tags removed: verification-needed verification-needed-xenial
** Tags added: verification-done verification-done-xenial

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

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1597537] Re: "the cache has no package" error when wine update is available

2017-08-17 Thread Brian Murray
Hello Bill, or anyone else affected,

Accepted update-notifier into xenial-proposed. The package will build
now and be available at https://launchpad.net/ubuntu/+source/update-
notifier/3.168.5 in a few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, details of your
testing will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: update-notifier (Ubuntu Xenial)
   Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-xenial

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

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1597537] Re: "the cache has no package" error when wine update is available

2017-08-11 Thread Brian Murray
Sorry for the delay, I just found this bug again in a lost Firefox tab.
I've uploaded a fix to the unapproved SRU queue for Xenial and it is
awaiting review by an SRU team member.

** Description changed:

  [Test Case]
  1) wget https://dl.winehq.org/wine-builds/Release.key
  2) sudo apt-key add Release.key
  3) sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
  4) sudo apt-get update
  5) sudo apt-get install wine-devel-i386=2.10.0~xenial
  6) /usr/lib/update-notifier/apt-check -p
  7) Observe the following crash:
  E: Unknown Error: '' ("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://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: '' ("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=677

** Changed in: update-notifier (Ubuntu Xenial)
 Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: update-notifier (Ubuntu Xenial)
   Status: Triaged => 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/1597537

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1597537] Re: "the cache has no package" error when wine update is available

2017-08-11 Thread Brian Murray
** Description changed:

+ [Test Case]
+ 1) wget https://dl.winehq.org/wine-builds/Release.key
+ 2) sudo apt-key add Release.key
+ 3) sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
+ 4) sudo apt-get install wine-devel-i386=2.10.0~xenial
+ 5) /usr/lib/update-notifier/apt-check -p
+ 6) Observe the following crash:
+ E: Unknown Error: '' ("The cache has no package named 
'wine-devel-i386'")
+ 
+ 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://gb.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
- 100 /var/lib/dpkg/status
+   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: '' ("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=677

** Description changed:

  [Test Case]
  1) wget https://dl.winehq.org/wine-builds/Release.key
  2) sudo apt-key add Release.key
  3) sudo apt-add-repository 'https://dl.winehq.org/wine-builds/ubuntu/'
- 4) sudo apt-get install wine-devel-i386=2.10.0~xenial
- 5) /usr/lib/update-notifier/apt-check -p
- 6) Observe the following crash:
+ 4) sudo apt-get update
+ 5) sudo apt-get install wine-devel-i386=2.10.0~xenial
+ 6) /usr/lib/update-notifier/apt-check -p
+ 7) Observe the following crash:
  E: Unknown Error: '' ("The cache has no package named 
'wine-devel-i386'")
  
  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://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: '' ("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=677

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

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:

[Bug 1597537] Re: "the cache has no package" error when wine update is available

2017-01-20 Thread Erich E. Hoover
@brian-murray I'm really happy to see that there's finally a fix for
this, is it targeted for a SRU?

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

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1597537] Re: "the cache has no package" error when wine update is available

2017-01-03 Thread Brian Murray
This is not yet fixed in Ubuntu 16.04, xenial.

** Also affects: update-notifier (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: update-notifier (Ubuntu Xenial)
   Status: New => Triaged

** Changed in: update-notifier (Ubuntu Xenial)
   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/1597537

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1597537] Re: "the cache has no package" error when wine update is available

2016-12-22 Thread Guntis
> This bug was fixed in the package update-notifier - 3.170

How can I install this package version? i tried

  sudo apt-get install --reinstall update-notifier

and it gave me version number lower than 3.170:

  Setting up update-notifier (3.168.2) ...

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

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1597537] Re: "the cache has no package" error when wine update is available

2016-07-11 Thread Launchpad Bug Tracker
This bug was fixed in the package update-notifier - 3.170

---
update-notifier (3.170) yakkety; urgency=medium

  * data/apt_check.py: use pkg.get_fullname() instead of pkg.name so that
architectures appear in package names, thanks to Bill Scales for the
patch. (LP: #1597537)

 -- Brian Murray   Mon, 11 Jul 2016 15:05:27 -0700

** Changed in: update-notifier (Ubuntu)
   Status: Triaged => Fix Released

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

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1597537] Re: "the cache has no package" error when wine update is available

2016-07-11 Thread Launchpad Bug Tracker
** Branch linked: lp:update-notifier

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

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1597537] Re: "the cache has no package" error when wine update is available

2016-06-29 Thread Steve Langasek
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.

** Changed in: update-notifier (Ubuntu)
   Importance: Undecided => High

** Changed in: update-notifier (Ubuntu)
   Status: New => Triaged

** Changed in: update-notifier (Ubuntu)
 Assignee: (unassigned) => Brian Murray (brian-murray)

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

Title:
  "the cache has no package" error when wine update is available

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1597537/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs