Jump to content

BUG(I think) : linux-dtb-current-sunxi64_20.08_arm64.deb Error while loading /var/lib/dpkg/tmp.ci/preinst: Exec format error


Recommended Posts

Hi, I have downloaded `Armbian_20.05.2_Pine64so_buster_current_5.4.43.img` I have a script that mount the iso, chroot into it and run a big script to generate a flavoured version of armbian. 
First thing the script do is `apt update && apt upgrade`   And I recently started to have the following error:
 

Preparing to unpack .../06-linux-dtb-current-sunxi64_20.08_arm64.deb ...
Error while loading /var/lib/dpkg/tmp.ci/preinst: Exec format error
dpkg: error processing archive /tmp/apt-dpkg-install-xF9W1s/06-linux-dtb-current-sunxi64_20.08_arm64.deb (--unpack):
 new linux-dtb-current-sunxi64 package pre-installation script subprocess returned error exit status 1
Error while loading /var/lib/dpkg/info/linux-dtb-current-sunxi64.postinst: Exec format error
dpkg: error while cleaning up:
 installed linux-dtb-current-sunxi64 package post-installation script subprocess returned error exit status 1


I googled a bit and found this post :
https://askubuntu.com/questions/1001795/unable-to-execute-new-pre-installation-script-var-lib-dpkg-tmp-ci-preinst

It stipulates that perinst file in the package should start with a shebang, I have checked and it's  effectively missing in the package.

Running the `perinst` file strait on the prompt does not trow error.

Am I getting something wrong or I just win the opportunity to fill an official bug report somewhere ?? 

--Fred

Link to comment
Share on other sites

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