LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] apt-get dist-upgrade kills FC3 server

[ILUG] apt-get dist-upgrade kills FC3 server

Paul Jakma paul at clubi.ie
Wed Mar 1 22:35:26 GMT 2006


On Wed, 1 Mar 2006, Conor Daly wrote:

> Last I looked, yum used rpm's --force switch which was considered a 
> bad thing.  Apt doesn't do such a thing so I use apt.  Maybe yum 
> has been fixed since...

I think I'm the one who complained about this and accused yum of 
using some equivalent of --force and hence clobbering files if you 
installed the same RPM for multiple arches.

Turns out yum /does/ not do any such thing, it's actually /rpmlib/ 
which simply ignores the case where an RPM would install an existing 
file provided it is the same rpm but for a different arch.

Yum relies on rpmlib to detect whether a proposed upgrade is allowed 
or not. It does a 'fake' upgrade first (uses this to resolve 
dependencies too - rather than understand the dependencies - weird).

Apt OTOH does not rely on rpmlib to detect file-clobbering. Hence, 
apt is (imho) safer.

So, turns not it wasn't yum's fault at all. Just apt being much safer 
because it does it's own redundant checking independent of rpmlib, 
before ever trying an upgrade.

regards,
-- 
Paul Jakma	paul at clubi.ie	paul at jakma.org	Key ID: 64A2FF6A
Fortune:
It seems like the less a statesman amounts to, the more he loves the flag.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell