Mailinglist Archive: zypp-devel (102 mails)

< Previous Next >
[zypp-devel] zypp.conf: Hint which media to prefer when installing packages (download vs. CD).
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Tue, 31 Mar 2009 11:27:44 +0100
  • Message-id: <200903311227.44672.ma@xxxxxxx>

Hi!

<libzypp> master:

I'd like to add this option to zypp.conf:

##
## Hint which media to prefer when installing packages (download vs. CD).
##
## Valid values: download, volatile
## Default value: download
##
## Note that this just a hint. First of all the solver will choose the 'best'
## package according to its repos proiority, version and architecture. But if
## there is a choice, we will prefer packages from the desired media.
##
## Packages available loacaly are always prefered. The question is whether
## you prefer packages being downloaded via FTP/HTTP/HTTPS (download), rather
## than being prompted to insert a CD/DVD (volatile), in case they are
available
## on both media.
##
## Name | Priority | URI
## openSUSE-11.1 99 dvd:///
## openSUSE-11.1-Oss 99
http://download.opensuse.org/distribution/11.1/repo/oss
##
## In the above example 2 repositories with similar content are used. Rather
## than raising the priority of one of them to 'prefer' a certain media, you
## should use the same priority for both and set download.media_preference
## instead.
##
## download.media_preference = download


The media preference will be passed to the solver in form of sub-priorities.
This will make the solver prefer packages from a specific media, within a set
of equal prioritized repos.

Comments?

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
List Navigation
This Thread
  • No further messages