Re: Curious problem with yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-11-11 at 23:15 +0100, Timothy Murphy wrote: 
> But now it seems to say that iptstate requires libnetfilter_conntrack.
> So why didn't it say that before when I yum-installed iptstate?

It didn't say that before because you already had libnetfilter_conntrack
installed. You must have had it, because you had already had iptstate
installed, which requires it.

When you removed iptstate, it did not remove libnetfilter_conntrack
(which does *not* require iptstate - the dependency is "one way").

When you then installed iptstate again, yum saw that you already had the
required libnetfilter_conntrack installed, so the dependency was
satisfied.

When you ran "yum update", yum saw a new version of
libnetfilter_conntrack was available and tried to update it. But - uh oh
- iptstate requires a *certain version* of libnetfilter_conntrack, and
the *new* version of libnetfilter_conntrack does not satisfy that
dependency! So yum complained, and rightly so.

What should have happened was for a new version of iptstate to become
available at the same time as the new libnetfilter_conntrack. The new
iptstate package is now in updates, BTW, though not yet on all the
mirrors.

BTW, if, when you removed iptstate, you had *also* removed
libnetfilter_conntrack, then tried to reinstall both, you would have
seen the problem, because yum would have had to get
libnetfilter_conntrack from the repo and would have gotten the new
version. The version that remained installed when you removed/installed
iptstate was the old version.

> yum is a great tool, in my view, and one of the best things about fedora.
> But it is a bit confusing when a program seems to contradict itself.

No contradiction. The logic is correct (and actually quite
straightforward once you wrap your mind around it).


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux