• Fw: Re: Can you help me run Box64 on my Raspberry Pi 5?

    From Matt Timpson@21:1/5 to All on Tue Apr 8 17:00:02 2025
    Hello,

    Dan told me to send this to the mailing list instead of individual people. This command worked:

    sudo apt install ./scanner_x86_64_1.7.2312301E.deb

    However, I still need to find the executable and run it. I think it's "scanner:amd".


    Thanks,
    Matt Timpson 🍉


    Sent with Proton Mail secure email.

    ------- Forwarded Message -------
    From: Matt Timpson <mdtymczyszyn@proton.me>
    Date: On Monday, April 7th, 2025 at 19:34
    Subject: Re: Can you help me run Box64 on my Raspberry Pi 5?
    To: Timothy M Butterworth <timothy.m.butterworth@gmail.com>


    Hello,

    Never mind, it worked the second time for some reason! However, Box64 doesn't know where to find the file "scanner:amd", which I assume is the executable.


    Thanks,
    Matt Timpson 🍉


    Sent with Proton Mail secure email.


    On Monday, 7 April 2025 at 16:01, Matt Timpson mdtymczyszyn@proton.me wrote:

    Hello,

    Thank you for writing back! Unfortunately, I think I made a syntax error. Punching in this:

    sudo apt install ./scanner_x86_64_1.7.2312301E.deb

    returned this:

    N: Download is performed unsandboxed as root as file '/home/pi/Downloads/scanner_x86_64_1.7.2312301E.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

    Thanks,
    Matt Timpson 🍉

    Sent with Proton Mail secure email.

    On Monday, April 7th, 2025 at 14:00, Timothy M Butterworth timothy.m.butterworth@gmail.com wrote:

    On Mon, Apr 7, 2025 at 12:24 PM Matt Timpson mdtymczyszyn@proton.me wrote:

    Hello all,

    I want to run a .deb file written for x64 processors on my Raspberry Pi 5, which I run Linux on. Unfortunately I don't know a damn thing about computers and need step-by-step instructions. I have tried and failed to pay computer technicians
    online to help me because most of them don't work in Linux.

    To install .deb packages on Debian run the following commands:

    'cd ~/Downloads' This assumes the download is in the Downloads folder on your home directory.

    'sudo apt install ./*.deb' This command will install all .deb packages in the directory.

    Tim

    Thanks,
    Matt Timpson 🍉

    Sent with Proton Mail secure email.

    ------- Forwarded Message -------
    From: Steve McIntyre 93sam@debian.org
    Date: On Monday, April 7th, 2025 at 09:21
    Subject: Re: Please register an account for me
    To: Matt Timpson mdtymczyszyn@proton.me
    CC: wiki@debian.org wiki@debian.org

    On Mon, Apr 07, 2025 at 11:46:37AM +0000, Matt Timpson wrote:

    Hello,

    I've tried to emulate a .deb file written for x64 processors on my Raspberry Pi 5, but I can't figure it out. I can't even pay someone to help me because most people don't work in Linux.

    The wiki is a place for Debian developers and community members to write documentation related to Debian. It's not really a place to ask questions if you're asking for support.

    If you're looking for assistance with using Debian, there are several better places:

    * the debian-user mailing list: debian-user@lists.debian.org
    * IRC: #debian on irc.debian.org
    * forums: https://forums.debian.net/

    Also, do you have a policy on AI scraping your community-run encyclopedia? I would love to ask a robot for help rather than take time out of real people's lives.

    Many of the morons running crawlers for AI training have been killing sites like the Debian wiki with uncontrolled crawling, ignoring information like robots.txt. We've had to block a lot of sites and networks because of this appalling selfish behaviour.

    --
    Steve McIntyre 93sam@debian.org
    Debian wiki admin - wiki.debian.org wiki@debian.org

    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
    ⠈⠳⣄⠀⠀

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From tomas@tuxteam.de@21:1/5 to Matt Timpson on Tue Apr 8 17:30:01 2025
    On Tue, Apr 08, 2025 at 02:37:25PM +0000, Matt Timpson wrote:
    Hello,

    Dan told me to send this to the mailing list instead of individual people. This command worked:

    sudo apt install ./scanner_x86_64_1.7.2312301E.deb

    However, I still need to find the executable and run it. I think it's "scanner:amd".

    "dpkg -L <package name> will tell you which files the package has installed.

    The executable command will probably be in /usr/bin, perhaps in
    /usr/sbin if it's only intended for root to run.

    Cheers
    --
    t

    -----BEGIN PGP SIGNATURE-----

    iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZ/U/kQAKCRAFyCz1etHa RhmQAJ0WJDQXQbogaQfpEl1ETcnzBv0BOACbBtvQix1r0jiGO6ZyhvsUOxV5Dkc=
    =SG+C
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Timpson@21:1/5 to Timothy M Butterworth on Tue Apr 8 23:30:02 2025
    Hoo boy, I have my work cut out for me:


    IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!
    Importing the multiarray numpy extension module failed.  Most
    likely you are trying to import a failed build of numpy.
    Here is how to proceed:
    - If you're working with a numpy git repository, try `git clean -xdf`
      (removes all files not under version control) and rebuild numpy.
    - If you are simply trying to use the numpy version that you have installed:
      your installation is broken - please reinstall numpy.
    - If you have already reinstalled and that did not fix the problem, then:
      1. Check that you are using the Python you expect (you're using /opt/scanner/scanner),
         and that you have no directories in your PATH or PYTHONPATH that can
         interfere with the Python and numpy versions you're trying to use.
      2. If (1) looks fine, you can open a new issue at
         https://github.com/numpy/numpy/issues.  Please include details on:
         - how you installed Python
         - how you installed numpy
         - your operating system
         - whether or not you have multiple versions of Python installed
         - if you built from source, your compiler versions and ideally a build log

         Note: this error has many possible causes, so please don't comment on      an existing issue about this - open a new one instead.

    Original error was: Cannot dlopen("/opt/scanner/numpy.core._multiarray_umath.so"/0x604e20ac, 2)


    [6369] Failed to execute script main


    Can I ask what this means?

    Thanks,
    Matt Timpson 🍉


    Sent with Proton Mail secure email.

    On Tuesday, 8 April 2025 at 12:37, Timothy M Butterworth <timothy.m.butterworth@gmail.com> wrote:



    On Tue, Apr 8, 2025 at 10:54 AM Matt Timpson <mdtymczyszyn@proton.me> wrote:

    Hello,

    Dan told me to send this to the mailing list instead of individual people. This command worked:

    sudo apt install ./scanner_x86_64_1.7.2312301E.deb

    However, I still need to find the executable and run it. I think it's "scanner:amd".


    'dpkg-query -L scanner' will display the installed files.



    Thanks,
    Matt Timpson 🍉


    Sent with Proton Mail secure email.

    ------- Forwarded Message -------
    From: Matt Timpson <mdtymczyszyn@proton.me>
    Date: On Monday, April 7th, 2025 at 19:34
    Subject: Re: Can you help me run Box64 on my Raspberry Pi 5?
    To: Timothy M Butterworth <timothy.m.butterworth@gmail.com>


    Hello,

    Never mind, it worked the second time for some reason! However, Box64 doesn't know where to find the file "scanner:amd", which I assume is the executable.


    Thanks,
    Matt Timpson 🍉


    Sent with Proton Mail secure email.


    On Monday, 7 April 2025 at 16:01, Matt Timpson mdtymczyszyn@proton.me wrote:

    Hello,

    Thank you for writing back! Unfortunately, I think I made a syntax error. Punching in this:

    sudo apt install ./scanner_x86_64_1.7.2312301E.deb

    returned this:

    N: Download is performed unsandboxed as root as file '/home/pi/Downloads/scanner_x86_64_1.7.2312301E.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

    Thanks,
    Matt Timpson 🍉

    Sent with Proton Mail secure email.

    On Monday, April 7th, 2025 at 14:00, Timothy M Butterworth timothy.m.butterworth@gmail.com wrote:

    On Mon, Apr 7, 2025 at 12:24 PM Matt Timpson mdtymczyszyn@proton.me wrote:

    Hello all,

    I want to run a .deb file written for x64 processors on my Raspberry Pi 5, which I run Linux on. Unfortunately I don't know a damn thing about computers and need step-by-step instructions. I have tried and failed to pay computer technicians
    online to help me because most of them don't work in Linux.

    To install .deb packages on Debian run the following commands:

    'cd ~/Downloads' This assumes the download is in the Downloads folder on your home directory.

    'sudo apt install ./*.deb' This command will install all .deb packages in the directory.

    Tim

    Thanks,
    Matt Timpson 🍉

    Sent with Proton Mail secure email.

    ------- Forwarded Message -------
    From: Steve McIntyre 93sam@debian.org
    Date: On Monday, April 7th, 2025 at 09:21
    Subject: Re: Please register an account for me
    To: Matt Timpson mdtymczyszyn@proton.me
    CC: wiki@debian.org wiki@debian.org

    On Mon, Apr 07, 2025 at 11:46:37AM +0000, Matt Timpson wrote:

    Hello,

    I've tried to emulate a .deb file written for x64 processors on my
    Raspberry Pi 5, but I can't figure it out. I can't even pay someone
    to help me because most people don't work in Linux.

    The wiki is a place for Debian developers and community members to
    write documentation related to Debian. It's not really a place to ask
    questions if you're asking for support.

    If you're looking for assistance with using Debian, there are several
    better places:

    * the debian-user mailing list: debian-user@lists.debian.org
    * IRC: #debian on irc.debian.org
    * forums: https://forums.debian.net/

    Also, do you have a policy on AI scraping your community-run encyclopedia? I would love to ask a robot for help rather than take
    time out of real people's lives.

    Many of the morons running crawlers for AI training have been killing
    sites like the Debian wiki with uncontrolled crawling, ignoring information like robots.txt. We've had to block a lot of sites and
    networks because of this appalling selfish behaviour.

    --
    Steve McIntyre 93sam@debian.org
    Debian wiki admin - wiki.debian.org wiki@debian.org

    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
    ⠈⠳⣄⠀⠀



    --
    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system ⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org/
    ⠈⠳⣄⠀⠀

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jonathan Dowland@21:1/5 to Matt Timpson on Wed Apr 9 09:30:02 2025
    On Tue Apr 8, 2025 at 10:04 PM BST, Matt Timpson wrote:
    Original error was: Cannot dlopen("/opt/scanner/numpy.core._multiarray_umath.so"/0x604e20ac, 2)


    [6369] Failed to execute script main


    Can I ask what this means?

    That most likely is you trying to indirectly run an executable in x86_64
    format on the Pi which is arm64. You haven't shared what command you
    ran to provoke this error, but it looks like you need to inject box64 somewhere in the execution path.


    --
    Please do not CC me for listmail.

    👱🏻 Jonathan Dowland
    jmtd@debian.org
    🔗 https://jmtd.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Greg Wooledge@21:1/5 to Matt Timpson on Wed Apr 9 21:50:01 2025
    On Wed, Apr 09, 2025 at 19:15:31 +0000, Matt Timpson wrote:
    I'd also like to know what "numpy" is and what is does.

    apt-cache show python3-numpy

    or do a Google/Duckduckgo/Bing search for it.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Matt Timpson@21:1/5 to Jonathan Dowland on Wed Apr 9 21:40:01 2025
    Certainly. I used this command:

    cd /opt/scanner

    and get this error when I follow it up with either

    box64 scanner

    or

    box64 run_scanner.sh

    I'd also like to know what "numpy" is and what is does.


    Thanks,
    Matt Timpson 🍉


    Sent with Proton Mail secure email.

    On Wednesday, 9 April 2025 at 03:22, Jonathan Dowland <jmtd@debian.org> wrote:

    On Tue Apr 8, 2025 at 10:04 PM BST, Matt Timpson wrote:

    Original error was: Cannot dlopen("/opt/scanner/numpy.core._multiarray_umath.so"/0x604e20ac, 2)

    [6369] Failed to execute script main

    Can I ask what this means?


    That most likely is you trying to indirectly run an executable in x86_64 format on the Pi which is arm64. You haven't shared what command you
    ran to provoke this error, but it looks like you need to inject box64 somewhere in the execution path.


    --
    Please do not CC me for listmail.

    👱🏻 Jonathan Dowland
    jmtd@debian.org
    🔗 https://jmtd.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)