This is a cache of https://discuss.96boards.org/t/linaros-debian-image-for-dragonboard-410c-is-not-upgradeable/12558. It is a snapshot of the page at 2024-11-14T00:01:26.968+0000.
Linaro's Debian image for <strong>dragonboard</strong> 410c is not upgradeable - <strong>dragonboard</strong>410c - 96Boards Forum

Linaro's Debian image for dragonboard 410c is not upgradeable

“apt update” fails to update systemd on latest linaro “Debian image #1025”, see below error message from apt.
Is there a workaround? The “gpiod library” which is used for toggling gpios has dependencies on systemd. /sys/class/gpio and is the only way in new kernels to access gpio.
Without gpiod, dragonboard 410c gpios can’t be accessed. Any ideas how else can we access the gpios? Please share.

This is the error from “apt update”:

Preparing to unpack …/systemd_255.2-4_arm64.deb …


  • The systemd package cannot be installed because this system does
  • not have a merged /usr.
  • Please install the usrmerge package to convert this system to merged-/usr.
  • For more information please read UsrMerge - Debian Wiki.

You need to install usrMerge before trying to install anything new.
And I think on top of it, libc6-dev also.

So with a Fresh installation

sudo apt update
sudo apt install usrmerge libc6-dev
sudo apt upgrade
1 Like

When I used your sequence, installing usrmerge package worked.
There were some more dependency issues during apt dist-upgrade:

sudo apt-get dist-upgrade -u -y

For anyone having issues with dist-upgrade on a fresh linaro #1125 release, the problem was with the installation of liblxqt1 on top of liblxqt0.

Removing the cached deb file manually fixed the issue for me:

sudo rm /var/cache/apt/archives/liblxqt1_1.4.0-2+b1_arm64.deb

Hi, i’m struggling to make it work on my 410c.

I’m not really surre what I’m missing but usrmerge, base-files and libc6 are not installing on my system.

began@linaro-alip:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
[....]
2 upgraded, 0 newly installed, 0 to remove and 780 not upgraded.
Need to get 0 B/111 kB of archives.
After this operation, 6,144 B of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 109478 files and directories currently installed.)
Preparing to unpack .../base-files_13.5_arm64.deb ...


******************************************************************************
*
* The base-files package cannot be installed because
* /bin is a directory, but should be a symbolic link.
*
* Please install the usrmerge package to convert this system to merged-/usr.
*
* For more information please read https://wiki.debian.org/UsrMerge.
*
******************************************************************************

dpkg: error processing archive /var/cache/apt/archives/base-files_13.5_arm64.deb (--unpack):
 new base-files package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/base-files_13.5_arm64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I’m loosing hopes here, after spending more than 6 hours i’m nor really sure what should I try next.

So far I’ve done various things and hardly remember all of it, one of these was to just flash the latest linaro for dragnboard I found, bust still.

Install usrmerge 1st before anything else.

Already tried it, but I tried it again right now after flashing again linaro (linaro-sid-alip-1125), giving me now a really strange error.

The following is my second attempt to run sudo apt install usrmerge after the first time it didn’t work (I lunched it even before sudo apt update) but it was on the dragonboard itself and I could get the output from there. The second attempt was lunched on a ssh session.

linaro@linaro-alip:~$ sudo apt update
Get:1 http://deb.debian.org/debian sid InRelease [202 kB]
Ign:2 http://obs.linaro.org/linaro-overlay-sid/sid ./ InRelease
Get:3 http://obs.linaro.org/linaro-overlay-sid/sid ./ Release [995 B]
Reading package lists... Done
E: Release file for http://deb.debian.org/debian/dists/sid/InRelease is not valid yet (invalid for another 1079d 18h 5min 33s). Updates for this repository will not be applied.
E: Release file for http://obs.linaro.org/linaro-overlay-sid/sid/./Release is not valid yet (invalid for another 26d 20h 11min 17s). Updates for this repository will not be applied.
linaro@linaro-alip:~$ sudo apt install usrmerge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl
The following NEW packages will be installed:
  libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.4 kB/60.1 kB of archives.
After this operation, 159 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Err:1 http://deb.debian.org/debian sid/main arm64 libnumber-compare-perl all 0.03-2
  404  Not Found [IP: 146.75.54.132 80]
Err:2 http://deb.debian.org/debian sid/main arm64 libtext-glob-perl all 0.11-2
  404  Not Found [IP: 146.75.54.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/libn/libnumber-compare-perl/libnumber-compare-perl_0.03-2_all.deb  404  Not Found [IP: 146.75.54.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/libt/libtext-glob-perl/libtext-glob-perl_0.11-2_all.deb  404  Not Found [IP: 146.75.54.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
linraro@linaro-alip:~$

this was fixed just by editing /etc/resolv.conf and adding a common DNS.

But again:

linaro@linaro-alip:~$ sudo apt install usrmerge
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libc6-dev : Breaks: binutils (< 2.38) but 2.37-10 is to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
linaro@linaro-alip:~$

I will try to flash again, fix the DNS problem ahead and lunch sudo apt install usrmerge before anything else at this point, but honestly it seems so wrong…

EDIT: I did it, but with no success (I also noticed that previously I was trying to install just usrmerge, but even running sudo apt install usrmerge libc6-dev did not work)

I installed this image: dragonboard-410c-sdcard-installer-sid-1125.img ( This is the one with GUI, not the developer/command line image)
After install, I got the boot prompt and ran below to avoid corrupting apt/dpkg database and dependencies:
sudo apt update
sudo apt install usrmerge libc6-dev
sudo apt upgrade

I tried the above on a couple of boards and it’s worked fine in terms of apt update/upgrade.

Maybe I see where is the problem. As soon as I can I will try to flash the image from the sdcard and not with fastboot method. If this fixes the problem it means that the fastboot image is broken somehow, since I cannot see any other difference between what I tried and what works for you.

Anyways, thank you for helping me.