LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 932|回复: 2

如何删除重复安装的包?

[复制链接]
发表于 2008-10-5 13:50:38 | 显示全部楼层 |阅读模式
一直用yum安装软件,发现有很多重复的包。用yum无法删除。还有一些早已卸载的软件依然能查出来。如下:
[root@ westsee]#package-cleanup -d
Setting up yum
Repository updates-testing is listed more than once in the configuration
1:NetworkManager-gnome-0.7.0-0.9.4.svn3675.fc9.i386
1:NetworkManager-gnome-0.7.0-0.9.3.svn3623.fc9.i386
vino-2.22.1-1.fc9.i386
vino-2.22.2-1.fc9.i386
1:gdm-2.22.0-8.fc9.i386
1:gdm-2.22.0-1.fc9.i386
sound-juicer-2.22.0-1.fc9.i386
sound-juicer-2.22.0-3.fc9.i386
……
……
……
totem-2.23.2-2.fc9.i386
totem-2.23.2-4.fc9.i386
1:gnome-games-2.22.3-1.fc9.i386
1:gnome-games-2.22.1.1-4.fc9.i386
rhythmbox-0.11.5-13.fc9.i386
rhythmbox-0.11.5-9.fc9.i386
rhythmbox-0.11.6-2.fc9.i386
达人指点。
发表于 2008-10-5 16:14:23 | 显示全部楼层
Repository updates-testing is listed more than once in the configuration

其实每个包在版本上都有点小差别。这……帮顶!
回复 支持 反对

使用道具 举报

发表于 2008-10-6 09:28:54 | 显示全部楼层
package-cleanup 有个 -clear-dups 选项
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表