Jump to content


Photo

Eddie won't install on Raspberry pi model 3 B


  • Please log in to reply
2 replies to this topic

#1 sbzk101

sbzk101

    Newbie

  • New Members
  • Pip
  • 2 posts

Posted 15 May 2017 - 04:05 PM

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



#2 Treiberschreiber

Treiberschreiber

    :() { :|: & }; :

  • Members
  • PipPipPip
  • 2349 posts
  • LocationGermany

Posted 18 May 2017 - 07:10 AM

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


Always remember:
There's a guide to AirVPN,

Amazon IPs are not dangerous here,
running TOR exits is discouraged,

using spoilers for your logs is the proper way to heaven.
Same issues are rare! Search for solutions and if not successful open your own threads.

~ Furthermore, I propose that your paranoia is to be destroyed. ~

 


#3 Pteranodon

Pteranodon

    Newbie

  • New Members
  • Pip
  • 3 posts

Posted 23 May 2017 - 04:12 PM

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"






Similar Topics Collapse

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Users: 13420 - BW: 40840 Mbit/sYour IP: 54.156.92.46Guest Access.