[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-05-27 Thread Mark Kelly
It was merged and will appear in byobu 5.126

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-05-26 Thread Mark Kelly
Hi,

Awesome.  I submitted a pull request for this on GitHub:

https://github.com/dustinkirkland/byobu/pull/26

Perhaps Dustin will see it and use it, or make another fix/change in his
own words.

thx so much for byobu and everyone's help,
-mark

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-05-26 Thread Mark Kelly
Hi,
I have not seen the problem for a while now.
Is it still ok with you ?
take care,
-mark

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-04-05 Thread Mark Kelly
Hi,
Any update ?  I have not had the problem now for about a month.
I hope its ok with you also ?
-mark

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-23 Thread Mark Kelly
Hi,

Attached is another update.  This one adds an additional time check to run the 
update_cache once an hour.  Save it to /usr/lib/byobu/updates_available, and 
make sure it is executable, just like before.
a). cd /usr/lib/byobu
b). cp/save the new updates_available file you downloaded into this dir
c). sudo chmod 755 updates_available
thx


** Attachment added: "updates_available script"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5061169/+files/updates_available

** Attachment removed: "updates_available script"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5056417/+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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-16 Thread Mark Kelly
** Attachment removed: "updates_available"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5043276/+files/updates_available

** Attachment removed: "updates_available"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5043277/+files/updates_available

** Patch removed: "updates_available.patch"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5045007/+files/updates_available.patch

** Patch removed: "updates_available.patch"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5045005/+files/updates_available.patch

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-15 Thread Mark Kelly
ok, attached is a new, complete updates_available script.  Save it to 
/usr/lib/byobu/updates_available, and make sure it is executable, just like 
before.
a). cd /usr/lib/byobu
b). cp/save the new updates_available file you downloaded into this dir
c). sudo chmod 755 updates_available
Then let me know how it goes :-)
thx,
-mark


** Attachment added: "updates_available script"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5056417/+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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-14 Thread Mark Kelly
Hi,

I've got a fix :-)
Let me test it more tomorrow and then I'll post a new updates_available
script

-mark

On Sat, Feb 10, 2018 at 9:00 AM M Kelly  wrote:

> Hi,
>
> Yes it helped thanks.  Thinking on it.
>
> -mark
>
> On Sat, Feb 10, 2018, 8:54 AM jokrebel <1604...@bugs.launchpad.net> wrote:
>
>> Just confirmed the same issue at an other machine with actual siduction
>>
>> after "update && full-upgrade" still got red "93!" in the byobu panel
>>
>> update once more did not clear it.
>>
>> "cat $BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available" tells "93"
>>
>> hope to help for findig the problem
>>
>> --
>> 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
>>
>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-10 Thread Mark Kelly
Hi,

Yes it helped thanks.  Thinking on it.

-mark

On Sat, Feb 10, 2018, 8:54 AM jokrebel <1604...@bugs.launchpad.net>
wrote:

> Just confirmed the same issue at an other machine with actual siduction
>
> after "update && full-upgrade" still got red "93!" in the byobu panel
>
> update once more did not clear it.
>
> "cat $BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available" tells "93"
>
> hope to help for findig the problem
>
> --
> 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
>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-07 Thread Mark Kelly
Hi,

Just to be complete, for example, my system shows a 4! in red this morning.
My cache file shows 4 1
I do an:
sudo apt-get update
sudo apt-get upgrade
and then for about 5 seconds my cache file still shows 4 1 and the red 4!,
but after 5 seconds it automatically changes to 0 0 and the Red 4! goes
away.

But when it happens to you - the cache file stays at 7 1 forever or
until you issue a:
sudo apt-get --reinstall 

Is that right ?

thanks,
mark

On Wed, Feb 7, 2018 at 1:35 AM jokrebel <1604...@bugs.launchpad.net>
wrote:

> good morning,
>
> thanks for your detailed explanation.
>
> It just occured again. Before and also afterwards i got a 7 1
> after using
> cat $BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available
>
> have a nice day
>
> --
> 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
>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-06 Thread Mark Kelly
Hi,

I would just cat that file, as in:

cat $BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available

On my system this is what it I do:

% cat $BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available
0 0

So I can see the file has just "0 0" in it at this moment.

You could also use less, more, nano, vi, emacs, etc. - any utility to view
the file contents.
Also do this as you, you do not need to use sudo.

thanks,
mark

On Tue, Feb 6, 2018 at 11:05 AM jokrebel <1604...@bugs.launchpad.net>
wrote:

> Hi Mark,
>
> yes - there is a file  /usr/lib/update-notifier/apt-check
>
> but where/how to check the cache file when it will occur next time i got
> no idea with your line
>
> $BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available
>
> The most used computer over mosh/ssh with byobu and exclusively updated
> over that is a ubuntu 16.04 LTS (if this information is necessary)
>
> Thanks again for all your work
>
> --
> 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
>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-06 Thread Mark Kelly
Hi,

Can you verify you have this file ?

 /usr/lib/update-notifier/apt-check

The extra logic I added was only for when this file is on your system and I
just want to confirm if this is true for you.

thanks,
-mark


On Mon, Feb 5, 2018 at 7:31 PM M Kelly  wrote:

> Hi,
>
> Yes, the cache file is at:
>
> $BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available
>
> -mark
>
> On Mon, Feb 5, 2018 at 1:29 AM jokrebel <1604...@bugs.launchpad.net>
> wrote:
>
>> Hi again,
>>
>> "Next time it happens, before you issue the --reinstall command, can you
>> check the cache file and tell me if it has the 2 2 (or whatever the
>> number your status shows) or a 0 0 in it ?"
>>
>> of cause i will do, but can you tell me exactly the name of the file and
>> the path where to find?
>>
>> thanks a lot
>>
>> --
>> 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
>>
>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-05 Thread Mark Kelly
Hi,

Yes, the cache file is at:

$BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available

-mark

On Mon, Feb 5, 2018 at 1:29 AM jokrebel <1604...@bugs.launchpad.net>
wrote:

> Hi again,
>
> "Next time it happens, before you issue the --reinstall command, can you
> check the cache file and tell me if it has the 2 2 (or whatever the
> number your status shows) or a 0 0 in it ?"
>
> of cause i will do, but can you tell me exactly the name of the file and
> the path where to find?
>
> thanks a lot
>
> --
> 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
>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-02-04 Thread Mark Kelly
Hi,

It's ok - I learned something from this and I will keep going and
eventually solve :-)
Next time it happens, before you issue the --reinstall command, can you
check the cache file and tell
me if it has the 2 2 (or whatever the number your status shows) or a 0 0 in
it ?
I want to see if the status file was updated or if it is just the date of
the file causing it to not be re-read.

thanks,
mark

On Sat, Feb 3, 2018 at 12:39 PM jokrebel <1604...@bugs.launchpad.net>
wrote:

> Sorry, bad news
>
> after 3 updates where the counter went away immediately the 4th failed
> :-(
>
> There is still a red " 6!" after 2 "sudo apt update&&sudo apt full-
> upgrade&&sudo apt autoremove" that tells "0 aktualisiert, 0 neu
> installiert, 0 zu entfernen und 0 nicht aktualisiert."
>
> After doing a "sudo apt install --reinstall weechat-devel-ruby" and wait
> some seconds the update-available counter got cleared.
>
> sad to have to tell that
>
> --
> 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
>

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-30 Thread Mark Kelly
Hi,
The patch method expects the updates_available file is in its original 
condition and to be the same as mine.  Have you modified it before this or 
perhaps its older or from a different version of byobu/Ubuntu ?  If so that is 
probably the reason it failed.
Which is why I also posted the complete updates_available file in post #50, so 
that it could be saved and used as is.

But also here are the 2 differences I made to the file if you make the
changes by hand:

at line 53 -
orig:

flock -xn "$flock" /usr/lib/update-notifier/apt-check 2>&1 | awk
'-F;' 'END { print $1, $2 }' >"$mycache" 2>/dev/null &

changes to:

flock -xn "$flock" sh -c "(rm -f \"$mycache\" ; /usr/lib/update-
notifier/apt-check 2>&1 | awk '-F;' 'END { print \$1, \$2 }'
>\"${mycache}-x\" 2>/dev/null ; sleep 5 ; mv \"${mycache}-x\"
\"$mycache\") &"

at line 88 -

orig:

[ "/var/lib/apt" -nt "$mycache" ] || [ "/var/lib/apt/lists" -nt
"$mycache" ]

changes to:

[ "/var/lib/apt" -nt "$mycache" ] || [ "/var/lib/apt/lists" -nt
"$mycache" ] || [ "/var/log/dpkg.log" -nt "$mycache" ]

(this line 88 change was made a long time ago as mentioned above)

NOTE: both these changes are each a single line - the above may have
shown up as multiple lines, but they are really each a long single line.

hth

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-29 Thread Mark Kelly
Hi.
Either of 1). or 2) will do it -

1). save complete updates_available file in post #50 then do:
a). cd /usr/lib/byobu
b). sudo cp updates_available updates_available.orig
c). save the new updates_available file from post #50 here
d). sudo chmod 755 updates_available

or using patch file -

2). save patch file from post #52
a). cd /usr/lib/byobu
b). save updates_available.patch from post #52 here
c). run patch cmd with it -
   sudo patch < updates_available.patch

The bottom line is there are only two lines different to change from the 
original file.
And either method above should work.

Thank you for trying/testing.  Let me know if it improves the issue.

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-29 Thread Mark Kelly
Scratch, that, previous upload was a just diff file, here is a correct patch 
file:
thx


** Patch added: "updates_available.patch"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5045007/+files/updates_available.patch

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-29 Thread Mark Kelly
I also uploaded a patch file for this if that is easier to apply
Just curious if the small difference in update method and time window solves 
the problem.
thx

** Patch added: "updates_available.patch"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5045005/+files/updates_available.patch

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-25 Thread Mark Kelly
I attached my modified updates_available file here.

** Attachment added: "updates_available"
   
https://bugs.launchpad.net/byobu/+bug/1604750/+attachment/5043277/+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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-25 Thread Mark Kelly
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  wrote:

> Hi,
>
> Yes, good idea, thanks for that info.
>
> -mark
>
> On Thu, Jan 25, 2018 at 1:05 PM bsy  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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-25 Thread Mark Kelly
Hi,

Yes, good idea, thanks for that info.

-mark

On Thu, Jan 25, 2018 at 1:05 PM bsy  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
>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-25 Thread Mark Kelly
Hi,

Q: when the status bar incorrectly shows 2! (or whatever the count is) when
you know there are no more updates to do, does your updates-available cache
file show "2 2" or "0 0" ?
The cache file is located in:

BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available

-mark

On Fri, Jan 19, 2018 at 8:37 PM M Kelly  wrote:

> Hi,
>
> I think the easiest work-around is to remove the cache file -
>
> rm -f $BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available
>
> -mark
>
> On Sun, Jan 7, 2018 at 8:54 AM M Kelly  wrote:
>
>> Hi,
>>
>> Happy New Year to you.
>> Yes, thx, I agree, I have seen it happen a few times myself and some apt
>> cmds get it to resolve.
>> If I find some time I will try to look at it more, it is annoying.
>>
>> take care,
>>
>> On Sun, Jan 7, 2018 at 4:55 AM jokrebel <1604...@bugs.launchpad.net>
>> wrote:
>>
>>> Hi again,
>>>
>>> error still happens on different distros randomly. The workaround to
>>> wait some time after
>>> "apt update && apt full-upgrade"
>>> bevor pressing "y" (for getting it go) works mostly but also not allways.
>>>
>>> If not; my dirty workaround for the workaround *urks* if the red "!xy"
>>> notfication still there:
>>> ...do for example a
>>>
>>> "sudo apt install --reinstall weechat-devel-ruby"(or an other
>>> small pakage)
>>>
>>> best regards
>>> jokrebel
>>>
>>> --
>>> 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
>>>
>>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-19 Thread Mark Kelly
Hi,

I think the easiest work-around is to remove the cache file -

rm -f $BYOBU_RUN_DIR/cache.$BYOBU_BACKEND/updates-available

-mark

On Sun, Jan 7, 2018 at 8:54 AM M Kelly  wrote:

> Hi,
>
> Happy New Year to you.
> Yes, thx, I agree, I have seen it happen a few times myself and some apt
> cmds get it to resolve.
> If I find some time I will try to look at it more, it is annoying.
>
> take care,
>
> On Sun, Jan 7, 2018 at 4:55 AM jokrebel <1604...@bugs.launchpad.net>
> wrote:
>
>> Hi again,
>>
>> error still happens on different distros randomly. The workaround to wait
>> some time after
>> "apt update && apt full-upgrade"
>> bevor pressing "y" (for getting it go) works mostly but also not allways.
>>
>> If not; my dirty workaround for the workaround *urks* if the red "!xy"
>> notfication still there:
>> ...do for example a
>>
>> "sudo apt install --reinstall weechat-devel-ruby"(or an other
>> small pakage)
>>
>> best regards
>> jokrebel
>>
>> --
>> 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
>>
>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2018-01-07 Thread Mark Kelly
Hi,

Happy New Year to you.
Yes, thx, I agree, I have seen it happen a few times myself and some apt
cmds get it to resolve.
If I find some time I will try to look at it more, it is annoying.

take care,

On Sun, Jan 7, 2018 at 4:55 AM jokrebel <1604...@bugs.launchpad.net>
wrote:

> Hi again,
>
> error still happens on different distros randomly. The workaround to wait
> some time after
> "apt update && apt full-upgrade"
> bevor pressing "y" (for getting it go) works mostly but also not allways.
>
> If not; my dirty workaround for the workaround *urks* if the red "!xy"
> notfication still there:
> ...do for example a
>
> "sudo apt install --reinstall weechat-devel-ruby"(or an other
> small pakage)
>
> best regards
> jokrebel
>
> --
> 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
>

-- 
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

Re: [Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-11-12 Thread Mark Kelly
Hi,

Thanks.  I have had it happen only two times in a few months after that
patch fix, so like you it still happens but I put up with it and didn't
bother to spend time to fix for sure.
But yes it is a 'timing' issue and the script should do something like loop
and re-check for when dpkg.log does not change etc before returning.

take care,
mark

On Sat, Nov 11, 2017 at 2:54 AM jokrebel <1604...@bugs.launchpad.net>
wrote:

> Hello again,
>
> since I do "sudo apt update && sudo apt full-upgrade && sudo apt
> autoremove" and then first wait at least 1 minute _before_ I press the
> "y" for start it, the bug did no more occur for me.
>
> Not a solution - but a workaround ;-)
>
> HTH
> jokrebel
>
> --
> 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:
>   Incomplete
> 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
>

-- 
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

[Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-08-24 Thread Mark Kelly
With the proposed fix, today my status bar showed a 1! and after an
update && upgrade, for the first time in a while the 1! is still
present.

-- 
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


[Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-08-06 Thread Mark Kelly
After a few weeks of use, I have to say the fix -

[ "/var/lib/apt" -nt "$mycache" ] || [ "/var/lib/apt/lists" -nt
"$mycache" ] || [ "/var/log/dpkg.log" -nt "$mycache" ]

to the /usr/lib/byobu/updates_available script has worked well for me on two 
different systems (both Ubuntu 16.04 with HWE).
After an apt-get upgrade the notification is sometimes still there - but 
hitting a few F5's (boybu status updates) or waiting until the status update 
runs again always clears the notification.

Until you solve it you don't need to reboot, you can simply remove the
cache file to clear the notification with -

rm $BYOBU_RUN_DIR/cache.tmux/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


[Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-08-06 Thread Mark Kelly
PS - I set my status interval with a setting in my ~/.byobu/.tmux.conf
file -

set -g status-interval 10

-- 
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


[Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-07-24 Thread Mark Kelly
@jokrebel, hi
What is your status-interval set to (how many seconds between status bar 
updates) ?
When you still have a red 3! (or whatever the number) after an upgrade - can 
you press the F5 key a few times to see if the red 3! update goes away ?
The additional check for if the cache file is newer than /var/log/dpkg.log at 
the next status update cycle should cause update_cache() to run again and this 
should be after the update has completed and thus should echo a "0 0" to the 
cache file and the red 3! to go away.

-- 
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


[Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-07-23 Thread Mark Kelly
@jokrebel, hi
Just to confirm, do you have this file on your system ?

/usr/lib/update-notifier/apt-check

-thanks

-- 
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


[Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-07-23 Thread Mark Kelly
@jokrebel, hi
ok, sorry.  I will post another patch soon and we can see if that helps fix it.

-- 
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


[Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-07-23 Thread Mark Kelly
@jokrebel, hi

The patch I used is this: (changing one line)

# orig:
#   [ "/var/lib/apt" -nt "$mycache" ] || [ "/var/lib/apt/lists" -nt 
"$mycache" ]
# new:
[ "/var/lib/apt" -nt "$mycache" ] || [ "/var/lib/apt/lists" -nt 
"$mycache" ] || [ "/var/log/dpkg.log" -nt "$mycache" ]

So far with this change I have not seen the problem occur.
I was working on a different approach but this above is more simple.

-- 
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


[Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-07-20 Thread Mark Kelly
Maybe this dbg output from updates_available helps reveal the issue:

___update_needed() entr 2017-04-19 17:57:22:332517641
___update_needed(): mycache= 2017-04-19 17:56:55:299087230
___update_needed(): /var/lib/apt   = 2017-04-19 17:57:20:275457556
___update_needed(): /var/lib/apt/lists = 2017-04-19 17:56:48:442985575
-- mycache ^^^
1 0
-- mycache ###
___update_needed() exit 2017-04-19 17:57:22:335366171 (rc=0)
___update_cache() entr 2017-04-19 17:57:22:335890178
___update_cache() about to run update-notifier: 2017-04-19 17:56:55:299087230
--- mycache ^^^
1 0
--- mycache ###
flock -xn "/dev/shm/byobu-username-IPAtHq8s/cache.tmux/updates-available.lock" 
/usr/lib/update-notifier/apt-check 2>&1 | awk '-F;' 'END { print $1, $2 }' 
>"/dev/shm/byobu-username-IPAtHq8s/cache.tmux/updates-available" 2>/dev/null &
___update_cache() after running update-notifier (rc=0 pid=23482) in the 
background: 2017-04-19 17:57:22:331488041
 mycache ^^^
 mycache ###
___update_cache() exit 2017-04-19 17:57:22:343179552
___update_available() exit 2017-04-19 17:57:22:343674285
___update_available() entr 2017-04-19 17:57:29:349651054
___print_updates() entr 2017-04-19 17:57:29:350254352
- mycache ^^^
1 0
- mycache ###
___print_updates() exit 2017-04-19 17:57:29:351550685
___update_needed() entr 2017-04-19 17:57:29:352151300
___update_needed(): mycache= 2017-04-19 17:57:23:307502514
___update_needed(): /var/lib/apt   = 2017-04-19 17:57:20:275457556
___update_needed(): /var/lib/apt/lists = 2017-04-19 17:56:48:442985575
-- mycache ^^^
1 0
-- mycache ###
___update_needed() exit 2017-04-19 17:57:29:356254254 (rc=1)
___update_available() exit 2017-04-19 17:57:29:356856277
___update_available() entr 2017-04-19 17:57:36:364345395
___print_updates() entr 2017-04-19 17:57:36:364951726
- mycache ^^^
1 0
- mycache ###

-- 
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


[Bug 1604750] Re: Byobu not clearing update numbers after updates

2017-07-20 Thread Mark Kelly
I will confirm this happens to me sometimes also on 16.04 on several different 
machines.
I have debugged as well and will also confirm it has to do with the file dates 
and how long an update takes, so it is not easily reproducible.  But the logic 
flow shows how it can happen.
I have patched the updates_available script as shown above to add the third 
check, thanks so much.
Before that I was thinking about having the update be done in a sub-script and 
at the end of that touch the cache file, so the sub-script would still run in 
the background but the cache file would get a more recent mod time.

-- 
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


[Bug 846407] Re: Empty desktop on 11.10 beta 1

2011-10-20 Thread Mark Kelly
I too have this problem. XRDP Worked fine with 11.04, and now that I
have upgraded I can only see either the back ground, or a cut down
version of some windows, but I am unable to move them. All very strange!

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

Title:
  Empty desktop on 11.10 beta 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xrdp/+bug/846407/+subscriptions

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


[Bug 549727] Re: [10.04] Touchpad stops working after login

2010-05-03 Thread Mark Kelly
I had this problem, and it turned out that the gconf key mentioned by
ivan90112 and paalfe was set to false, and changing it fixed the
problem.

Is there any reason to disable the touchpad (apparently) by default?

-- 
[10.04] Touchpad stops working after login
https://bugs.launchpad.net/bugs/549727
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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