请教一个困扰我很久的软件包依赖性的问题
发表于 : 2012-03-13 10:24
我的10.04装好后,这将近半年的时间一直有包的以来性问题,譬如我要装个libqt4-opengl,
然后就提示错误:
sudo apt-get install libqt4-opengl
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:
libqt4-opengl: Depends: libqtcore4 (= 4:4.6.2-0ubuntu5) but 4:4.6.2-0ubuntu5.3 is to be installed
Depends: libqtgui4 (= 4:4.6.2-0ubuntu5) but 4:4.6.2-0ubuntu5.3 is to be installed
E: Broken packages
hliu@hliu-desktop:~$ sudo apt-get install libqt4-opengl
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:
libqt4-opengl: Depends: libqtcore4 (= 4:4.6.2-0ubuntu5) but 4:4.6.2-0ubuntu5.3 is to be installed
Depends: libqtgui4 (= 4:4.6.2-0ubuntu5) but 4:4.6.2-0ubuntu5.3 is to be installed
E: Broken packages
这个错误我觉得很奇怪,其实他要求4.6.2的libqtcore4,而且我也有4.6.2, 也就是说软件包是没有问题。
唯一的区别就是在ubuntu5和ubuntu5.3上,其实这个检查是没有必要的,我现在什么软件也装不了,非常郁闷,求帮助。
补充一下:我用的是官方的源:
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
然后就提示错误:
sudo apt-get install libqt4-opengl
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:
libqt4-opengl: Depends: libqtcore4 (= 4:4.6.2-0ubuntu5) but 4:4.6.2-0ubuntu5.3 is to be installed
Depends: libqtgui4 (= 4:4.6.2-0ubuntu5) but 4:4.6.2-0ubuntu5.3 is to be installed
E: Broken packages
hliu@hliu-desktop:~$ sudo apt-get install libqt4-opengl
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:
libqt4-opengl: Depends: libqtcore4 (= 4:4.6.2-0ubuntu5) but 4:4.6.2-0ubuntu5.3 is to be installed
Depends: libqtgui4 (= 4:4.6.2-0ubuntu5) but 4:4.6.2-0ubuntu5.3 is to be installed
E: Broken packages
这个错误我觉得很奇怪,其实他要求4.6.2的libqtcore4,而且我也有4.6.2, 也就是说软件包是没有问题。
唯一的区别就是在ubuntu5和ubuntu5.3上,其实这个检查是没有必要的,我现在什么软件也装不了,非常郁闷,求帮助。
补充一下:我用的是官方的源:
deb http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ lucid main restricted universe multiverse