Re: How to install the LibreOffice beta 3 rpm package
- From: Todd Zullinger <tmz@xxxxxxxxx>
- Date: Sun, 28 Nov 2010 09:59:42 -0500
Hiisi wrote:
It seems to me that yum apriori tries to localinstall from current
directory and
if (it fails)
then {
install from repos
}
Am I correct here?
No quite. The code from yum-3.2.28 looks like this:
for arg in userlist:
if (arg.endswith('.rpm') and (yum.misc.re_remote_url(arg) or
os.path.exists(arg))):
self.localInstall(filelist=[arg])
continue # it was something on disk and it ended in rpm
# no matter what we don't go looking at repos
try:
self.install(pattern=arg)
...
So, yum only attempts to use localinstall if the argument given a)
ends with .rpm and b) is either a url or an existing file¹.
¹ Technically using os.path.exists() means that if you had a dir named
foo.rpm and passed that as an argument to yum install, it would
attempt to localinstall it and fail with the error "Cannot open:
foo.rpm. Skipping."
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Some mornings it just doesn't seem worth it to gnaw through the
leather straps.
-- Emo Phillips
Attachment:
pgpDMxIGArCmi.pgp
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
- References:
- How to install the LibreOffice beta 3 rpm package
- From: David Nelson
- Re: How to install the LibreOffice beta 3 rpm package
- From: Kevin Fenzi
- Re: How to install the LibreOffice beta 3 rpm package
- From: suvayu ali
- Re: How to install the LibreOffice beta 3 rpm package
- From: Kevin Fenzi
- Re: How to install the LibreOffice beta 3 rpm package
- From: Hiisi
- How to install the LibreOffice beta 3 rpm package
- Prev by Date: Re: End of life for FC12?
- Next by Date: Re: FC14 good/bad news
- Previous by thread: Re: How to install the LibreOffice beta 3 rpm package
- Next by thread: Re: How to install the LibreOffice beta 3 rpm package
- Index(es):
Relevant Pages
|