[Yum] local directory support

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

 



On Sun, 2003-04-06 at 11:41, Francois Massonneau wrote:
> Hi,
> 
> Sorry, but I'm totally new at yum, I've just discovered it this morning 
> and downloaded the necessary file. 
> First I want to say is that it works perfectly fine, out of the box. 
> Great job.
> 

Thanks.


> Now, these are the questions : sorry, but I'm a totally newbie, but I've 
> read the archives of the mailing list first (but not all messages ;-) )

search engine available at: https://lists.dulug.duke.edu/pipermail/


> - I don't run a server, and my connection to the internet is using a 
> simple modem (33600 ;-( ), but I would like to be able to tell "yum" to 
> look somewhere on my hard drives for new packages. I use to download 
> and install from time to time new packages, and to build packages of my 
> own. So would it be possible to add to yum.conf something like :


> [local_files]
> name=Misc File locally available on my system
> baseurl=/usr/local/misc/update/addons/

in the 2.0 branch and soon to be backported to 1.0 file:// urls are
allowed.
I use them all the time.

so I do:

[local]
name=localstuff
baseurl=file:///home/inst/phoebe/blah/blah

you still have to use yum-arch on the path of files to build the headers
list but that's pretty trivial.


> - Is there a graphical user interface. I saw messages about that last 
> month.

not so far. Erik mentioned working on it but gui interfaces are hard so
it might take a bit longer. I hope to make the work go faster with some
of the abstractions that are in 2.0


> - is there a parameter to tell yum not to keep downloaded files from a 
> specific location ? If the answer is yes, to my first question (a 
> support for a kind of local repository), I would not like to have the 
> same files in my local directories, and in the /var/cache/yum 
> directory. Just the ones downloaded from the internet are interested to 
> me to keep.

When you have a file:// url in the baseurl then it just uses the files
where they are - it doesn't download them. It does copy the headers out
into the headers dir - it makes it easier to do lookups and cleanups,
I've found and the headers are small.


> thanks a lot, and sorry for my english but that's not my native 

No problem. There is at least one other native french speaker on this
list, probably more.

-sv




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux