Ubuntu 18.04에 gnuradio를 설치하려고 할 때 "충족되지 않은 종속성" 오류 발생

Ubuntu 18.04에 gnuradio를 설치하려고 할 때 "충족되지 않은 종속성" 오류 발생

여기 가이드를 따르세요.

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

설치를 시도합니다.

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

내 결과:

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.

오류 패키지 중 하나를 사용하여 종속성 체인을 올라가면 마침내 다음과 같은 결과가 나타납니다.

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.

그리고 마지막으로:

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

libvolk2.2를 검색하면 Debian의 sid(불안정) 저장소에 있음을 알 수 있습니다. 그러나 gnuradio 설치에 대해 검색해 보면 sid 저장소를 사용해야 한다는 언급이 없습니다. 그리고 만약 그렇다면 내가 사용한 가이드에서도 그 점을 언급할 것 같습니다.

따라서 SID 저장소를 사용하여 손상 위험을 감수하기 전에 필요한 것 중 내가 보지 못한 다른 것이 있는지 확인하고 싶습니다.

도움을 주셔서 감사합니다.

도움을 주시면 감사하겠습니다.

[편집] 이는 18.04를 새로 설치한 것이며 자동 소프트웨어 업데이트 프로그램인 AFAICT가 모든 것을 최신 상태로 유지한다는 점도 언급하고 싶습니다.

답변1

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

위의 PPA 리포지토리 중 하나만 추가해야 하며 세 개를 모두 추가해야 하는 것은 아닙니다.

따라서 SID 저장소를 사용하여 손상 위험을 감수하기 전에 필요한 것 중 내가 보지 못한 다른 것이 있는지 확인하고 싶습니다.

예, 현재 의 패키지가 ppa:gnuradio/gnuradio-master손상된 것 같습니다. 방금 저장소에서 gnuradio 3.8을 성공적으로 설치했습니다 ppa:gnuradio/gnuradio-releases.

먼저 을(를) 제거한 ppa:gnuradio/gnuradio-releases다음 ppa:gnuradio/gnuradio-releases-3.7다시 설치 해야 합니다.gnuradio

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

관련 정보