Jump to content
Not connected, Your IP: 18.219.15.112
Amiable0

Eddie won't install on Raspberry pi model 3 B

Recommended Posts

So I've been trying to install Eddie on my Rpi model 3 B, but all I get is the following:

 

2j5qSzH.png

 

However, when I check the architecture of the system, it claims that the architecture is armv71

 

Bbh66fr.png

 

Any idea what's going on?

 

Just to clarify, I renamed it test.deb to make it easier to type but the same thing happens if I keep the original file name

Share this post


Link to post

Generally, because armhf != armv7l, even if it's logically the same.. thanks, Debian.


NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Both Raspbian and Ubuntu MATE have this problem. Thankfully it's easy to fix.

armhf and armv7l are more or less the same, but dpkg will only allow you to install packages that it recognizes as compatible.

The solution is to change the architecture line in the .deb's configuration.

 

I used the script below to make to modifications. A year or so ago, it was used to make modifications to the dependencies of older versions of Eddie to fix issues with Ubuntu 16.04. It originated in this Ubuntu forum post (scroll down, the version I used is the final one) https://ubuntuforums.org/showthread.php?t=636724

 

1. Copy the script into a new text file.

2. Make the script executable

 

chmod +x <filename>

 

3. Run the script, pass the name of the Eddie .deb file as the only parameter.

4. Nano will open with a small file. Find the 'Architecture: armv7l' line and change it to 'Architecture: armhf'

5. Ctrl+O then Enter to write out the changes and Ctrl+X to exit nano. The script will now modify the .deb and drop the modified copy in the same directory where the original is.

6. Done! You should now be able to install the package.

#!/bin/bash

EDITOR=nano

if [[ -z "$1" ]]; then
  echo "Syntax: $0 debfile"
  exit 1
fi

DEBFILE="$1"
TMPDIR=`mktemp -d /tmp/deb.XXXXXXXXXX` || exit 1
#OUTPUT=`basename "$DEBFILE" .deb`.modfied.deb
OUTPUT="."

#if [[ -e "$OUTPUT" ]]; then
#  echo "$OUTPUT exists."
#  rm -r "$TMPDIR"
#  exit 1
#fi

dpkg-deb -x "$DEBFILE" "$TMPDIR"
dpkg-deb --control "$DEBFILE" "$TMPDIR"/DEBIAN

if [[ ! -e "$TMPDIR"/DEBIAN/control ]]; then
  echo DEBIAN/control not found.

  rm -r "$TMPDIR"
  exit 1
fi

CONTROL="$TMPDIR"/DEBIAN/control

MOD=`stat -c "%y" "$CONTROL"`
$EDITOR "$CONTROL"

if [[ "$MOD" == `stat -c "%y" "$CONTROL"` ]]; then
  echo Not modfied.
else
  echo Building new deb...
  dpkg -b "$TMPDIR" "$OUTPUT"
fi

rm -r "$TMPDIR"

Share this post


Link to post

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.   Paste as plain text instead

  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...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...