Git Product home page Git Product logo

Comments (9)

 avatar commented on May 18, 2024

This problem also occurs in the ca-certificates package.

from termuxalpine.

djrivington avatar djrivington commented on May 18, 2024

I have the same problem as well:

[termux@alpine home]# apk add nmap
(1/4) Installing libgcc (6.4.0-r5)
(2/4) Installing libpcap (1.8.1-r1)
(3/4) Installing libstdc++ (6.4.0-r5)
(4/4) Installing nmap (7.60-r2)
Executing busybox-1.27.2-r6.trigger
ERROR: busybox-1.27.2-r6.trigger: script exited with error 127
OK: 16 MiB in 15 packages

So far I haven't been able to find out what exactly this error means.

I keep getting it on both my armv8l asus chromebook and aarch64 android phone.

from termuxalpine.

pts avatar pts commented on May 18, 2024

I'm also getting this error. How can this be debugged? Is there way to make apk show the real error message?

from termuxalpine.

pts avatar pts commented on May 18, 2024

It looks like the trigger script works fine when executed manually:

# tar xvf scripts.tar busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/WOw1mNRvBYo=.trigger
busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/WOw1mNRvBYo=.trigger
# cat busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/
cat: read error: Is a directory
# cat busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/WOw1mNRvBYo\=.trigger 
#!/bin/sh

do_bb_install=

for i in "$@"; do
        case "$i" in
                /lib/modules/*)
                        if [ -d "$i" ]; then
                                /bin/busybox depmod ${i#/lib/modules/}
                        fi
                        ;;
                *) do_bb_install=yes;;
        esac
done

if [ -n "$do_bb_install" ]; then
        [ -e /bin/bbsuid ] && /bin/bbsuid --install
        [ -e /bin/busybox-extras ] && /bin/busybox-extras --install -s
        /bin/busybox --install -s
fi
# busybox-1.27.2-r7.Q16KKkDenzjdRkzTB/WOw1mNRvBYo\=.trigger  x          
# echo $?
0

So why does apk fail when executing this script?

from termuxalpine.

Hax4us avatar Hax4us commented on May 18, 2024

Finally I found the root cause and the problem is in proot so I will give a PR to proot and this problem will be solved after my PR merge

from termuxalpine.

Hax4us avatar Hax4us commented on May 18, 2024

My PR is merged now and just upgrade your proot and reinstall Alpine

from termuxalpine.

grind086 avatar grind086 commented on May 18, 2024

I'm still getting this error even though I have the new version of proot according to termux/termux-packages#2464 (revision 10)

$ apt install proot
Reading package lists... Done
Building dependency tree
Reading state information... Done
proot is already the newest version (5.1.107-10).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I've done a fresh install of everything including termux itself. Any suggestions?

from termuxalpine.

gauloics avatar gauloics commented on May 18, 2024

I'm also still getting this error 😭

from termuxalpine.

probonopd avatar probonopd commented on May 18, 2024

I am running into what looks like a similar error, but unrelated to Termux (I am not using it): proot-me/proot#191.

from termuxalpine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.