I am not new to Linux, I have been been admining Unix servers since the 90's and for the last 10+ managing a RHEL shop with > 300 servers.
I am new to Raspberry PI, the package managment is a bit different but everything else is very straightforward.
I am attempting to replace an old Two Tones setup that a consultant setup for our department. (Well before I joined the department).
I picked up a Raspberry PI 3 and a USB sound adaptor. I am planning on replacing the old Windows PC with the Raspberry PI.
pi@raspberrypi3:~/TTD $ cat /etc/debian_version
8.0
I THINK that I have all of the packages that are needed to be installed.
I ran into an issue with ffmpeg:
pi@raspberrypi3:~/TTD $ sudo apt-get install ffmpeg
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ffmpeg' has no installation candidate
For that I just download and compiled a version and symlinked into into the TTD dir:
pi@raspberrypi3:~/TTD $ ls -lsa
total 99464
4 drwxr-xr-x 2 pi pi 4096 Feb 27 11:41 .
4 drwxr-xr-x 10 pi pi 4096 Feb 27 21:49 ..
15864 -rwxr-xr-x 1 pi pi 16242128 Dec 31 21:16 LevelMeter
16800 -rwxr-xr-x 1 pi pi 17202736 Dec 31 21:14 TonesEditor9a
17312 -rwxr-xr-x 1 pi pi 17724132 Dec 18 03:50 TwoToneDetect70
49472 -rw-r--r-- 1 pi pi 50658410 Feb 27 05:31 TwoToneDetect70.tgz
4 -rw-r--r-- 1 pi pi 2432 Jan 18 2017 config.cfg
0 lrwxrwxrwx 1 pi pi 21 Feb 27 11:41 ffmpeg -> /usr/local/bin/ffmpeg
4 -rw-r--r-- 1 pi pi 2196 Jan 15 2017 tones.cfg
I may still have a codec issue later as apt-get also didn't find this package:
sudo apt-get install libavcodec-extra57
Any any case I am running into what should be a basic issue that don't see an easy fix for:
pi@raspberrypi3:~/TTD $ ./TwoToneDetect70
Traceback (most recent call last):
File "TwoToneDetect70.py", line 14, in <module>
File "/tmp/pip-build-YarybJ/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 396, in load_module
File "lib-tk/Tkinter.py", line 42, in <module>
ImportError: /tmp/_MEIHG8d4N/libX11.so.6: undefined symbol: xcb_poll_for_reply64, please install the python-tk package
[4827] Failed to execute script TwoToneDetect70
pi@raspberrypi3:~/TTD $ sudo apt-get install python-tk
Reading package lists... Done
Building dependency tree
Reading state information... Done
python-tk is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I have attempted to remove python-tk along with python3-tk and reinstall incase it was corrupt without any luck. (I think that TTD is a phython2 application but I wanted to cover my bases with the phython3 version too).
When I run this;
pi@raspberrypi3:~ $ python
Python 2.7.9 (default, Sep 17 2016, 20:26:04)
[GCC 4.9.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>> Tkinter.Tk()
<Tkinter.Tk instance at 0x76a63328>
>>>
A window displays on my laptop showing the python-tk should be working.