我正在运行 Ubuntu 12.04 并尝试更新 ubuntu-sdk,但今天如果不添加 phablet-team/tools PPA(如此处所述),则无法更新https://wiki.ubuntu.com/Touch/Install#Step_1_-_Desktop_Setup 我这样做了,并更新了 ubuntu-sdk。之后,当我尝试启动 Qt Creator 时,出现了以下错误:
所以我决定删除并重新安装 ubuntu-sdk 可能是个好主意。不幸的是,事实并非如此。安装时我收到错误消息。如果我尝试通过 USC 修复它,我会得到以下信息:
installArchives() failed: (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 189383 files and directories currently installed.)
Unpacking libqt4-dev (from .../libqt4-dev_4%3a4.8.1-0ubuntu4.4_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libqt4-dev_4%3a4.8.1-0ubuntu4.4_i386.deb (--unpack):
trying to overwrite '/usr/bin/uic3', which is also in package qtchooser 0.0.1~git20121229.g8f08405-0ubuntu1~precise1~test5
No apport report written because MaxReports is reached already
dpkg-deb (subprocess): subprocess data was killed by signal (Broken pipe)
dpkg-deb: error: subprocess <decompress> returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/libqt4-dev_4%3a4.8.1-0ubuntu4.4_i386.deb
Error in function:
dpkg: dependency problems prevent configuration of libqtwebkit-dev:
libqtwebkit-dev depends on libqt4-dev (>= 4:4.8.0~); however:
Package libqt4-dev is not installed.
dpkg: error processing libqtwebkit-dev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libqt4-opengl-dev:
libqt4-opengl-dev depends on libqt4-dev (= 4:4.8.1-0ubuntu4.4); however:
Package libqt4-dev is not installed.
dpkg: error processing libqt4-opengl-dev (--configure):
dependency problems - leaving unconfigured
答案1
$ sudo apt-get 安装 libbotan-1.10-0
将有助于