diyself 发表于 2005-3-14 23:47:18

rc1 apt 升级

通过碧轩的网站apt后出现:
Do you want to continue? y
Committing changes...
Preparing...###########################################
      file /usr/java/j2re1.4.2_05/lib/font.properties from install of mgc-patch-1.0-14mgc conflicts with file from package j2re-1.4.2_05-fcs
      file /etc/updfstab.conf.default from install of hwdata-0.150-1mgc conflicts with file from package kudzu-1.1.20-11mgc
E: Error while running transaction
#         
why????花了几个小时才下载完啊!!!!!!!!!!!11

diyself 发表于 2005-3-14 23:49:12

而且我是用了apt-get dist-upgrade -f的啊
why不行啊??????????????

myopia 发表于 2005-3-15 00:06:02

导致冲突的原因说来话长
不说了

遇到类似的的 file conflicts
有一个变通的解决办法
以你的情况为例
你需要手动安装 mgc-patch-1.0-14mgchwdata-0.150-1mgc 这俩个包
用这两个命令

rpm -Uvh --replacefiles mgc-patch-1.0-14mgc.rpm
rpm -Uvh --replacefiles hwdata-0.150-1mgc.rpm

使用 --replacefiles 参数不会引入依赖问题, 可放心使用

Good luck

diyself 发表于 2005-3-15 00:29:13

请问mgc-patch-1.0-14mgc hwdata-0.150-1mgc 这俩个包哪里有下载啊?谢谢

myopia 发表于 2005-3-15 00:31:31

碧轩的网站啊

可以apt 当然也可以手动下载喽

diyself 发表于 2005-3-15 01:00:34

谢谢,已经找到!
楼上的大哥还在吗?请看
###########################################
   7:initscriptswarning: /etc/rc.d/rc.local saved as /etc/rc.d/rc.local.rpmsave

########################################### [ 41%]
47:Magiconf########################################### [ 42%]
ln: ‘/usr/bin/magiconf’:文件已存在
error: %post(Magiconf-0.8-1mgc.i686) scriptlet failed, exit status 1
48:XFree86-100dpi-fonts########################################### [ 42%]


########################################### [ 79%]
90:k3bwarning: user wqx does not exist - using root 97%)
warning: user wqx does not exist - using root
warning: user wqx does not exist - using root
warning: user wqx does not exist - using root
########################################### [ 80%]
warning: user wqx does not exist - using root
warning: user wqx does not exist - using root
warning: user wqx does not exist - using root
91:kde-i18n-zh_CN########################################### [ 81%]


113:xine-lib-devel###########################################
W: Some errors occurred while running transaction
这有大问题吗?

myopia 发表于 2005-3-15 01:39:54

没什么问题

have fun
页: [1]
查看完整版本: rc1 apt 升级