Mailinglist Archive: zypp-devel (12 mails)

< Previous Next >
Re: [zypp-devel] RFC zypper addlock --repo
On Thursday 24 November 2011 12:04:47 Klaus Kaempf wrote:
* Michael Schroeder <mls@xxxxxxx> [Nov 24. 2011 12:01]:
On Thu, Nov 24, 2011 at 09:49:52AM +0100, Michael Andres wrote:
Bnc#732027 reveals a flaw in

zypper addlock --repo <repo> ...

This command will lock all matching packages in <repo>, i.e. prevent
them from being installed.

I wonder how this is different from "disable repo" ?

- You can give a package pattern '--repo <repo> 'kernel*' to restrict the set.

- '--repo <repo> '*' is similar to disabling the repo. The difference is that
disabled repos are not loaded and do not consume any memory, OTOH their
packages are not visible to the solver and for queries.


I don't see a sane way to implement "--from-repo".

Agreed, there's no way to find the originating repo from the
information in the rpm database.

Using 'solvable_identical' should be good enough. We use it in other locations
as well and it works fine.

(checks name, arch, evr, vendor, buildtime and requires)

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres SUSE LINUX Products GmbH, Development, ma@xxxxxxx
GF:Jeff Hawn,Jennifer Guild,Felix Imendörffer, HRB16746(AG Nürnberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: zypp-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups