全新的繁體中文 WordPress 網站

OpenWebmail 2.53

自從將openwebmail升級到2.53後,系統在做yum update時就一直出現dependency問題

[letranger@mail letranger]# yum update | more
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.twaren.net
* base: ftp.twaren.net
* extras: ftp.twaren.net
* updates: ftp.twaren.net
Setting up Update Process
Resolving Dependencies
–> Running transaction check
—> Package mysql.i386 0:5.0.77-4.el5_4.2 set to be updated
—> Package mysql-server.i386 0:5.0.77-4.el5_4.2 set to be updated
—> Package perl-Archive-Tar.noarch 0:1.56-1.el5.rf set to be updated
–> Processing Dependency: perl-Compress-Zlib for package: openwebmail
—> Package perl-IO-Compress.noarch 0:2.024-1.el5.rf set to be updated
–> Finished Dependency Resolution
openwebmail-2.53-3.i386 from installed has depsolving problems
–> Missing Dependency: perl-Compress-Zlib is needed by package openwebmail-2.53-3.i386
(installed)
Error: Missing Dependency: perl-Compress-Zlib is needed by package openwebmail-2.53-3.i386 (installed)
You could try using –skip-broken to work around the problem
You could try running: package-cleanup –problems
package-cleanup –dupes
rpm -Va –nofiles –nodigest

查了一下perl-IO-Compress.noarch這個套件,發現有更新版….

wget ftp://fr.rpmfind.net/linux/dag/redhat/el5/en/x86_64/dag/RPMS/perl-IO-Compress-2.024-1.el5.rf.noarch.rpm

打算用RPM來更新,結果….

rpm -Uvh perl-IO-Compress-2.024-1.el5.rf.noarch.rpm
error: Failed dependencies:
perl-Compress-Zlib is needed by (installed) openwebmail-2.53-3.i386
[letranger@mail letranger]# rpm -ivh perl-IO-Compress-2.024-1.el5.rf.noarch.rpm
Preparing… ########################################### [100%]
file /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base.pm from install of perl-IO-Compress-2.024-1.el5.rf.noarch conflicts with file from package perl-IO-Compress-Base-2.015-1.el5.rf.noarch
file /usr/lib/perl5/vendor_perl/5.8.8/IO/Compress/Base/Common.pm from install of perl-IO-Compress-2.024-1.el5.rf.noarch conflicts with file from package perl-IO-Compress-Base-2.015-1.el5.rf.noarch

有點令人火大,啊就upgrade還這樣煩,就把dependency check關掉了

rpm -Uvh –nodeps perl-IO-Compress-2.024-1.el5.rf.noarch.rpm
Preparing… ########################################### [100%]
1:perl-IO-Compress ########################################### [100%]
[letranger@mail letranger]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: ftp.twaren.net
* base: ftp.twaren.net
* extras: ftp.twaren.net
* updates: ftp.twaren.net
Setting up Update Process
Resolving Dependencies
–> Running transaction check
—> Package mysql.i386 0:5.0.77-4.el5_4.2 set to be updated
—> Package mysql-server.i386 0:5.0.77-4.el5_4.2 set to be updated
—> Package perl-Archive-Tar.noarch 0:1.56-1.el5.rf set to be updated
–> Finished Dependency Resolution

Dependencies Resolved

=========================================================================================
Package Arch Version Repository Size
=========================================================================================
Updating:
mysql i386 5.0.77-4.el5_4.2 updates 4.8 M
mysql-server i386 5.0.77-4.el5_4.2 updates 9.8 M
perl-Archive-Tar noarch 1.56-1.el5.rf dag 63 k

Transaction Summary
=========================================================================================
Install 0 Package(s)
Update 3 Package(s)
Remove 0 Package(s)

Total download size: 15 M
Is this ok [y/N]: n
Exiting on user Command
Complete!

然後就搞定了,openwebmail的反應也變快了,呵呵….希望不是錯覺….

發佈留言