apt install gnuradio fails due to depends

Asked by tomdean

I tried to install gnuradio. Is the package broken?
I do not seem to have any broken packages (sudo apt-get install -f)
dpkg shows no packages with a hold status

> uname -a
Linux Meerkat 5.0.0-21-generic #22+system76-Ubuntu SMP Tue Jul 16 19:57:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

> cat /etc/os-release
NAME="Ubuntu"
VERSION="18.04.2 LTS (Bionic Beaver)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 18.04.2 LTS"
VERSION_ID="18.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=bionic
UBUNTU_CODENAME=bionic

> sudo apt install gnuradio
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 gnuradio : Depends: libgnuradio-atsc3.7.11 but it is not going to be installed
            Depends: libgnuradio-comedi3.7.11 but it is not going to be installed
            Depends: libgnuradio-dtv3.7.11 but it is not going to be installed
            Depends: libgnuradio-fec3.7.11 but it is not going to be installed
            Depends: libgnuradio-wavelet3.7.11 but it is not going to be installed
            Recommends: python-qwt-qt5 but it is not installable
E: Unable to correct problems, you have held broken packages.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bashing-om (bashing-om) said :
#1

tomdean; Hummmm ...

As we have " Depends: libgnuradio-atsc3.7.11 but it is not going to be installed", the question is why is it not install-able

The repo does have it; per:
apt list libgnuradio-atsc3.7.11

So as a poke at the situation to learn more - what results:
sudo apt install libgnuradio-atsc3.7.11

-the hunt is on-

Revision history for this message
tomdean (tomdean) said :
#2

On 7/25/19 8:52 PM, Bashing-om wrote:
> Your question #682336 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682336
>
> Status: Open => Needs information
>
> Bashing-om requested more information:
> tomdean; Hummmm ...
>
> As we have " Depends: libgnuradio-atsc3.7.11 but it is not going to be
> installed", the question is why is it not install-able
>
> The repo does have it; per:
> apt list libgnuradio-atsc3.7.11
>
> So as a poke at the situation to learn more - what results:
> sudo apt install libgnuradio-atsc3.7.11
>
> -the hunt is on-
>

eerkat> sudo apt install libgnuradio-atsc3.7.11
[sudo] password for tomdean:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libgnuradio-atsc3.7.11 : Depends: libgnuradio-fec3.7.11 but it is not
going to be installed
E: Unable to correct problems, you have held broken packages.
Meerkat> sudo apt install libgnuradio-fec3.7.11
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
  libgnuradio-fec3.7.11 : Depends: libgsl23 but it is not going to be
installed
                          Depends: libgslcblas0 but it is not going to
be installed
E: Unable to correct problems, you have held broken packages.
Meerkat> sudo apt install libgslcblas0
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer
required:
   asi-common fxload libapogee3 libboost-regex1.58.0 libcfitsio2
libdc1394-22
   libfishcamp libfli2 libftdi1-2 libgps22 libindi-data libnova-0.14-0
libqhy
   libqsi7 libsbig
Use 'sudo apt autoremove' to remove them.
Suggested packages:
   gsl-ref-psdoc | gsl-doc-pdf | gsl-doc-info | gsl-ref-html
The following packages will be REMOVED:
   indi-aagcloudwatcher indi-apogee indi-armadillo-platypus indi-asi
indi-bin
   indi-dsi indi-duino indi-eqmod indi-ffmv indi-fishcamp indi-fli indi-full
   indi-gphoto indi-gpsd indi-gpsnmea indi-maxdomeii indi-mgen indi-mi
   indi-nexdome indi-nexstarevo indi-nightscape indi-qhy indi-qsi indi-sbig
   indi-shelyak indi-sx libgsl2 libindi1
The following NEW packages will be installed:
   libgslcblas0
0 upgraded, 1 newly installed, 28 to remove and 0 not upgraded.
Need to get 79.7 kB of archives.
After this operation, 12.0 MB disk space will be freed.
Do you want to continue? [Y/n]

After answering Y and then
 > sudo apt install gnu radio
...
Processing triggers for shared-mime-info (1.9-2) ...
/usr/share/mime/packages/gnuradio.xml:1: parser error : Start tag
expected, '<' not found
/usr/share/gnuradio/grc/freedesktop/gnuradio-grc.xml
^
Failed to parse '/usr/share/mime/packages/gnuradio.xml'
...

seemingly success.

Maybe a broken link in package dependencies???

Tom Dean

Revision history for this message
Bashing-om (bashing-om) said :
#3

tomdean;
"Maybe a broken link in package dependencies???" >> Hard to say at this time.

Does gnuradio now install, or do we have to look at those other failed dependencies ?

-sometimes I do wonder-

Revision history for this message
tomdean (tomdean) said :
#4

On 7/25/19 9:37 PM, Bashing-om wrote:
> Your question #682336 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/682336
>
> Status: Open => Needs information
>
> Bashing-om requested more information:
> tomdean;
> "Maybe a broken link in package dependencies???" >> Hard to say at this time.
>
> Does gnuradio now install, or do we have to look at those other failed
> dependencies ?
>
> -sometimes I do wonder-
>

Sorry, I was not clear. gnuradio did install, after I installed
libgslcblas0.

I tried sudo apt install libgnuradio-atsc3.7.11 - failed
Then, sudo apt install libgnuradio-fec3.7.11 - failed
Then, sudo apt install libgslcblas0 - success
Then, sudo apt install gnu radio - success

===============
There was one message when installing gnuradio:

Processing triggers for shared-mime-info (1.9-2) ...
/usr/share/mime/packages/gnuradio.xml:1: parser error : Start tag
expected, '<' not found
/usr/share/gnuradio/grc/freedesktop/gnuradio-grc.xml
^
Failed to parse '/usr/share/mime/packages/gnuradio.xml'

Don't understand, yet, what the processing trigger message for
shared-mime-info means. So far, it has not caused a problem.

Tom Dean

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

The XML error message is caused by a known bug, https://bugs.launchpad.net/ubuntu/+source/gnuradio/+bug/1769432
It should not do any harm.
There is a proposed workaround in the bug report:

rm /usr/share/mime/packages/gnuradio.xml
ln -s /usr/share/gnuradio/grc/freedesktop/gnuradio-grc.xml /usr/share/mime/packages/gnuradio.xml

Can you help with this problem?

Provide an answer of your own, or ask tomdean for more information if necessary.

To post a message you must log in.