내가 멍청한 짓을 했어. 방금 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
이런. 나는 아니에요설명을 따르세요. 그래서 *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 #
파일을 삭제할 수 있을 것 같지만 더 큰 망치를 사용하여 시스템을 먼저 작은 조각으로 나누는 것이 아닌지 확인하고 싶습니다.
이 문제를 어떻게 해결해야 합니까?
답변1
ntfs-3g-2:2011.4.12-5.el6.x86_64
다음을 통해 패키지를 제거해 보세요 .
냠 ntfs-3g 제거
이 패키지에 의존하는 패키지를 확인하세요. yum 제거 패키지 목록에 하나의 패키지만 나타나는 경우 해당 패키지를 안전하게 제거할 수 있습니다. (노트:패키지가 무엇인지 모르는 경우 "Y"를 눌러 패키지를 제거하지 마세요. )
이 후에 가세요 yum update
.
답변2
캐시 디렉토리 정리 yum
:
# yum clean all
그런 다음 다음 명령을 사용하여 패키지를 다운그레이드해 보세요.
# yum downgrade fuse-ntfs-3g
매뉴얼 페이지에서:
downgrade
Will try and downgrade a package from the version currently
installed to the previously highest version (or the specified
version). The depsolver will not necessarily work, but if you
specify all the packages it should work (thus, all the simple
cases will work). Also this does not work for "installonly"
packages, like Kernels. downgrade operates on groups, files,
provides, filelists and rpm files just like the "install"
command.
또는 전체 시스템을 알려진 상태( rpmforge
패키지 제외)로 설정하려면 다음을 수행하세요.
# yum distro-sync
다시 맨 페이지에서:
distribution-synchronization or distro-sync
Synchronizes the installed package set with the latest
packages available, this is done by either obsoleting,
upgrading or downgrading as appropriate. This will "normally"
do the same thing as the upgrade command however if you have
the package FOO installed at version 4, and the latest
available is only version 3, then this command will downgrade
FOO to version 3.