Jump to content
  • 0

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





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

1 answer to this question

Recommended Posts

Donate and support the project!

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.

Answer this question...

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


  • Create New...