Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (โ‹ฎ) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Armbian build PR] - Disable md5 packages check on unsupported distributions

Featured Replies

Description

Unstable / testing packages sometimes contain hacks that are patching files. Fixing this in Debian Sid / Trixie

Not sure why this happens, but we certainly don't need this check in rolling releases.

  [๐Ÿณ|๐ŸŒฑ] Checking MD5 sum of installed packages [ debsums ]
  [๐Ÿณ|๐Ÿ”จ]   debsums: changed file /usr/sbin/start-stop-daemon (from dpkg package)
  [๐Ÿณ|๐Ÿ’ฅ] Error 2 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211

How Has This Been Tested?

  • [x] Manual run

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules

View the full article

I also experienced this issue with a kde-plasma ubuntu 24.04 (noble image build of 24.8.0 edge) on an Orange Pi 5 plus (16gb). Disabling the above code per the commit avoided the issue and the result was a successful image generation.

Hi @ioncube

ย 

Apologies for the late reply.

ย 

Although not recommended practice, in my 24.8.0 build tree, I commented out the debsums invocation - i'm sure its fine ๐Ÿ˜€

The relevant part of lib/functions/rootfs/rootfs-create.sh in my build tree reads:
ย 

        if [[ "${DISTRIBUTION_STATUS}" == "supported" || "${FORCE_CHECK_MD5_PACKAGES:-"no"}" == "yes" ]]; then
                display_alert "Checking MD5 sum of installed packages" "debsums" "info"
                declare -g if_error_detail_message="Check MD5 sum of installed packages failed"
                #chroot_sdcard debsums --silent
        fi

and that should prevent the problem. Perhaps settings FORCE_CHECK_MD5_PACKAGES=no during ./compile.sh invocation might work also?

ย 

Its a difficult one to work around due to random mirrors, cache contents etc... very sporadic.

ย 

Andrew

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions โ†’ Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.