Re: questions on package management

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

 



On Sat, 13 Jul 2013 03:11:20 +0200
lee <lee@xxxxxxxxxxxxxxx> wrote:

> Hi,
> 
> imagine you have the following:
> 
> 
> package A, depends on C, installed
> package B, depends on C, not installed
> package C, installed
> 
> 
> All the packages are version 1.  After a while, you install package B,
> and in the meantime, package B has been updated to version 2 so that
> it now depends on version 2 of package C.
> 
> What will happen?

Yum will tell you that it can't update because both version 1 and
version 2 of package C are needed and will do nothing. 

> + install B and update A and C?
> + install B and update C and leave A as is?
> + something else?

Error and do nothing. You would be left with version 1 of all packages,
and a consistent system. 

> Another question: It is possible to have version 1 and version 2 of
> package A installed at the same time, like version 1 from Fedora 17
> and version 2 from Fedora 18.  Imagine this package A provides a file
> '/bin/ls'.

No. 

> Which version of '/bin/ls' will be the one in use?  What about
> compatibility issues in such a case?
> 
> (Please don't say it's not possible; I have had it happen.)

It would be whichever package is actually installed. I suspect if you
see this is some case like an upgrade that didn't finish, so it did in
fact update to the new version, but didn't get to the end of the
transaction to remove the placeholder for the old version. 
You can use 'rpm -V' to see which one is actually installed. 

kevin

Attachment: signature.asc
Description: PGP signature

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux