Re: [Bug 548981] Re: Indicator should only turn red after the last package has been installed
On Thu, Dec 23, 2010 at 12:38, Karl Lattimer k...@qdh.org.uk wrote: If dpkg's behaviour is fixed does the UI respond accordingly, I'm not running natty yet that's a january thing i'm running natty, and it's not fixed here.. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/548981 Title: Indicator should only turn red after the last package has been installed -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 548981] Re: Indicator should only turn red after the last package has been installed
On Thu, Dec 23, 2010 at 13:54, Vish 548...@bugs.launchpad.net wrote: During the UDS session, https://blueprints.launchpad.net/ubuntu/+spec/other-dx-n-indicator-session It was mentioned that the fix for the dpkg part landed and all that remains is to fix it in the indicator-session. I dont know the commit #. Folks present during the session are on vacation, we can probably clarify after the holidays.. the reboot_required flag being set should not be the sole condition for the Session Menu Indicator to turn red. as long as an apt lock is engaged, the session menu should not signal any such thing! that should be the condition, and i don't think we need dpkg to figure that out for us. curious to hear what exactly was fixed in dpkg .. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/548981 Title: Indicator should only turn red after the last package has been installed -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 548981] Re: Indicator should only turn red after the last package has been installed
The following email helped me understand a bit where all this comes from: https://lists.ubuntu.com/archives/ubuntu-devel-announce/2006-January/52.html i tried sudo /usr/share/update-notifier/notify-reboot-required, which created the file /var/run/reboot-required. The Session Menu Indicator icon turned red instantly. Knowing this, it is obvious, every application with root privileges can use this script to set the flag i.e. to create /var/run/reboot-required. And knowing this, it is logical to have another flag which tells us whether an upgrade is currently in progress or not, since that would be the only thing that would conflict with suggesting a reboot to complete the update procedure to the user. ** Also affects: update-notifier Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/548981 Title: Indicator should only turn red after the last package has been installed -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 548981] Re: Indicator should only turn red after the last package has been installed
this bug is marked fixed in dpkg On Sat, Dec 4, 2010 at 22:40, mahfiaz mahf...@gmail.com wrote: Maybe the /usr/share/update-notifier/notify-reboot-required could check the /var/lib/dpkg/lock, and keep the loop until it is clean. Or maybe even whatever (applet?) watchs for /var/run/reboot_required should watch the dpkg lock as well and display the red only when reboot_required is present and dpkg/lock is not. So when you start a second upgrade or install, it would turn back to black. sounds sane to me, but somebody obviously fixed dpkg's behaviour, right Vish? what was the fix then? i don't see it in Natty alpha yet.. how far along is it and will it fix the premature indication by the session menu indicator? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/548981 Title: Indicator should only turn red after the last package has been installed -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs