Jump to content

[Small bug report] MOTD not showing the number of pending updates


Recommended Posts

Posted

Hi,

 

I noticed that on my board I didn't have notification with MOTD when updates were available and I think that I've found the culprit:

 

In the file /usr/lib/armbian/armbian-apt-updates of the package linux-buster-root-legacy-nanopim4_20.08.17_arm64.deb, this line stop the script to go further :

# give up if packages are broken
[[ ! $(dpkg -l | grep ^..r) ]] && exit 0

 

If I remove the ! then it works (because the script, in fact, gives up if packages are not broken :) )

  • gilarelli changed the title to [Small bug report] MOTD not showing the number of pending updates
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines