Hi,

If you want/can, can you try this version of the updates_available script ?
It is attached, and it goes in file: /usr/lib/byobu/updates_available
Just save the existing file as .orig or something and put this new one
there, making sure it is chmod 755 executable.
I am assuming your dist goes through this code path -

if [ -x /usr/lib/update-notifier/apt-check ]; then

But if not we can add the new logic to the other code paths.

thx,
-mark

On Thu, Jan 25, 2018 at 9:43 PM M Kelly <mckelly2...@gmail.com> wrote:

> Hi,
>
> Yes, good idea, thanks for that info.
>
> -mark
>
> On Thu, Jan 25, 2018 at 1:05 PM bsy <bennet....@gmail.com> wrote:
>
>> for apt, why not use something like apt list --upgradeable | wc -l to
>> determine whether updates are needed / the number of upgradeable
>> packages?  apt list output is not stable yet, but should be soon, one
>> hopes.
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1604750
>>
>> Title:
>>   Byobu not clearing update numbers after updates
>>
>> Status in byobu:
>>   Confirmed
>> Status in byobu package in Ubuntu:
>>   Confirmed
>> Status in Fedora:
>>   New
>>
>> Bug description:
>>   I am running byobu on Debian Testing and, as of the last week or two,
>>   byobu has started not clearing the update counter even after updates.
>>   Even exiting byobu completely and starting a new session does not
>>   clear the indicator, only updating do it.  Sometimes, and this is not
>>   consistent, running an `apt-get update` causes the indicator to clear
>>   itself.
>>
>>   ~$ uanme -a
>>       Linux enekk 4.6.0-1-amd64 #1 SMP Debian 4.6.3-1 (2016-07-04) x86_64
>> GNU/Linux
>>   ~$ byobu -v
>>       byobu version 5.87
>>       Screen version 4.04.00 (GNU) 19-Jun-16
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/byobu/+bug/1604750/+subscriptions
>>
>


** Attachment added: "updates_available"
   
https://bugs.launchpad.net/bugs/1604750/+attachment/5043276/+files/updates_available

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

Title:
  Byobu not clearing update numbers after updates

To manage notifications about this bug go to:
https://bugs.launchpad.net/byobu/+bug/1604750/+subscriptions

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

Reply via email to