A partir da pergunta acima, fica claro que o sistema tenta instalar libgnuradio-iqbalance
package e não pode. Eu não posso fazer muito até corrigir este problema, então eu ia remover os pacotes que exigiam libgnuradio-iqbalance
package. Eu digitei o comando sudo apt-get upgrade
e a saída foi como segue:
ayad@Ayad:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
gr-osmosdr : Depends: libgnuradio-iqbalance but it is not installed
libgnuradio-osmosdr0.1.4 : Depends: libgnuradio-iqbalance but it is not installed
E: Unmet dependencies. Try using -f.
É claro que tenho dois pacotes que exigem libgnuradio-iqbalance
package. Portanto, tentei excluí-los usando o comando sudo apt-get remove PACKAGE_NAME
, a saída foi como a seguinte:
ayad@Ayad:~$ sudo apt-get remove gr-osmosdr
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libgnuradio-osmosdr0.1.4 : Depends: libgnuradio-iqbalance but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
ayad@Ayad:~$ sudo apt-get remove libgnuradio-osmosdr0.1.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gqrx-sdr : Depends: libgnuradio-osmosdr0.1.4 but it is not going to be installed
gr-osmosdr : Depends: libgnuradio-osmosdr0.1.4 but it is not going to be installed
Depends: libgnuradio-iqbalance but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Na saída do Terminal, podemos ver que o pacote gr-osmosdr
não pode ser removido. E assim por diante para o pacote libgnuradio-osmosdr0.1.4
, porque é necessário dos pacotes gr-osmosdr
e gqrx-sdr
. Então eu fui deletar gqrx-sdr
package, mas não consegui deletar.
Ao pesquisar na internet, descubro uma maneira de excluir esses pacotes de aqui , usando o comando sudo dpkg --remove --force-remove-reinstreq PACKAGE_NAME
. então eu digitei o seguinte:
ayad@Ayad:~$ sudo dpkg --remove --force-remove-reinstreq gqrx-sdr
dpkg: warning: files list file for package 'arduino' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'arduino-core' missing; assuming package has no files currently installed
(Reading database ... 364867 files and directories currently installed.)
Removing gqrx-sdr (2.5.3-gqrx4~xenial) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Processing triggers for mime-support (3.59ubuntu1) ...
ayad@Ayad:~$ sudo dpkg --remove --force-remove-reinstreq gr-osmosdr
dpkg: warning: files list file for package 'arduino' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'arduino-core' missing; assuming package has no files currently installed
(Reading database ... 364858 files and directories currently installed.)
Removing gr-osmosdr (0.1.4.75.ae686c4-myriadrf3~xenial) ...
Processing triggers for man-db (2.7.5-1) ...
ayad@Ayad:~$ sudo apt-get remove libgnuradio-osmosdr0.1.4
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gr-fcdproplus libairspy0 libbladerf1 libgnuradio-fcdproplus0 libhackrf0 libmirisdr0 libosmodsp libosmosdr0 libsoapysdr0.5-2
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
libgnuradio-osmosdr0.1.4
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
10 not fully installed or removed.
After this operation, 1,052 kB disk space will be freed.
Do you want to continue? [Y/n] y
dpkg: warning: files list file for package 'arduino' missing; assuming package has no files currently installed
dpkg: warning: files list file for package 'arduino-core' missing; assuming package has no files currently installed
(Reading database ... 364826 files and directories currently installed.)
Removing libgnuradio-osmosdr0.1.4:amd64 (0.1.4.75.ae686c4-myriadrf3~xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Setting up libgnuradio-fcdproplus0 (10.0.1.0-myriadrf5~xenial) ...
Setting up gr-fcdproplus (10.0.1.0-myriadrf5~xenial) ...
Setting up libosmodsp (0.3.0-myriadrf1~xenial) ...
Setting up libsoapysdr0.5-2:amd64 (0.5.3.1.609808b-myriadrf1~xenial) ...
Setting up libairspy0:amd64 (1.0.8-1~ubuntu16.04.1~myriadrf1) ...
Setting up libbladerf1:amd64 (0.2016.01~rc1-3) ...
Setting up libhackrf0:amd64 (2015.07.2-6) ...
rmmod: ERROR: Module hackrf is not currently loaded
Setting up libmirisdr0:amd64 (0.0.4.59ba37-4) ...
Setting up libosmosdr0:amd64 (0.1.8.effcaa7-5) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
E então eu digitei o comando sudo apt-get upgrade
.
ayad@Ayad:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
gr-fcdproplus libairspy0 libbladerf1 libgnuradio-fcdproplus0 libhackrf0 libmirisdr0 libosmodsp libosmosdr0 libsoapysdr0.5-2
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
É feito.
Agora eu vou remover o gnuradio e reinstalá-lo porque acho que há alguns arquivos faltando dentro dele.