|
|

楼主 |
发表于 2006-3-21 06:59:13
|
显示全部楼层
嗯,他是直接修改了包依赖的关系!绝对是偏好文章!可以解决类似的很多问题。
我在安装f4l时候,也遇到同样问题,最后我是把libqt3c102-mt重新安装一遍来解觉得。
我将原文内容转来
When you install skype on Debian Sid, you have something like that:
PuppetMaster:/home/himura# dpkg -i skype_1.2.0.18-1_i386.deb
Selecting previously deselected package skype.
(Reading database ... 169309 files and directories currently installed.)
Unpacking skype (from skype_1.2.0.18-1_i386.deb) ...
dpkg: dependency problems prevent configuration of skype:
skype depends on libqt3c102-mt (>= 3:3.3.3.2); however:
Package libqt3c102-mt is not installed.
dpkg: error processing skype (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
skype
You have to change the dependencies with dpkg-deb. First you have to extract the package:
himura@PuppetMaster:~$ dpkg-deb -x skype_1.2.0.18-1_i386.deb skype
himura@PuppetMaster:~$ dpkg-deb -e skype_1.2.0.18-1_i386.deb skype/DEBIAN
Then, you have to edit the file skype/DEBIAN/control. Replace libqt3c102-mt (>= 3:3.3.3.2) with libqt3-mt (>=3:3.3.5-3). Finally, you have to rebuild the package:
himura@PuppetMaster:~$ dpkg-deb -b skype/ skype_1.2.0.18-1_i386.deb
dpkg-deb: building package `skype' in `skype_1.2.0.18-1_i386.deb'.
步骤可以归纳如下:
1,解开包
2,修改control,这个依赖关系控制文件
3,重建包
skype使用上例可以解决该问题,其他的也可以,只要能确定要安装的包所依赖的那个软件包,在现在的系统中,有着只是名字区别的升级版,都能够用这种方法解决问题。 |
|