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

Reply via email to