我在 CentOS 7 上尝试安装tidy
.由于通常的嫌疑人没有提供软件包,所以我tidy-5.1.25-64bit.rpm
从以下位置下载了 RPM:http://binaries.html-tidy.org/。当我安装此 RPM 时,我遇到了与软件包的冲突,filesystem
如下所示。
# yum install tidy-5.1.25-64bit.rpm
Loaded plugins: fastestmirror
Examining tidy-5.1.25-64bit.rpm: tidy-5.1.25-1.x86_64
Marking tidy-5.1.25-64bit.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package tidy.x86_64 0:5.1.25-1 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
====================================================================================
Package Arch Version Repository Size
====================================================================================
Installing:
tidy x86_64 5.1.25-1 /tidy-5.1.25-64bit 2.1 M
Transaction Summary
====================================================================================
Install 1 Package
Total size: 2.1 M
Installed size: 2.1 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction check error:
file /usr/share/man from install of tidy-5.1.25-1.x86_64 conflicts
with file from package filesystem-3.2-20.el7.x86_64
file /usr/share/man/man1 from install of tidy-5.1.25-1.x86_64 conflicts
with file from package filesystem-3.2-20.el7.x86_64
Error Summary
-------------
#
这只是文件权限/所有权冲突吗?如果是这样,我可以强制安装吗?我可以告诉yum
安装/usr/local
吗?