wrong count in update-notifier tooltip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
Note: I don't think this is the same as #28827, but I'm not totally sure.
I'm using Ubuntu 8.04.
I'm encountering a strange bug. Hovering the mouse over the update-notifier icon, the tooltip says (all the time, even after a reboot and "apt-get update" too) that there is 1 update available (with the security icon). However, when I click on it and open the update manager, it tells me I have 65 updates available (some security patches, recommended and proposed too)
My system is fully working, so it's definitely not a rush priority, I just noticed that this was wrong.
Mvo in #ubuntu-bugs helped me and he gave me a modified version of apt-check, to test things. Attached is the modified version he made.
Here is what this script returns when I run it :
[EDIT : typo]
stpere@
Reading package lists... Done
Building dependency tree
Reading state information... Done
checking updates
is marked install or marked upgrade
1;1stpere@
And also this with the -p parameter :
danielle@
Reading package lists... Done
Building dependency tree
Reading state information... Done
checking updates
is marked install or marked upgrade
linux-headers-
evolution-common
xserver-
language-
guidance-backends
nvidia-glx-dev
gnome-games
evolution-exchange
evolution
libexchange-
gnome-cards-data
rhythmbox
xulrunner-1.9
liblircclient0
xserver-
libcamel1.2-11
libwnck-common
python-apt
libnspr4-0d
mysql-common
libedata-cal1.2-6
libmysqlclient1
linux-libc-dev
libgweather1
gtkhtml3.14
linux-restricte
libmysqlclient15off
xkb-data
libwnck22
linux-image-
python-
gtk2-engines
eog
gdm
libegroupwise1.2-13
ttf-opensymbol
libgweather-common
libecal1.2-7
linux-restricte
libgdata1.2-1
gnome-system-
gnome-games-data
libgdata-
libebook1.2-9
evolution-plugins
libedataserveru
libedata-book1.2-2
evolution-
libedataserver1.2-9
libpq-dev
libglib2.0-0
xserver-
libpq5
xulrunner-
openoffice.
deskbar-applet
evolution-
openoffice.
libgnome-desktop-2
linux-headers-
libnss3-1d
nvidia-glx
libgtkhtml3.14-19
xserver-
python-gobject
Changed in update-notifier: | |
status: | New → Confirmed |
Changed in update-notifier: | |
importance: | Undecided → Wishlist |
status: | Confirmed → Triaged |
tags: | added: precise |
Changed in update-notifier (Ubuntu): | |
status: | Triaged → Fix Released |
Fixed! I found the solution!
In the counting loop, there was a "break" where should have been a "continue" (line 112)
Here is my modified version. Sorry, it's not a diff file (I overwrote the original already..) but a complete file.