Using dpkg to install on Raspberry Pi
-
Changed topic as WGET works fine;
-
Can you use gdebi?
-
@stacksofplates said in Using dpkg to install on Raspberry Pi:
Can you use gdebi?
yes
pi@raspberrypi:~ $ sudo gdebi --apt-line wspr_2.00r1714_i386.deb Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Failed to open the software package The package might be corrupted or you are not allowed to open the file. Check the permissions of the file.
-
@gjacobse said in Using dpkg to install on Raspberry Pi:
@stacksofplates said in Using dpkg to install on Raspberry Pi:
Can you use gdebi?
yes
pi@raspberrypi:~ $ sudo gdebi --apt-line wspr_2.00r1714_i386.deb Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Failed to open the software package The package might be corrupted or you are not allowed to open the file. Check the permissions of the file.
I tried to run it with dpkg and it failed for me also, however it was a different error. They might have just packaged it badly.
-
@stacksofplates said in Using dpkg to install on Raspberry Pi:
@gjacobse said in Using dpkg to install on Raspberry Pi:
@stacksofplates said in Using dpkg to install on Raspberry Pi:
Can you use gdebi?
yes
pi@raspberrypi:~ $ sudo gdebi --apt-line wspr_2.00r1714_i386.deb Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Failed to open the software package The package might be corrupted or you are not allowed to open the file. Check the permissions of the file.
I tried to run it with dpkg and it failed for me also, however it was a different error. They might have just packaged it badly.
so may not be the nut behind the keyboard,...
-
Here's what I got:
jhooks@megatron:~/Downloads$ sudo gdebi wspr_2.00r1714_i386.deb [sudo] password for jhooks: Reading package lists... Done Building dependency tree Reading state information... Done Reading state information... Done This package is uninstallable Cannot install 'python-tk:i386'
-
Well there is another package available
pi@raspberrypi:~ $ wget http://physics.princeton.edu/pulsar/K1JT/wspr_2.11r2263_i386.deb --2016-10-26 19:51:40-- http://physics.princeton.edu/pulsar/K1JT/wspr_2.11r2263_i386.deb Resolving physics.princeton.edu (physics.princeton.edu)... 128.112.100.6 Connecting to physics.princeton.edu (physics.princeton.edu)|128.112.100.6|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 648034 (633K) [text/plain] Saving to: ‘wspr_2.11r2263_i386.deb’ wspr_2.11r2263_i386.deb 100%[============================================================>] 632.85K 322KB/s in 2.0s 2016-10-26 19:51:42 (322 KB/s) - ‘wspr_2.11r2263_i386.deb’ saved [648034/648034]
However:
pi@raspberrypi:~ $ sudo gdebi --apt-line wspr_2.11r2263_i386.deb Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done This package is uninstallable Wrong architecture 'i386' pi@raspberrypi:~ $
-
Guess it's not meant to be for now. Meh,.. come back tomorrow and poke at it. I hear the TV calling.
-
@gjacobse said in Using dpkg to install on Raspberry Pi:
Trying to install the WSPR - Weak Signal Propagation Report software on the rPi3 and running into a small error.
pi@raspberrypi:~ $ sudo dpkg --instdir=. -i wspr_2.00r1714_i386.deb dpkg-deb: error: `wspr_2.00r1714_i386.deb' is not a debian format archive dpkg: error processing archive wspr_2.00r1714_i386.deb (--install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: wspr_2.00r1714_i386.deb
Pretty sure @scottalanmiller (or others) can spot the issue in a moment,.. but I'm not seeing it.
Downloading the package doesn't take long, as it's only about 2MB.
Are you sure you want to install an i386 package on armhf? I don't know the software, but it could be a native compiled binary for x86 as the name suggests. You can't run that directly on ARM (except for some emulation in between like QEMU).
Solution: Use an ARM version
-
@gjacobse said in Using dpkg to install on Raspberry Pi:
... Wrong architecture 'i386' ...
Oh, you already found the failure
-
@thwr said in Using dpkg to install on Raspberry Pi:
@gjacobse said in Using dpkg to install on Raspberry Pi:
... Wrong architecture 'i386' ...
Oh, you already found the failure
I glossed over that ha.
-
Okay so, not likely to get running-
Ah well.. It was a thought. It's not like I don't have several other options on running that software. Just thought it would be interesting to see what I could do with it... Part of the fun - Experimentation
-
According to this article you should be able to compile it for ARM pretty easily on the Pi.
-
@aidan_walsh said in Using dpkg to install on Raspberry Pi:
According to this article you should be able to compile it for ARM pretty easily on the Pi.
Had not found that yet....
Guess I know what I am doing for the next bit...well,.. in between trying to resolve a Windows 8.1 File Explorer issue on (gasp) another MS Surface.
-
My guess is that it didn't compile correctly:
pi@raspberrypi:~/wspr $ ./wspr Traceback (most recent call last): File "wspr.py", line 38, in <module> import Image, ImageTk, ImageDraw ImportError: No module named Image
-
Missing a dependency?
-
@aidan_walsh said in Using dpkg to install on Raspberry Pi:
Missing a dependency?
Sudo apt-get update
was run prior to starting
-
Didi you grab the branch the article refers to or the latest?
And
sudo apt-get install build-essential subversion python2.7-dev python-numpy python-imaging-tk python-pmw libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 python-dev hamlib-utils
?
-
Yes - that was done. Went line by line.
-
Going at it again... going line by line of this page:
http://wsprnet.org/drupal/node/5353
sudo apt-get update Get:1 http://archive.raspberrypi.org jessie InRelease [13.2 kB] Hit http://mirrordirector.raspbian.org jessie InRelease Hit http://mirrordirector.raspbian.org jessie/main armhf Packages Get:2 http://archive.raspberrypi.org jessie/main armhf Packages [106 kB] Hit http://mirrordirector.raspbian.org jessie/contrib armhf Packages Hit http://mirrordirector.raspbian.org jessie/non-free armhf Packages Hit http://mirrordirector.raspbian.org jessie/rpi armhf Packages Get:3 http://archive.raspberrypi.org jessie/ui armhf Packages [52.7 kB] Ign http://archive.raspberrypi.org jessie/main Translation-en_US Ign http://archive.raspberrypi.org jessie/main Translation-en Ign http://archive.raspberrypi.org jessie/ui Translation-en_US Ign http://archive.raspberrypi.org jessie/ui Translation-en Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_US Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en Ign http://mirrordirector.raspbian.org jessie/main Translation-en_US Ign http://mirrordirector.raspbian.org jessie/main Translation-en Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_US Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_US Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en Fetched 172 kB in 6s (25.0 kB/s) Reading package lists... Done
sudo apt-get install build-essential subversion python2.7-dev python-numpy python-imaging-tk python-pmw libportaudio2 portaudio19-dev libsamplerate0-dev gfortran cl-fftw3 python-dev hamlib-utils Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libhamlib-utils' instead of 'hamlib-utils' build-essential is already the newest version. cl-fftw3 is already the newest version. gfortran is already the newest version. libhamlib-utils is already the newest version. libportaudio2 is already the newest version. libsamplerate0-dev is already the newest version. portaudio19-dev is already the newest version. python-dev is already the newest version. python-imaging-tk is already the newest version. python-numpy is already the newest version. python-pmw is already the newest version. python2.7-dev is already the newest version. subversion is already the newest version. The following packages were automatically installed and are no longer required: libboost-atomic1.55.0 libboost-filesystem1.55.0 libboost-program-options1.55.0 libboost-regex1.55.0 libboost-thread1.55.0 libcwiid1 libjs-prettify libqscintilla2-11 libqscintilla2-l10n libqt4-network libqt4-xmlpatterns libqtwebkit4 libruby1.9.1 libruby1.9.1-dbg libruby2.1 libscsynth1 libtcl8.5 libtcltk-ruby1.9.1 libtk8.5 libyaml-0-2 ri1.9.1 ruby ruby1.9.1 ruby1.9.1-dev ruby1.9.1-examples ruby1.9.1-full ruby1.9.3 ruby2.1 rubygems-integration supercollider supercollider-common supercollider-ide supercollider-language supercollider-server supercollider-supernova tcl8.5 tk8.5 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 72 not upgraded.
Thus far nothing has changed or updated.