Debian running in macos: illegal instruction using wget and repo

Discussion in 'Linux Virtual Machine' started by GunnarS6, Oct 10, 2022.

  1. GunnarS6

    GunnarS6 Bit poster

    Messages:
    2
    Hello forum,
    I am running Debian bookworm inside parallels on an iMac i5, 2019, 64gb ram.
    My goal was to download lineageos via the repo command
    repo init -u https://github.com/LineageOS/android.git -b lineage-19.1
    . But this command failed with an 'git was killed with signal 4' error.
    I narrowed it down to git trying to clone from an http**s** source, which I think utilizes openssl. The command
    git clone 'https://gerrit.googlesource.com/git-repo'
    dies with the error message 'git-remote-https died of signal 4'.
    When I try to do the same with wget I receive the error 'Illegal instruction' after wget connects to gerrit.googlesource.com. I am actually at a loss here.
    I do have a 16" MacBook Pro wit an i9 which has no problem running this command. But when I plugin the external ssd from my iMac, on which the Debian vm is installed and start this vm up, then on my i9 the command fails too with the above mentioned errors.
    And when I copy/paste the vm from my MacBook Pro to my iMac, the command again fails with the above mentioned error.
     
  2. GunnarS6

    GunnarS6 Bit poster

    Messages:
    2
    So for clarification, the combinations of machine / vms that work / don't work are:
    iMac 2019:
    - native (git clone https://gerrit.googlesource.com/git-repo): Works (!)
    - debian on internal drive: -> Doesn't work
    - debian on external usb ssd: -> Doesn't work
    - debian copied from internal MacBook Pro 2019: -> Doesn't work
    MacBook Pro 2019:
    - native (git clone https://gerrit.googlesource.com/git-repo): Works (!)
    - debian on internal drive: Works
    - debian on external usb ssd from the iMac 2019: Doesn't work
    - debian on internal drive, copied from iMac 2019: Doesn't work
     

Share This Page