好吧,我有点困惑。从网站上安装Code :: Blocks之后,顶部栏弹出了一个小错误。它说“错误:BrokenCount> 0”,并且我的一个软件包有未满足的依赖关系。我立即知道这是Code :: Blocks,因为我回想起安装它时看到的错误,它无法安装codeblocks-contrib软件包和其他一些软件包。我尝试了apt-get install -f和所有建议,甚至尝试进入软件中心并单击“修复”,但这会启动类似在终端中发现的错误。这是我的sudo apt-get install -f的输出:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
codeblocks-contrib codeblocks-dev gamin libcodeblocks0 libgamin0
libwxsmithlib-dev
Recommended packages:
valgrind
The following packages will be REMOVED:
codeblocks-headers
The following NEW packages will be installed:
gamin libgamin0 libwxsmithlib-dev
The following packages will be upgraded:
codeblocks-contrib codeblocks-dev libcodeblocks0
3 upgraded, 3 newly installed, 1 to remove and 0 not upgraded.
9 not fully installed or removed.
Need to get 0 B/5,309 kB of archives.
After this operation, 1,163 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 249992 files and directories currently installed.)
Preparing to unpack .../codeblocks-dev_13.12-3_amd64.deb ...
Unpacking codeblocks-dev (13.12-3) over (13.12-1) ...
dpkg: error processing archive /var/cache/apt/archives/codeblocks-dev_13.12-3_amd64.deb (--unpack):
trying to overwrite '/usr/include/codeblocks/externaldepsdlg.h', which is also in package codeblocks-headers 13.12-1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/codeblocks-dev_13.12-3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
可能最好是检查一个ppa仓库或查看它是否在Ubuntu仓库中,然后sudo apt-get remove
再检查sudo apt-get install
它。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句