phpsysinfo / phpsysinfo

phpSysInfo: a customizable PHP script that displays information about your system nicely
http://phpsysinfo.github.io/phpsysinfo
GNU General Public License v2.0
1.38k stars 234 forks source link

updatenotifier plugin security updates parsed wrong on Ubuntu 20.04.2 #304

Closed joszz closed 2 years ago

joszz commented 2 years ago

I just noticed this today when a couple new updates are ready for a server running Ubuntu server 20.04.2. There seems to be a problem with determining the amount of security updates, see the image attached. Screenshot 2021-06-08 082648

namiltd commented 2 years ago

Please attach file /var/lib/update-notifier/updates-available

joszz commented 2 years ago

The contents of the file is;

`

5 updates can be applied immediately. To see these additional updates run: apt list --upgradable

`

namiltd commented 2 years ago

Fixed: https://github.com/phpsysinfo/phpsysinfo/commit/d0c58716f71536aee506c2a59fc22fc2d1f9837f