Mailinglist Archive: zypp-devel (24 mails)

< Previous Next >
Re: [zypp-devel] selecting only a subset of rpms from a repo?
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 6 Apr 2009 11:32:36 +0100
  • Message-id: <200904061232.36826.ma@xxxxxxx>
On Friday 03 April 2009 17:55:45 Jan Kupec wrote:
PGNet wrote:

_that_ is what i'm trying to avoid ... i.e, i want _only_ repo-based
updates of that ONE file from the repo.

In other words, you want to lock all the packages from that repo, except
a few, so that the next time you run up (without arguments) or dup, it
will upgrade only the few packages, right?

What is your use case?

This is what comes to my mind: i have 11.1 system with 11.1 repo + 11.1
updates. I want to have the newest git, so i add a factory repo, but i
want only git (and it's deps, as needed) from it. I want to keep my
system up to date with 'zypper up'.

If the repo in question contains only packages that are not in other
repos, then there's no problem - zypper up will only update _installed_
packages.

The answer is no, this is currently not easily possible.

If the packages in that repo had a unique vendor, then one could add the
repo with low priority. Explicitly install the packages from that repo.
Then 'zypper up' will try to stay with that vendor. Right?

('zypper dup' will mess it up).


If we'd need a solution the that works independently from the 'vendor', we
could try to use the repos 'alias' as 'vendor'.

- We'd need some repo attribute, so one can tell that the repo 'alias' should
play the role of 'vendor'.

- We'd need to find a way to easily determine the repo an installed package
came from.

- And finally some support from the solver, because certain installed
packages will want to keep the 'repo' instead of the 'vendor'.

--

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 >
Follow Ups
References