Jump to content

base-files missing for 24.8.1 armhf


Go to solution Solved by emk2203,

Recommended Posts

Posted

There seems to be some issue in the build process for armhf, since the base-files are missing again for 24.8.1.

 

I am running an upgraded image of Ubuntu Noble on an Odroid HC1 (XU4 image):

 

Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... 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:
 armbian-bsp-cli-odroidxu4-current : Depends: base-files (>= 24.8.2) but 24.5.5-13ubuntu10-noble is to be installed

I have looked around on some mirrors, but couldn't find a base-files package which is up-to-date.

 

Any help on this issue?

Posted
1 minute ago, emk2203 said:

upgraded image of Ubuntu Noble

Upgraded in which way? Jammy? or earlier Armbian release?

Posted

It was an earlier Armbian release, I use `sudo apt update && sudo apt full-upgrade && sudo apt autoremove && sudo apt clean` to upgrade.

 

I fixed the base-files issue already once manually for 24.5, but editing a deb package is a pita. i started with Armbian 24.2 iirc.

  • Solution
Posted (edited)

For everyone who might be interested in a not-so-quick fix to keep an older Armbian install running, here is what you can do until base-files become available for armhf:

 

  • Download the latest base-files version of amd64 and armhf.
  • Unpack with dpkg-deb -x base-files-xx.xx.xx_long_text_armhf.deb armhf and dpkg-deb -x base-files-yy.yy.yy_long_text_amd64.deb armhf_new in two directories armhf and armhf_new.
  • Use diff -qr armhf armhf_new to test for differences. The file arm*/usr/bin/locale-check is different because different architectures, but the creation time shows that the content is the same. Copy it over: cp -a armhf{_new}/usr/bin/locale-check
  • The lib64 symbolic link at the root of armhf_new and its target are unnecessary: rmdir $(readlink -f armhf_new/lib64) && rm armhf_new lib64 .
  • Use dpkg-deb --control base-files-yy.yy.yy_long_text_amd64.deb armhf_new/DEBIAN to have the control files as well.
  • edit armhf_new/DEBIAN/control to have line 4 read armhf instead of amd64. Remove the `lib64` words from /armhf_new/DEBIAN/*. Use grep -nrw  armhf_new/DEBIAN -e lib64 to find them.
  • Fix the md5sum with md5sum armhf_new/usr/bin/locale-check and edit armhf_new/DEBIAN/md5sums accordingly.
  • Fix the ownership of the files and directories with sudo chown -R root:root armhf_new/*
  • Build the new deb package:  sudo dpkg-deb -b armhf_new base-files_yy.yy.yy.deb and install it: sudo dpkg -i base-files_yy.yy.yy.deb
  • Upgrade formerly stuck packages like armbian-bsp-cli-odroidxu4-current: sudo apt update && sudo apt full-upgrade
  • Clean up.

It would really be easier to have an up-to-date version of base-files for armhf, but this has happened twice for me and at least once for another guy on the forum, so I hope the fix can be of help in the future.

 

Edited by emk2203
structure

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