我做了一件蠢事。我只是将scp我的rpmforge repo 文件从另一台(工作)机器编辑到我的开发箱,然后运行yum update. 这产生了:
root@dev07 /etc/yum.repos.d # yum update
Loaded plugins: refresh-packagekit, security
rpmforge | 1.9 kB 00:00
rpmforge/primary_db | 2.7 MB 00:01
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package htop.x86_64 0:1.0.1-2.el6 will be updated
---> Package htop.x86_64 0:1.0.3-1.el6.rf will be an update
---> Package libewf.x86_64 0:20100226-1.el6 will be updated
---> Package libewf.x86_64 0:20100226-1.el6.rf will be an update
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.021-136.el6 will be updated
---> Package perl-Compress-Raw-Bzip2.x86_64 0:2.052-1.el6.rf will be an update
---> Package testdisk.x86_64 0:6.14-1.el6 will be updated
---> Package testdisk.x86_64 0:6.14-1.el6.rf will be an update
--> Processing Dependency: libreiserfs-0.3.so.0()(64bit) for package: testdisk-6.14-1.el6.rf.x86_64
--> Processing Dependency: libntfs-3g.so.84()(64bit) for package: testdisk-6.14-1.el6.rf.x86_64
---> Package xclip.x86_64 0:0.12-1.el6 will be updated
---> Package xclip.x86_64 0:0.12-1.el6.rf will be an update
--> Running transaction check
---> Package fuse-ntfs-3g.x86_64 0:2013.1.13-2.el6.rf will be installed
---> Package progsreiserfs.x86_64 0:0.3.0.4-1.2.el6.rf will be installed
--> Finished Dependency Resolution
Dependencies Resolved
========================================================================================================================================================================================================================
Package Arch Version Repository Size
========================================================================================================================================================================================================================
Updating:
htop x86_64 1.0.3-1.el6.rf rpmforge 87 k
libewf x86_64 20100226-1.el6.rf rpmforge 343 k
perl-Compress-Raw-Bzip2 x86_64 2.052-1.el6.rf rpmforge 104 k
testdisk x86_64 6.14-1.el6.rf rpmforge 451 k
xclip x86_64 0.12-1.el6.rf rpmforge 27 k
Installing for dependencies:
fuse-ntfs-3g x86_64 2013.1.13-2.el6.rf rpmforge 483 k
progsreiserfs x86_64 0.3.0.4-1.2.el6.rf rpmforge 119 k
Transaction Summary
========================================================================================================================================================================================================================
Install 2 Package(s)
Upgrade 5 Package(s)
Total download size: 1.6 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): fuse-ntfs-3g-2013.1.13-2.el6.rf.x86_64.rpm | 483 kB 00:00
(2/7): htop-1.0.3-1.el6.rf.x86_64.rpm | 87 kB 00:00
(3/7): libewf-20100226-1.el6.rf.x86_64.rpm | 343 kB 00:00
(4/7): perl-Compress-Raw-Bzip2-2.052-1.el6.rf.x86_64.rpm | 104 kB 00:00
(5/7): progsreiserfs-0.3.0.4-1.2.el6.rf.x86_64.rpm | 119 kB 00:00
(6/7): testdisk-6.14-1.el6.rf.x86_64.rpm | 451 kB 00:00
(7/7): xclip-0.12-1.el6.rf.x86_64.rpm | 27 kB 00:00
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 873 kB/s | 1.6 MB 00:01
warning: rpmts_HdrFromFdno: Header V3 DSA/SHA1 Signature, key ID 6b8d79e6: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
Run Code Online (Sandbox Code Playgroud)
哎呀。我没有按照指示去做。所以我*rpmforge*从 中删除了文件/etc/yum.repos.d/,并以正确的方式重新开始。在我尝试另一个之前一切都很好yum update:
[snip]
Transaction Check Error:
file /sbin/mount.lowntfs-3g from install of fuse-ntfs-3g-2013.1.13-2.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /sbin/mount.ntfs from install of fuse-ntfs-3g-2013.1.13-2.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /sbin/mount.ntfs-3g from install of fuse-ntfs-3g-2013.1.13-2.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/bin/ntfs-3g from install of fuse-ntfs-3g-2013.1.13-2.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/bin/ntfsmount from install of fuse-ntfs-3g-2013.1.13-2.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.8.gz from install of fuse-ntfs-3g-2013.1.13-2.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
file /usr/share/man/man8/ntfs-3g.probe.8.gz from install of fuse-ntfs-3g-2013.1.13-2.el6.rf.x86_64 conflicts with file from package ntfs-3g-2:2011.4.12-5.el6.x86_64
Error Summary
-------------
root@dev07 /etc/yum.repos.d #
Run Code Online (Sandbox Code Playgroud)
我想我可以删除这些文件,但我想确保通过获得更大的锤子,我不仅仅是首先将我的系统分解成更小的部分。
我应该如何解决这个问题?
尝试ntfs-3g-2:2011.4.12-5.el6.x86_64通过以下方式删除包:
yum 删除 ntfs-3g
查看哪些包依赖于这个包。如果yum删除包列表中只有一个包,你可以放心的删除这个包。(注意:如果您不知道它们是什么,请不要按“Y”来删除软件包。)
在这之后去yum update。