两个对战软件包的依赖性已完全阻止了APT


1

一周前,我尝试安装gnuradio-dev失败,但放弃了。我几乎不知道,显然我的拙劣尝试使APT陷入了困境。安装,删除或运行dist-upgrade(或任何其他APT命令)会使我遇到依赖性错误。

我打开了软件中心,以查看是否有建议,并提出了维修建议。失败了,但是我终于得到了一条有用的错误消息:

(Reading database ... 333769 files and directories currently installed.)
Preparing to unpack .../libgnuradio-iqbalance_0.37.2-gqrx~trusty6_amd64.deb ...
Unpacking libgnuradio-iqbalance (0.37.2-gqrx~trusty6) ...
dpkg: error processing archive /var/cache/apt/archives/libgnuradio-iqbalance_0.37.2-gqrx~trusty6_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/python2.7/dist-packages/gnuradio/iqbalance/__init__.py', which is also in package gr-iqbal 0.37.1.5.d4fd4d-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libgnuradio-iqbalance_0.37.2-gqrx~trusty6_amd64.deb
Error in function: 
dpkg: dependency problems prevent configuration of gr-osmosdr:
 gr-osmosdr depends on libgnuradio-iqbalance; however:
  Package libgnuradio-iqbalance is not installed.

dpkg: error processing package gr-osmosdr (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgnuradio-osmosdr0.1.4:amd64:

尝试安装libgnuradio-iqbalance会让我这样:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libgnuradio-iqbalance
0 upgraded, 1 newly installed, 0 to remove and 77 not upgraded.
2 not fully installed or removed.
Need to get 0 B/91.2 kB of archives.
After this operation, 555 kB of additional disk space will be used.
(Reading database ... 333769 files and directories currently installed.)
Preparing to unpack .../libgnuradio-iqbalance_0.37.2-gqrx~trusty6_amd64.deb ...
Unpacking libgnuradio-iqbalance (0.37.2-gqrx~trusty6) ...
dpkg: error processing archive /var/cache/apt/archives/libgnuradio-iqbalance_0.37.2-gqrx~trusty6_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/python2.7/dist-packages/gnuradio/iqbalance/__init__.py', which is also in package gr-iqbal 0.37.1.5.d4fd4d-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libgnuradio-iqbalance_0.37.2-gqrx~trusty6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

我在这里不需要gnuradio-我很高兴将其删除,但是当我apt-get remove时出现依赖错误。我完成了添加PPA后如何解决未满足的依赖关系的第一部分(不超过PPA部分),但没有骰子。

还有其他想法吗?甚至核?完全愿意对所有gnuradio的东西进行核对,然后恢复正常工作的机器。


1
您也尝试gr-osmosdr过删除吗?sudo apt-get remove libgnuradio-iqbalance gr-osmosdr
roadmr

哇靠。我...我不知道你能做到。工作完美。请定期回答,以便为您提供虚构的Internet积分。
Bill Sempf

通过遵循以下说明,我能够解决相同的问题(但在16.04上):gqrx.dk/download/install-ubuntu,我认为apt-get purge命令可以解决此问题。然后重新安装gnuradio和gqrx似乎很顺利。从那时起,我对包装系统和升级没有任何问题。

Answers:


1

也尝试删除gr-osmosdrsudo apt-get remove libgnuradio-iqbalance gr-osmosdr


他做到了。阅读现有帖子。他按照我的要求做了。
比尔·森普夫
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.