Jump to content

ERROR in function install_deb_chroot


pennm

Recommended Posts

Hello all,

 

I want to build armbian for Pinebook Pro with LUKS enabled but I'm hitting this error. This is happening regardless of build environment (I've tried virtualbox, docker, vagrant) or board selection (most recently I tried building orangepipcplus).

 

.... ] Installing [ armbian-focal-desktop-gnome_21.05.0-trunk_all.deb ]
[ error ] ERROR in function install_deb_chroot [ image-helpers.sh:148 ]
[ error ] Installation of /root/armbian-focal-desktop-gnome_21.05.0-trunk_all.deb failed [ pinebook-pro focal yes rockchip64 ]
[ o.k. ] Process terminated
[ o.k. ] Unmounting [ /root/build/.tmp/rootfs-712d9aa2-7aa7-4e20-ae2e-21136ed09662/ ]
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:65 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated

 

Any suggestions on what is causing this failure?

 

Thanks,

Matt

Link to comment
Share on other sites

On 3/7/2021 at 2:28 PM, Igor said:


Building everything from sources (should work) or from repository (won't work yet)?

 

I had been hitting this error in both cases.

On 3/7/2021 at 8:36 AM, Werner said:

Check output/debug/ folder for further logs.

 

The install log suggests a conflict between the base package and the desktop package. I am able to create a server image without issues so for now that gives me what I needed!

 

Selecting previously unselected package armbian-focal-desktop-gnome.
(Reading database ... 89075 files and directories currently installed.)
Preparing to unpack .../armbian-focal-desktop-gnome_21.05.0-trunk_all.deb ...
Unpacking armbian-focal-desktop-gnome (21.05.0-trunk) ...
dpkg: error processing archive /root/armbian-focal-desktop-gnome_21.05.0-trunk_all.deb (--unpack):
 trying to overwrite '/etc/udev/hwdb.d/10-usb-kbd.hwdb', which is also in package linux-focal-root-current-pinebook-pro 21.05.0-trunk
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /root/armbian-focal-desktop-gnome_21.05.0-trunk_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Link to comment
Share on other sites

6 hours ago, pennm said:

Selecting previously unselected package armbian-focal-desktop-gnome.
(Reading database ... 89075 files and directories currently installed.)
Preparing to unpack .../armbian-focal-desktop-gnome_21.05.0-trunk_all.deb ...
Unpacking armbian-focal-desktop-gnome (21.05.0-trunk) ...
dpkg: error processing archive /root/armbian-focal-desktop-gnome_21.05.0-trunk_all.deb (--unpack):
 trying to overwrite '/etc/udev/hwdb.d/10-usb-kbd.hwdb', which is also in package linux-focal-root-current-pinebook-pro 21.05.0-trunk
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /root/armbian-focal-desktop-gnome_21.05.0-trunk_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

@Rich Neese any idea?

Link to comment
Share on other sites

I'm having the same problem, trying to build sunxi-dev/5.11 images or Pine H64 B:

 

Displaying message: ERROR in function install_deb_chroot image-helpers.sh:148 err
Displaying message: Installation of /root/armbian-zsh_21.05.0-trunk_all.deb failed pineh64-b hirsute no sunxi64 err
Displaying message: Process terminated  info

 

zsh (5.8-6) wird eingerichtet ...
tmux (3.1c-1) wird eingerichtet ...
armbian-zsh (21.05.0-trunk) wird eingerichtet ...
Trigger für man-db (2.9.4-2) werden verarbeitet ...
Trigger für libc-bin (2.33-0ubuntu2) werden verarbeitet ...
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault (core dumped)
dpkg: Fehler beim Bearbeiten des Paketes libc-bin (--configure):
 »installiertes libc-bin-Skript des Paketes post-installation«-Unterprozess gab den Fehlerwert 139 zurück
Fehler traten auf beim Bearbeiten von:
 libc-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

 

Built everything from source, tried both desktop and CLI images (the above logs are from that attempt), both Hirsute.

EDIT: Same with Bullseye.

Edited by P.P.A.
Link to comment
Share on other sites

1 hour ago, P.P.A. said:

I'm having the same problem, trying to build sunxi-dev/5.11 images or Pine H64 B:

 

 

 

Built everything from source, tried both desktop and CLI images (the above logs are from that attempt), both Hirsute.

EDIT: Same with Bullseye.

Hirsute/Bullseye build seems broken. Qemu issue.

Link to comment
Share on other sites

On 3/9/2021 at 11:35 AM, Werner said:

Hirsute/Bullseye build seems broken. Qemu issue.

It seems to be system-specific.

  • Pine H64 B + Hirsute: doesn't build.
  • Pine H64 B + Bullseye: doesn't build.
  • Pine H64 B + Focal: builds, doesn't install
  • OPiPC + Hirsute: builds.
  • OPiPC+ + Bullseye: builds.

(All sunxi-dev)

EDIT:

  • Rock64 + Bullseye: doesn't build.

(dev as well)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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