Pothosware PPA: armhf packages now available

138 views
Skip to first unread message

Josh Blum

unread,
Aug 21, 2015, 10:28:31 PM8/21/15
to pothos...@googlegroups.com
Hello list,

Linaro users may find this useful. The ubuntu packages are now available
for the armhf architecture. Just follow the ubuntu instructions here:

https://github.com/pothosware/pothos/wiki/Downloads#ubuntu-package-repository

Even for those building from source, you may find the pre-built
dependencies useful:

https://github.com/pothosware/pothos/wiki/BuildGuide#ubuntu

Thanks!
-josh

ivansant...@gmail.com

unread,
Sep 14, 2015, 5:56:25 PM9/14/15
to Pothos Users, jo...@joshknows.com
Hi list.
Thank you Josh for the information, but I tried to add the PPAs on a Parallella board and I had the following:

aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Linaro/trusty

Many thanks in advance for any information.

Josh Blum

unread,
Sep 14, 2015, 6:14:20 PM9/14/15
to ivansant...@gmail.com, Pothos Users


On 09/14/2015 02:56 PM, ivansant...@gmail.com wrote:
> Hi list.
> Thank you Josh for the information, but I tried to add the PPAs on a
> Parallella board and I had the following:
>
> aptsources.distro.NoDistroTemplateException: Error: could not find a
> distribution template for Linaro/trusty
>
> Many thanks in advance for any information.

This might be some missing configuration file or misconfigured file on
the system. A quick search led me to this:
https://askubuntu.com/questions/49040/apt-could-not-find-a-distribution-template-error

So you might try
sudo apt-get install lsb-release software-properties-common

See if that fixes it, also see what lsb_release -a prints

This is what lsb_release prints in my linaro system where the PPAs
worked: lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid

And there was also that suggestion to edit /etc/lsb-release with some
corrected information.

Let us know if one of those suggestions helps,
thanks,
-josh

ivansant...@gmail.com

unread,
Sep 14, 2015, 6:39:05 PM9/14/15
to Pothos Users, ivansant...@gmail.com, jo...@joshknows.com
Many Thanks Josh for your quick answer...  

I tried what you said but I already have that packages:

lsb-release is already the newest version.
software-properties-common is already the newest version.

The command lsb_release -a printed:

No LSB modules are available.
Distributor ID: Linaro
Description:    Linaro 14.04
Release:        14.04
Codename:       trusty

So, I changed the file /etc/lsb-release, Linaro for Ubuntu...  And so the PPAs was added.

Then I tried to install the dependencies, sudo apt-get install pothos-all pothos-gui pothos-widgets, and I had the following...

The following packages have unmet dependencies:
 pothos-gui : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                       libqt5gui5-gles (>= 5.0.2) but it is not installable
              Depends: libqt5widgets5 (>= 5.2.0) but it is not going to be installed
 pothos-widgets : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be installed or
                           libqt5gui5-gles (>= 5.0.2) but it is not installable
                  Depends: libqt5widgets5 (>= 5.0.2) but it is not going to be installed
                  Depends: libqwt6-qt5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Josh you are the best !!  Many thanks in advance for any information.
Best Regards

Josh Blum

unread,
Sep 14, 2015, 7:07:00 PM9/14/15
to ivansant...@gmail.com, Pothos Users

>
> The command lsb_release -a printed:
>
> No LSB modules are available.
> Distributor ID: Linaro
> Description: Linaro 14.04
> Release: 14.04
> Codename: trusty
>
>
> So, I changed the file /etc/lsb-release, Linaro for Ubuntu... And so the
> PPAs was added.
>

Ok thats good to know. Perhaps linaro (for the vivid series) changed
this config by default to say Ubuntu. I tested on the linaro copy from
here FWIW: http://releases.linaro.org/15.06/ubuntu/vivid-images/

> Then I tried to install the dependencies, sudo apt-get install pothos-all
> pothos-gui pothos-widgets, and I had the following...
>
> The following packages have unmet dependencies:
> pothos-gui : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be
> installed or
> libqt5gui5-gles (>= 5.0.2) but it is not installable
> Depends: libqt5widgets5 (>= 5.2.0) but it is not going to be
> installed
> pothos-widgets : Depends: libqt5gui5 (>= 5.0.2) but it is not going to be
> installed or
> libqt5gui5-gles (>= 5.0.2) but it is not
> installable
> Depends: libqt5widgets5 (>= 5.0.2) but it is not going to
> be installed
> Depends: libqwt6-qt5 but it is not going to be installed
> E: Unable to correct problems, you have held broken packages.
>

Not 100% sure, its always hard to figure out these package version
issues. I'm guessing that either linaro trusty has different qt versions
vs the ubuntu ppa, or maybe your particular system was left in a bad
state in regards to the qt packages for some reason.

See if its possible to get qt properly installed from the package
manager. This might reveal other packages issues. And I'm curious what
version of the qt packages get installed. That might be important:
sudo apt-get install qtbase5-dev libqt5svg5-dev

Might also try this is there is a broken package issue...
sudo apt-get install -f

I hope that helps,
-josh

ivansant...@gmail.com

unread,
Sep 14, 2015, 8:27:47 PM9/14/15
to Pothos Users, ivansant...@gmail.com, jo...@joshknows.com
Thanks Josh for your quick answer again!!!
I tried to install the packages with and without the -f option... I got the same output in both:

The following packages have unmet dependencies:
 libqt5svg5-dev : Depends: libqt5svg5 (= 5.2.1-1) but it is not going to be installed
 qtbase5-dev : Depends: libgles2-mesa-dev or
                        libgles2-dev but it is not installable
               Depends: libqt5gui5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed
               Depends: libqt5printsupport5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed
               Depends: libqt5widgets5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed
               Recommends: libqt5opengl5-dev (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


Following the recomendation,  I added libqt5opengl5-dev, and then I got:

The following packages have unmet dependencies:
 libqt5opengl5-dev : Depends: libqt5opengl5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed
 libqt5svg5-dev : Depends: libqt5svg5 (= 5.2.1-1) but it is not going to be installed
 qtbase5-dev : Depends: libgles2-mesa-dev or
                        libgles2-dev but it is not installable
               Depends: libqt5gui5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed
               Depends: libqt5printsupport5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed
               Depends: libqt5widgets5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have installed and running GNU Radio on my parallella, that uses Qt4, I don't know if the issue is related with that.  I ran dpkg -l libqt* and I got:

parallella@parallella:~/pothos/build$ dpkg -l libqt*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                 Version         Architecture    Description
+++-====================-===============-===============-=============================================
ii  libqt4-dbus:armhf    4:4.8.5+git192- armhf           Qt 4 D-Bus module
ii  libqt4-declarative:a 4:4.8.5+git192- armhf           Qt 4 Declarative module
un  libqt4-declarative-f <none>          <none>          (no description available)
un  libqt4-declarative-g <none>          <none>          (no description available)
un  libqt4-declarative-p <none>          <none>          (no description available)
un  libqt4-declarative-s <none>          <none>          (no description available)
ii  libqt4-designer:armh 4:4.8.5+git192- armhf           Qt 4 designer module
ii  libqt4-dev           4:4.8.5+git192- armhf           Qt 4 development files
ii  libqt4-dev-bin       4:4.8.5+git192- armhf           Qt 4 development programs
ii  libqt4-help:armhf    4:4.8.5+git192- armhf           Qt 4 help module
ii  libqt4-network:armhf 4:4.8.5+git192- armhf           Qt 4 network module
un  libqt4-opengl-dev    <none>          <none>          (no description available)
ii  libqt4-qt3support:ar 4:4.8.5+git192- armhf           Qt 3 compatibility library for Qt 4
ii  libqt4-script:armhf  4:4.8.5+git192- armhf           Qt 4 script module
ii  libqt4-scripttools:a 4:4.8.5+git192- armhf           Qt 4 script tools module
ii  libqt4-sql:armhf     4:4.8.5+git192- armhf           Qt 4 SQL module
ii  libqt4-sql-mysql:arm 4:4.8.5+git192- armhf           Qt 4 MySQL database driver
un  libqt4-sql-odbc      <none>          <none>          (no description available)
un  libqt4-sql-psql      <none>          <none>          (no description available)
un  libqt4-sql-sqlite    <none>          <none>          (no description available)
ii  libqt4-svg:armhf     4:4.8.5+git192- armhf           Qt 4 SVG module
ii  libqt4-test:armhf    4:4.8.5+git192- armhf           Qt 4 test module
un  libqt4-webkit        <none>          <none>          (no description available)
ii  libqt4-xml:armhf     4:4.8.5+git192- armhf           Qt 4 XML module
ii  libqt4-xmlpatterns:a 4:4.8.5+git192- armhf           Qt 4 XML patterns module
ii  libqtcore4:armhf     4:4.8.5+git192- armhf           Qt 4 core module
un  libqtcore4-perl      <none>          <none>          (no description available)
ii  libqtdbus4:armhf     4:4.8.5+git192- armhf           Qt 4 D-Bus module library
ii  libqtgui4:armhf      4:4.8.5+git192- armhf           Qt 4 GUI module
un  libqtgui4-perl       <none>          <none>          (no description available)
ii  libqtwebkit-dev      2.3.2-0ubuntu7  armhf           Web content engine library for Qt - developme
ii  libqtwebkit4:armhf   2.3.2-0ubuntu7  armhf           Web content engine library for Qt


Thanks Josh. Many thanks in advance for any information.
Best Regards from Medellín-Colombia.

Josh Blum

unread,
Sep 15, 2015, 12:52:04 AM9/15/15
to ivansant...@gmail.com, Pothos Users

>
> Following the recomendation, I added libqt5opengl5-dev, and then I got:
>
> The following packages have unmet dependencies:
> libqt5opengl5-dev : Depends: libqt5opengl5 (= 5.2.1+dfsg-1ubuntu14.3) but
> it is not going to be installed
> libqt5svg5-dev : Depends: libqt5svg5 (= 5.2.1-1) but it is not going to be
> installed
> qtbase5-dev : Depends: libgles2-mesa-dev or
> libgles2-dev but it is not installable
> Depends: libqt5gui5 (= 5.2.1+dfsg-1ubuntu14.3) but it is not
> going to be installed
> Depends: libqt5printsupport5 (= 5.2.1+dfsg-1ubuntu14.3) but
> it is not going to be installed
> Depends: libqt5widgets5 (= 5.2.1+dfsg-1ubuntu14.3) but it is
> not going to be installed
> E: Unable to correct problems, you have held broken packages.
>
>
> I have installed and running GNU Radio on my parallella, that uses Qt4, I
> don't know if the issue is related with that. I ran dpkg -l libqt* and I
> got:
>

Perhaps there is a package conflict between Qt5 and Qt4. Maybe they
cannot be installed at the same time. I'm not sure.

Try to remove/purge all packages for qt (4 and 5), gnuradio, and
anything from the pothos ppa. See if apt becomes "happy" again. Then try
to install qtbase5-dev libqt5svg5-dev.

If there is a Qt5 vs Qt4 conflict, this means that gr-qtgui and
pothos-gui+widgets cannot be installed at the same time. Although most
other components from these packages should not be a problem.

I hope that helps. I'm not an apt expert, so you might have to fight the
package manager a little more to figure out what the real issue is. I
think that the PPA is working correctly, and that this is an expected
(yet annoying) packaging conflict. :-(

-josh

ivansant...@gmail.com

unread,
Sep 15, 2015, 9:50:38 AM9/15/15
to Pothos Users, ivansant...@gmail.com, jo...@joshknows.com
Josh you are the best!!!! Thank you very much!!!  I'll keep working on the issue, In fact I'll burn a new Parallella image to try without GNU Radio.  If I solve the problem I'll write the solution; maybe somebody will have the same issue in the future.
Best Regards

ivansant...@gmail.com

unread,
Sep 15, 2015, 12:49:19 PM9/15/15
to Pothos Users, ivansant...@gmail.com, jo...@joshknows.com
Hi Josh.  I tried to install qtbase5-dev on a new parallella image and I got the same.
So, I've been working around this problem, It seems that is a bug in Ubuntu 14.04-2, that affects qtbase5-dev.  (https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1435324)  
In fact, the problem is related with an issue with mesa (https://bugs.launchpad.net/ubuntu/+source/mesa/+bug/1424466)  
I'll keep working on this issue.
Thanks Josh.
Reply all
Reply to author
Forward
0 new messages