The Muon Update Manager continues to show the pending updates icon and information (i.e. "X packages to update, ....") even after all updates have been applied. Reproducible: Always Steps to Reproduce: 1. Wait for Muon Update Manager to report there're pending updates for system 2. Use MUM to apply the updates 3. Actual Results: The systray icon and the info it reports when the popup is displayed does not change state to reflect the fact that there're no more pending updates because they're already applied. Expected Results: The shield icon for the systray and its popup info change state to reflect updates have been applied.
*** Bug 347639 has been marked as a duplicate of this bug. ***
*** Bug 347496 has been marked as a duplicate of this bug. ***
*** Bug 347291 has been marked as a duplicate of this bug. ***
*** Bug 347479 has been marked as a duplicate of this bug. ***
*** Bug 347795 has been marked as a duplicate of this bug. ***
*** Bug 348108 has been marked as a duplicate of this bug. ***
Hi, I'll need some help with this issue because I'm not running Kubuntu at the moment and I'm having a bit of a hard time debugging it. I checked on a Kubuntu system in the office and I saw /var/lib/update-notifier/dpkg-run-stamp being updated but then ApplicationNotifier::recheckSystemUpdateNeeded isn't really being called. I would really appreciate if somebody could apply the patch and test the process. You can check the newly added debug output using "plasmawindowed org.kde.muonnotifier". Thanks! diff --git a/libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp b/libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp index 967e22f..bc07761 100644 --- a/libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp +++ b/libmuon/backends/ApplicationBackend/ApplicationNotifier.cpp @@ -26,6 +26,7 @@ #include <QtCore/QStandardPaths> #include <QtCore/QProcess> #include <QtGui/QIcon> +#include <QDebug> // KDE includes #include <KDirWatch> @@ -118,8 +119,9 @@ void ApplicationNotifier::recheckSystemUpdateNeeded() m_updateCheckerProcess = new QProcess(this); connect(m_updateCheckerProcess, SIGNAL(finished(int)), this, SLOT(parseUpdateInfo())); m_updateCheckerProcess->start("/usr/lib/update-notifier/apt-check"); + qDebug() << "A"; } - + void ApplicationNotifier::parseUpdateInfo() { #warning why does this parse stdout and not use qapt, wtf... @@ -132,6 +134,7 @@ void ApplicationNotifier::parseUpdateInfo() // Format updates;security int eqpos = line.indexOf(';'); + qDebug() << "B" << line; if (eqpos > 0) { QByteArray updatesString = line.left(eqpos);
It seems to work for me on Kubuntu Vivid
I'm also using vivid. Mine is an upgrade from 14.10. Is it the same for you or are you using a clean install?
Sorry, I'm not sure if you were talking about the patch above or just the bug report. I'm referring to the original bug report, not the code.
@Alex, where should I be looking for the logs after applying this patch?
You can run the plasmoid by calling "plasmawindowed org.kde.muonnotifier". It should output things when upgrades happen (either from muon-updater or apt-get).
Alright, I don't have any updates pending currently (I thought I did, because the plasmoid was telling me I did ;-)), so I'll capture some logs next time some updates are available.
Created attachment 92899 [details] Output with patch applied Here's the output with the earlier patch applied. Produced via: 1. Execute `plasmawindowed org.kde.muonnotifier` 2. Execute `sudo apt-get update` to trigger population of pending updates 3. Use the `Update` button and proceed through the upgrade via Muon proper At the end of the process, the plasmoid still shows pending updates, however all updates have been applied.
FWIW, I am having the same issue, running Kubuntu 15.04, Plasma 5.3.1. The plasmoid icon remains in the panel and shows I have six updates pending, two of which are security updates, even though I have no updates pending according to Muon Package Manager.
Seems related, I guess. Muon can't count. This morning I had, according to the widget, 28 updates, 14 of which are security updates. I click update and see 7 updates. I quit the updater and look at updates with apt: $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: linux-generic linux-headers-generic linux-image-generic The following packages will be upgraded: cups-browsed cups-filters cups-filters-core-drivers cups-filters-ippusbxd libcupsfilters1 libfontembed1 linux-libc-dev 7 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. Need to get 1,603 kB of archives. After this operation, 3,072 B of additional disk space will be used. Do you want to continue? [Y/n] I got out of that and updated with muon. I accepted the expected kernel packages, gave it the password and it is updating......... ~$ tail --lines=5 /var/log/apt/history.log Start-Date: 2015-07-07 11:31:17 Install: linux-image-3.19.0-22-generic:i386 (3.19.0-22.22, automatic), linux-headers-3.19.0-22:i386 (3.19.0-22.22, automatic), linux-image-extra-3.19.0-22-generic:i386 (3.19.0-22.22, automatic), linux-headers-3.19.0-22-generic:i386 (3.19.0-22.22, automatic) Upgrade: libfontembed1:i386 (1.0.67-0ubuntu2, 1.0.67-0ubuntu2.2), cups-filters-ippusbxd:i386 (1.0.67-0ubuntu2, 1.0.67-0ubuntu2.2), libcupsfilters1:i386 (1.0.67-0ubuntu2, 1.0.67-0ubuntu2.2), cups-filters:i386 (1.0.67-0ubuntu2, 1.0.67-0ubuntu2.2), linux-generic:i386 (3.19.0.21.20, 3.19.0.22.21), linux-libc-dev:i386 (3.19.0-21.21, 3.19.0-22.22), linux-image-generic:i386 (3.19.0.21.20, 3.19.0.22.21), linux-headers-generic:i386 (3.19.0.21.20, 3.19.0.22.21), cups-browsed:i386 (1.0.67-0ubuntu2, 1.0.67-0ubuntu2.2), cups-filters-core-drivers:i386 (1.0.67-0ubuntu2, 1.0.67-0ubuntu2.2) End-Date: 2015-07-07 11:34:17 That's what? 10 packages in all? What happened to 18 more?
Pretty much the same issue here with Kubuntu 15.04 / KDE Plasma 5.3.2. The indicator remains red even after installing all updates. Although the message displayed says "system is up to date". Rebooting makes the indicator turn green.
This is still apparent on Kubuntu 15.10 / Updater 5.4.2. I had previously seen this on earlier versions, but an explicit sudo apt-get update / apt-get upgrade from the console generally fixed it. That no longer seems to work.
A little more information re Kubuntu 15.10 / Updater 5.4.2. This morning, the updater flagged six updates, which were duly applied successfully. However, after the process was complete, the System Tray icon still showed a red cross instead of a green tick and hovering over it still stated that 6 updates were available. That was the situation when I posted earlier. Since then I have rebooted and, so far, there is no sign of the Updater icon. I'm not sure how long after a reboot the updater rechecks for updates, but my system uptime is 16 minutes. I don't know if this information is helpful, but hopefully it yields some clues to the problem or to a possible work-round.
I also see this on 15.10. I upgraded from 15.04 a few days ago and didn't have that issue there - although there were others. It also gets the numbers wrong. It said 30 packages to update, of which 10 are security updates - but there was only 10 updates. Probably that's a separate bug as I saw similar behaviour on 15.04, though it was 2x the number there instead of 3x.
(In reply to Aleix Pol from comment #7) > Hi, > I'll need some help with this issue because I'm not running Kubuntu at the > moment and I'm having a bit of a hard time debugging it. You might want to consider setting up a simple virtual machine to reproduce it there, if you haven't already. Either Ubuntu or Kubuntu should show the problem.
I have this problem as well. My Ubuntu version info is No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 15.10 Release: 15.10 Codename: wily My KDE version is 15.08.2. I also see the counting problem Ernie mentioned in comment 16, but one thing at a time.
even this but seems to be corrected it stays on my system even after "sudo apt-get update" and "sudo apt-get upgrade" + "sudo apt-get autoremove". Please make sure this is corrected as I want my system uptodate and secure. Thanks
(In reply to Defrenne M from comment #23) > even this but seems to be corrected it stays on my system even after "sudo > apt-get update" and "sudo apt-get upgrade" + "sudo apt-get autoremove". > Please make sure this is corrected as I want my system uptodate and secure. > Thanks Hi Defrenne, This bug report does not impact your system's ability to actually be up to date, since it will still report packages that need to be updated, update them normally, and so on. The issue only relates to the notification itself not being visibly accurate, e.g. system indicates you have 5 packages that need updating, and after applying the updates, it still continues to report that updates are needed. In other words, it does not "see" that the updates have already been applied.
reciprocally this morning the systray icon stood green as a message signaled a new package (from a non official package devoted to Musescore). The upgrade ran smoothly.
The update widget itself when applied to the panel works fine and seems to count updates always correctly. Its just present all the time (green when no updates are available). The updates icon in the system tray is whats buggy which puzzle me as I thought that this would reuse the same code as the updates widget. This bug is present in 15.04 and 15.10 on 4 different machines. Some are fresh 15.10 installs and some are upgrade from 15.04 or earlier. My solution which is bit of a bodge is to remove updates from the system tray and then I added the updates widget to another panel on the second monitor (out of the way so it is not too visible and it doesn't annoy me ;-) ).
Same here after upgrading on Kubuntu 15.10 with Plasma 5.4.2, but only on after upgrade (in Kubuntu 15.04 this bug was not present). But I think the problem is not limited to the update icon, because the kdeconnect symbol don't disappears too when idle (if wifi is off again on smartphone).
I have the same problem. The "Updates" icon remains red even after all updates are applied (and no reboot is required). If I click on the icon, it tells me that there are no remaining updates. System is 15.10, fresh install.
Created attachment 95932 [details] List of available updates Here is what happened today: the Updater window stated that there are 24 outstanding updates. In the end, only 8 updates were available. The displayed count was wrong.
I have the same issue on Kubuntu 15.10. When the system was up to date and the Update icon showed available updates, I realized the following: I unchecked the Update icon in the System Tray Settings and clicked Apply. Then I checked it again and clicked apply again. Now the icon shows the correct status.
Hi Fabian - this only works until the next updates come through. Then you have to do it all again. Very annoying bug.
I have three machines running Kubuntu 15.10 / Plasma 5.4.2, all of them are affected.
Could this be related to #352055 plasma-pa plasmoid not shown in systemtray after startup ? (https://bugs.kde.org/show_bug.cgi?id=352055) Unchecking the Update icon in the System Tray Settings, applying, then checking it again and applying again make the issue disappears. The fix is the same for bug #352055 involving plasma-pa at startup
(In reply to pfoo from comment #34) > Could this be related to #352055 plasma-pa plasmoid not shown in systemtray > after startup ? (https://bugs.kde.org/show_bug.cgi?id=352055) > > Unchecking the Update icon in the System Tray Settings, applying, then > checking it again and applying again make the issue disappears. > The fix is the same for bug #352055 involving plasma-pa at startup This is *not* a fix. It simply makes the issue go away until the next updates appear. Then the issue comes back. I wish people would read the comments before they say that things are 'fixed' when they obviously are not.
I had, I'm experiencing the issue, and yes the bug will appear again when new updates are released by ubuntu. I'm fully aware of this. And yes, this is a -temporary or hot if you wish- fix as it makes your systray looks as it should for the time being. I'm just pointing that this hotfix is working on other(s ?) bugreports, and that It may be related (systray not updating icons as it should ?)
(In reply to pfoo from comment #36) > I had, I'm experiencing the issue, and yes the bug will appear again when > new updates are released by ubuntu. I'm fully aware of this. And yes, this > is a -temporary or hot if you wish- fix as it makes your systray looks as it > should for the time being. > I'm just pointing that this hotfix is working on other(s ?) bugreports, and > that It may be related (systray not updating icons as it should ?) I think the point you're missing is that, in bug reports, the term "fix" actually means something very specific. The fact that you have found a *workaround* is not the same as saying that there is a *fix*. There is no fix until a patch has been applied to the code and is shown to work as expected without having to play with the system tray for the issue to be hidden away temporarily (i.e. a "workaround").
apt-get upgrade does not seem to fix the issue.
*** Bug 354462 has been marked as a duplicate of this bug. ***
*** Bug 358018 has been marked as a duplicate of this bug. ***
Can somebody give this patch a try? https://git.reviewboard.kde.org/r/126923/
ping?
On 02/02/2016 14:51, Aleix Pol via KDE Bugzilla wrote: > https://bugs.kde.org/show_bug.cgi?id=347602 > > --- Comment #42 from Aleix Pol <aleixpol@kde.org> --- > ping? I don't have a system running recent enough bits to test the patch currently, if no one else has done so in the next couple of weeks I'll try and put something together.
(In reply to Aleix Pol from comment #42) > ping? How can I test the patch?
Git commit 7ded9bf1de57f7954be552a48aa9abdb3e4db400 by Aleix Pol, on behalf of Aleix Pol Gonzalez. Committed on 02/02/2016 at 14:28. Pushed by apol into branch 'Plasma/5.5'. Make sure qapt-check doesn't get called repeatedly Simplify the process that checks for system upgrades. - Makes sure it's only run when needed. - Doesn't recreate the QProcess instance. Tested by soee as discussed in #kubuntu-devel. REVIEW: 126923 Related: bug 358359 M +18 -12 libdiscover/backends/ApplicationBackend/ApplicationNotifier.cpp http://commits.kde.org/discover/7ded9bf1de57f7954be552a48aa9abdb3e4db400
Apparently this still happens. Will need more investigation.
*** Bug 354411 has been marked as a duplicate of this bug. ***
*** Bug 356194 has been marked as a duplicate of this bug. ***
*** Bug 360118 has been marked as a duplicate of this bug. ***
Fixing this issue would be very much appreciated. Is there any way to assist in this issue?
Git commit 749f5be5ebc7b56143e9952d085f396f3bd65905 by Aleix Pol. Committed on 16/03/2016 at 16:12. Pushed by apol into branch 'Plasma/5.5'. Fix refresh on the notifier plasmoid for QApt backend M +4 -2 libdiscover/backends/ApplicationBackend/ApplicationNotifier.cpp http://commits.kde.org/discover/749f5be5ebc7b56143e9952d085f396f3bd65905
(In reply to Aleix Pol from comment #51) > Git commit 749f5be5ebc7b56143e9952d085f396f3bd65905 by Aleix Pol. > Committed on 16/03/2016 at 16:12. > Pushed by apol into branch 'Plasma/5.5'. > > Fix refresh on the notifier plasmoid for QApt backend > > M +4 -2 > libdiscover/backends/ApplicationBackend/ApplicationNotifier.cpp > > http://commits.kde.org/discover/749f5be5ebc7b56143e9952d085f396f3bd65905 Aleix, may this fix be backported to Plasma 5.4?
You can try it, but note that the last stable Plasma release is 5.5.5.
*** Bug 360098 has been marked as a duplicate of this bug. ***
*** Bug 355450 has been marked as a duplicate of this bug. ***
*** Bug 352287 has been marked as a duplicate of this bug. ***
*** Bug 360324 has been marked as a duplicate of this bug. ***
Any chance this fix or any other kde fixes will ever be released via the update manager or must everybody wait until the next full kubuntu release? I really tire of bugs like this (and the konsole window size bug) being marked as fixed and having to suffer with the bug for the better part of a year or two.
@Adam Felson: This sounds like distro problem, not KDE problem. You are using a periodic release distro, where new Plasma comes in only very rarely. You can switch to a rolling distro to get it in a timely fashion. Given that Plasma 5 is still pretty buggy in many areas, it makes sense to do that if you are using it for your primary desktop.
@Adam, I have done everything I could to make sure the patch would land on Kubuntu, please ask Kubuntu developers as to why it hasn't happened.
@Adam Kubuntu developers are doing what they can to make system stable and fix bugs they can fix but atm. all the resources are focused on 16.04 release. As you know this bug is fixed in Xenial and it is strongly recommended to update to LTS when it is released (tomorrow) as it will also get new Plasma etc.
I recently update my pc from kubuntu 15.10 to 16.04 LTS. I see that this bug is considered fixed, but indeed it still affects my distro. How can I fix it? Thank you for your support.
Live with it or wait for 16.10, perhaps 17.04. The regular updates channel doesn't seem to include fixes like this.
(In reply to Adam Felson from comment #63) > Live with it or wait for 16.10, perhaps 17.04. The regular updates channel > doesn't seem to include fixes like this. I did a fresh-install of 16.04 on my desktop and the update manager seems to be working as intended regarding the update reports before and after they get applied. That might suggest that the 15.10 -> 16.04 update process is not properly taking care of updating certain things, at least in some situations. This is probably stating the obvious, but it looks like there's a clear need for improvement in the 'regular update channels'. Having to 'live with it' while waiting for months, or even over a year, for full releases for basic usability seems like a stretch, to put it politely, especially when KDE markets itself as user friendly. (The point here is not to say that KDE is "not user friendly" due to some bug. Rather, that highly visible bugs can cause more frustration, especially on new users determining their future expectations from their basic experience.) Before being handed the often standard "there's nothing we can do" response, please think a bit harder about it. Being so involved in the process, there's probably someone you know, or someone you know who knows someone, who might be able to not only acknowledge the inefficiency, but have the ability to at least start a wider discussion to see what sort of solutions might be proposed, and perhaps even adopted. Still, some users can grow more annoyed/frustrated than others and might choose to stop using KDE altogether. (Small bugs do have a larger cumulative effect, after all.) Appreciate the work and effort BTW.
The icon is working correctly on both my PCs, but the count of updates is still wrong. This morning it told me that there was one update, but actually listed and updated 11.
It has now stopped working altogether. It hasn't indicated any updates lately, so I clicked on it. The pop up said "1 package to update". Clicking on the Update button brought up a list of 8 updates, which installed successfully.
I can confirm that the updater doesn't indicate any updates until 'sudo apt-get update' is executed in a shell. The process then completes normally if I click on the icon. I had noticed this some time ago, but was holding off reporting it because I was uncertain whether the check was occurring on start-up and the actual updates arrived later. I'm now pretty sure that isn't the case
I can confirm the behavior in the recent comments. It's not working as intended.
Created attachment 99433 [details] White shield with green circle
There are two versions of the icons. On startup, there is a white shield with a small green circle lower right, containing a tick. If I run 'sudo apt-get update' in a shell, and there are updates, it changes to a red shield with a white cross in the centre. After the updates finish, it changes to a green shield with a white tick in the centre. If I run 'sudo apt-get update' in a shell, and there are no updates, the white shield with the tick stays. ***** Please ignore previous comment - I was trying to add a jpeg to a comment *****
If you think it's a new issue, please open a new bug report. The original issue was fixed.
Either not fixed as of 7/23/16, or it was never released as an update available in the update manager.
@Adam, what version are you using?
Hard to say. There are no files in the system containing the letters 'systray' except for ksystraycmd.mo part of kde-l10n-engb (version 4:15.12.3-0ubun) and the hp-system-tray. "Discover" and is version 5.6.2 muon-updater and notifier are both 4:5.6.2-1ubuntu
Created attachment 119113 [details] No updates on Discover or terminal but on system tray. This issue affects me right now on KDE neon 15.5.3 (Discover 15.5.3). System tray updates icon shows that there are packages to update although there are actually no packages to update (checked on Discover and through the terminal as shown on the attachment). Log out and in into the session doesn't resolve it. Restarting the system either.
This issue affects me right now on KDE neon 15.5.3 (Discover 15.5.3). System tray updates icon shows that there are packages to update although there are actually no packages to update (checked on Discover and through the terminal as shown on the attachment I've uploaded). Log out and in into the session doesn't resolve it. Restarting the system either.
probably you are affected by bug 385754
(In reply to Patrick Silva from comment #78) > probably you are affected by bug 385754 Exactly! The problem was that I had flatpak packages to update and they seem not to be updated with Discover. I've run "flatpak update" to update all my flatpak packages and the updater tray icon notification is gone. Many thanks =) I close it again as resolved.