Jump to content

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


gilarelli

Recommended Posts

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

Link to comment
Share on other sites

  • gilarelli changed the title to [Small bug report] MOTD not showing the number of pending updates

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines