[users] Problems with Latest yum update and Gzip deps
Nigel Frankcom
nigel at blue-canoe.com
Tue Nov 13 07:06:47 CET 2007
On Tue, 13 Nov 2007 07:36:27 +0900, Takashi Asakawa <asakawa at quickd.net> wrote:
>Hi
>
>That seems to be the case with mine
>
>Cent 4.X needed perl(IO::Compress::Base)
>
>Processing Dependency: perl(IO::Compress::Base) >= 2.006 for package: perl-IO-Compress-Zlib
>
>Regards
>
>Takashi Asakawa
>
Hi,
Not sure if I'm missing something or not, it could easily be the case. but an
attempt at updating IO::Compress::Base from cpan shows:
Going to write /root/.cpan/Metadata
IO::Compress::Base is up to date (2.008).
On another box I manually installed IO::Compress::Base from
http://search.cpan.org/dist/IO-Compress-Base/ it went in clean but yum still
complained.
Something seems a bit bent somewhere, though quite what I have no clue. I'm
getting exactly the same error across all my CentOS Boxen.
After some fooling around I tried this which appears to have worked..
1. yum remove perl-IO-Zlib (answer No if SpamAssassin is shown as a dep)
2. yum install perl-IO-Zlib
3. yum remove perl-IO-Compress-Zlib (Answer No if deps show)
4. yum install perl-IO-Compress-Zlib (will show errors for deps)
5. yum install perl-IO-Zlib
6. yum install perl-IO-Compress-Base
7. yum clean all
8. yum update
9. updatedb && exit
I've had 5 instances on CentOS 4.5 without SpamAssassin installed where it all
ran clean barring step 4 showing deps problems. The same applied on CentOS 5.
Two CentOS 4.5 boxes with SpamAssassin installed showed it as a dep for removal
at step 1 (on both I selected No). On 1 CentOS 4.5 box I got a load of deps
showing at step 3 and again selected No. On that box at step 8 it showed:
Running spamassassin --lint comes back clean on the spamassassin boxes after
this.
>Resolving Dependencies
>--> Populating transaction set with selected packages. Please wait.
>---> Downloading header for perl-IO-Compress-Base to pack into transaction set.
>perl-IO-Compress-Base-2.0 100% |=========================| 4.7 kB 00:00
>---> Package perl-IO-Compress-Base.noarch 0:2.006-1.el4.rf set to be updated
>---> Downloading header for perl-IO-Compress-Zlib to pack into transaction set.
>perl-IO-Compress-Zlib-2.0 100% |=========================| 9.0 kB 00:00
>---> Package perl-IO-Compress-Zlib.noarch 0:2.006-1.el4.rf set to be updated
>---> Downloading header for perl-Compress-Zlib to pack into transaction set.
>perl-Compress-Zlib-2.007- 100% |=========================| 4.5 kB 00:00
>---> Package perl-Compress-Zlib.noarch 0:2.007-1.el4.rf set to be updated
>--> Running transaction check
>
>Dependencies Resolved
>
>=============================================================================
> Package Arch Version Repository Size
>=============================================================================
>Updating:
> perl-Compress-Zlib noarch 2.007-1.el4.rf rpmforge 35 k
> perl-IO-Compress-Base noarch 2.006-1.el4.rf rpmforge 54 k
> perl-IO-Compress-Zlib noarch 2.006-1.el4.rf rpmforge 137 k
>
>Transaction Summary
>=============================================================================
>Install 0 Package(s)
>Update 3 Package(s)
>Remove 0 Package(s)
>Total download size: 226 k
>Is this ok [y/N]: y
>Downloading Packages:
>(1/3): perl-IO-Compress-B 100% |=========================| 54 kB 00:00
>(2/3): perl-IO-Compress-Z 100% |=========================| 137 kB 00:00
>(3/3): perl-Compress-Zlib 100% |=========================| 35 kB 00:00
>Running Transaction Test
>Finished Transaction Test
>Transaction Test Succeeded
>Running Transaction
> Updating : perl-IO-Compress-Base ######################### [1/6]
> Updating : perl-IO-Compress-Zlib ######################### [2/6]
> Updating : perl-Compress-Zlib ######################### [3/6]
> Cleanup : perl-IO-Compress-Base ######################### [4/6]
> Cleanup : perl-IO-Compress-Zlib ######################### [5/6]
> Cleanup : perl-Compress-Zlib ######################### [6/6]
>
>Updated: perl-Compress-Zlib.noarch 0:2.007-1.el4.rf perl-IO-Compress-Base.noarch 0:2.006-1.el4.rf perl-IO-Compress-Zlib.noarch 0:2.006-1.el4.rf
>Complete!
Running cpan on the CentOS 4.5 boxes and running install IO::Compress::Base
updated it to 2.008, running yum update after showed no problems.
It could easily be that the anomaly has resolved itself with the propagation of
the correct dependencies, if not, the above has worked OK for me... YMMV
I hope that helps any others caught in the same situation I was.
Kind regards
Nigel
More information about the users
mailing list