.. 看起来至少有两个来自 EPEL 的软件包已损坏:
[alexus@wcmisdlin02 ~]$ sudo yum update --skip-broken
Loaded plugins: refresh-packagekit, security
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package libmodplug.x86_64 0:0.8.7-1.el6.rf will be updated
--> Processing Dependency: libmodplug.so.0()(64bit) for package: gstreamer-plugins-bad-0.10.19-3.el6.rf.x86_64
---> Package libmodplug.x86_64 1:0.8.8.3-2.el6 will be an update
---> Package npm.noarch 0:1.2.17-5.el6 will be updated
---> Package npm.noarch 0:1.3.3-1.el6 will be an update
--> Running transaction check
---> Package libmodplug.x86_64 0:0.8.7-1.el6.rf will be updated
---> Package libmodplug.x86_64 1:0.8.8.3-2.el6 will be an update
--> Running transaction check
---> Package npm.noarch 0:1.2.17-5.el6 will be updated
---> Package npm.noarch 0:1.3.3-1.el6 will be an update
--> Finished Dependency Resolution
Packages skipped because of dependency problems:
1:libmodplug-0.8.8.3-2.el6.x86_64 from epel
Dependencies Resolved
============================================================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================================================
Updating:
npm noarch 1.3.3-1.el6 epel 351 k
Skipped (dependency problems):
libmodplug x86_64 1:0.8.8.3-2.el6 epel 158 k
Transaction Summary
============================================================================================================================================================================================================================================
Upgrade 1 Package(s)
Total download size: 351 k
Is this ok [y/N]: y
Downloading Packages:
npm-1.3.3-1.el6.noarch.rpm | 351 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : npm-1.3.3-1.el6.noarch 1/2
Error unpacking rpm package npm-1.3.3-1.el6.noarch
error: unpacking of archive failed on file /usr/lib/node_modules/npm/man: cpio: rename
Verifying : npm-1.3.3-1.el6.noarch 1/2
npm-1.2.17-5.el6.noarch was supposed to be removed but is not!
Verifying : npm-1.2.17-5.el6.noarch 2/2
Skipped (dependency problems):
libmodplug.x86_64 1:0.8.8.3-2.el6
Failed:
npm.noarch 0:1.2.17-5.el6 npm.noarch 0:1.3.3-1.el6
Complete!
[alexus@wcmisdlin02 ~]$
我正在尝试弄清楚如何联系软件包维护者并让他/她知道这件事,但我遇到了问题,有人可以帮忙吗?
答案1
我在 npm EPEL 包更新时也遇到了同样的问题,请参见最后的错误消息。
我的解决方案是删除“npm”包并重新安装。这在我的服务器上没有问题,因为 npm“只是”nodejs 的包管理器。已安装的 npm-packages、handlebars 和 less 仍保留在服务器上 :-)
[root@somewhere yum.repos.d] # yum update
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
epel/metalink | 23 kB 00:00
* epel: ftp.uni-koeln.de
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package npm.noarch 0:1.2.17-5.el6 will be updated
---> Package npm.noarch 0:1.3.3-1.el6 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Updating:
npm noarch 1.3.3-1.el6 epel 351 k
Transaction Summary
==================================================================================================================================================================================
Upgrade 1 Package(s)
Total download size: 351 k
Is this ok [y/N]: y
Downloading Packages:
npm-1.3.3-1.el6.noarch.rpm | 351 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Updating : npm-1.3.3-1.el6.noarch 1/2
Error unpacking rpm package npm-1.3.3-1.el6.noarch
error: unpacking of archive failed on file /usr/lib/node_modules/npm/man: cpio: rename
Verifying : npm-1.3.3-1.el6.noarch 1/2
npm-1.2.17-5.el6.noarch was supposed to be removed but is not!
Verifying : npm-1.2.17-5.el6.noarch 2/2
Failed:
npm.noarch 0:1.2.17-5.el6 npm.noarch 0:1.3.3-1.el6
Complete!
[root@somewhere yum.repos.d]# yum remove npm
Loaded plugins: fastestmirror, priorities
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package npm.noarch 0:1.2.17-5.el6 will be erased
--> Finished Dependency Resolution
base | 3.7 kB 00:00
epel/metalink | 23 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Removing:
npm noarch 1.2.17-5.el6 @epel 951 k
Transaction Summary
==================================================================================================================================================================================
Remove 1 Package(s)
Installed size: 951 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : npm-1.2.17-5.el6.noarch 1/1
Verifying : npm-1.2.17-5.el6.noarch 1/1
Removed:
npm.noarch 0:1.2.17-5.el6
Complete!
[root@somewhere yum.repos.d]# yum install npm
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
epel/metalink | 23 kB 00:00
* epel: ftp.uni-koeln.de
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package npm.noarch 0:1.3.3-1.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================================================================================================
Package Arch Version Repository Size
==================================================================================================================================================================================
Installing:
npm noarch 1.3.3-1.el6 epel 351 k
Transaction Summary
==================================================================================================================================================================================
Install 1 Package(s)
Total download size: 351 k
Installed size: 1.3 M
Is this ok [y/N]: y
Downloading Packages:
npm-1.3.3-1.el6.noarch.rpm | 351 kB 00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : npm-1.3.3-1.el6.noarch 1/1
Verifying : npm-1.3.3-1.el6.noarch 1/1
Installed:
npm.noarch 0:1.3.3-1.el6
Complete!
[root@somewhere yum.repos.d] # /usr/bin/lessc
lessc: no input files
usage: lessc [option option=parameter ...] <source> [destination]
If source is set to `-' (dash or hyphen-minus), input is read from stdin.
options:
-h, --help Print help (this message) and exit.
--include-path Set include paths. Separated by `:'. Use `;' on Windows.
--no-color Disable colorized output.
-s, --silent Suppress output of error messages.
--strict-imports Force evaluation of imports.
--verbose Be verbose.
-v, --version Print version number and exit.
-x, --compress Compress output by removing some whitespaces.
--yui-compress Compress output using ycssmin
-O0, -O1, -O2 Set the parser's optimization level. The lower
the number, the less nodes it will create in the
tree. This could matter for debugging, or if you
want to access the individual nodes in the tree.
--line-numbers=TYPE Outputs filename and line numbers.
TYPE can be either 'comments', which will output
the debug info within comments, 'mediaquery'
that will output the information within a fake
media query which is compatible with the SASS
format, and 'all' which will do both.
-rp, --rootpath Set rootpath for url rewriting in relative imports and urls.
Works with or withour the relative-urls option.
-ru, --relative-urls re-write relative urls to the base less file.
答案2
实际上,在我看来,RepoForge 的 libmodplug 包可能在某种程度上造成了干扰。如果不手动跟踪依赖项链接,我无法确定,但我会尝试删除当前安装的 libmodplug 包或 repoforge (rf) 存储库定义,然后重新发出更新命令。根据该测试的结果采取进一步行动(或不采取进一步行动)。
答案3
我想,约翰知道你的答案;你可能与来自另一个第三方存储库的包存在冲突。
关于你对 EPEL 的问题:EPEL 常见问题解答告诉您在哪里可以找到 EPEL 软件包的支持或提交错误报告:
我可以在哪里找到帮助或报告问题?
您可以在以下位置寻求帮助或讨论问题epel-开发列表或 #epel Freenode IRC 频道。向以下机构报告 EPEL 问题错误日志。