Fehler „unerfüllte Abhängigkeiten“ beim Versuch, Gnuradio unter Ubuntu 18.04 zu installieren

Fehler „unerfüllte Abhängigkeiten“ beim Versuch, Gnuradio unter Ubuntu 18.04 zu installieren

Befolgen Sie die Anleitung hier:

https://wiki.gnuradio.org/index.php/InstallingGR#Ubuntu_PPA_Installation

Ich versuche zu installieren:

sudo add-apt-repository ppa:gnuradio/gnuradio-releases
sudo add-apt-repository ppa:gnuradio/gnuradio-master
sudo add-apt-repository ppa:gnuradio/gnuradio-releases-3.7
sudo apt-get update
sudo apt install gnuradio

Meine Ausgabe:

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-analog (>= 3.9.0.0git~master~13593~bionic) but it is not     going to be installed
        Depends: libgnuradio-audio (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-blocks (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-channels (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-digital (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-dtv (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-fec (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-fft (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-filter (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-qtgui (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-runtime (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-trellis (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-uhd (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-video-sdl (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-vocoder (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-wavelet (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Depends: libgnuradio-zeromq (>= 3.9.0.0git~master~13593~bionic) but it is not going to be installed
        Recommends: python3-qwt-qt5 but it is not installable
E: Unable to correct problems, you have held broken packages.

Wenn ich mit einem der fehlerhaften Pakete die Abhängigkeitskette nach oben gehe, erhalte ich schließlich:

sudo apt-get install libgnuradio-runtime
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-runtime : Depends: libvolk2.2 (>= 2.2.0) but it is not installable
E: Unable to correct problems, you have held broken packages.

Und schlussendlich:

sudo apt-get install libvolk2.2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libvolk2.2 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 'libvolk2.2' has no installation candidate

Die Suche nach libvolk2.2 zeigt, dass es sich im Sid-Repository (instabil) von Debian befindet. Wenn ich jedoch nach der Installation von gnuradio suche, finde ich keinen Hinweis darauf, dass Sid-Repositorys verwendet werden müssen. Und wenn das der Fall wäre, würde dies in der Anleitung, die ich verwendet habe, auch erwähnt werden.

Bevor ich also auf die Verwendung von SID-Repositorys zurückgreife und das Risiko einer Systemstörung eingehe, möchte ich prüfen, ob es noch etwas anderes gibt, das ich nicht sehe, das aber benötigt wird.

Vielen Dank für jede Hilfe.

Für Hilfe wäre ich sehr dankbar.

[BEARBEITEN] Ich möchte auch erwähnen, dass dies eine Neuinstallation von 18.04 ist und meines Wissens nach das automatische Software-Update alles auf dem neuesten Stand hat.

Antwort1

sudo add-apt-repository ppa:gnuradio/gnuradio-releases
sudo add-apt-repository ppa:gnuradio/gnuradio-master
sudo add-apt-repository ppa:gnuradio/gnuradio-releases-3.7

Sie müssen nur eines der oben genannten PPA-Repositorys hinzufügen und nicht alle drei.

Bevor ich also auf die Verwendung von SID-Repositorys zurückgreife und das Risiko einer Systemstörung eingehe, möchte ich prüfen, ob es noch etwas anderes gibt, das ich nicht sehe, das aber benötigt wird.

Ja, die Pakete ppa:gnuradio/gnuradio-masterscheinen derzeit defekt zu sein. Ich habe gerade erfolgreich Gnuradio 3.8 aus dem ppa:gnuradio/gnuradio-releasesRepository installiert.

Zuerst müssen Sie die ppa:gnuradio/gnuradio-releasesund entfernen ppa:gnuradio/gnuradio-releases-3.7und dann erneut versuchen, zu installierengnuradio

rm /etc/apt/sources.list.d/gnuradio-ubuntu-gnuradio-master-bionic.list
rm /etc/apt/sources.list.d/gnuradio-ubuntu-gnuradio-releases-3_7-bionic.list
apt-get install gnuradio

verwandte Informationen