Mailinglist Archive: zypp-devel (75 mails)

< Previous Next >
Re: [zypp-devel] zypper exclude-by-arch?
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Tue, 27 May 2008 15:25:28 +0200
  • Message-id: <483C0BC8.7000804@xxxxxxx>
Michael Matz wrote:
Hi,

On Tue, 27 May 2008, Josef Reidinger wrote:

I search and you are right, some package haven't 32-bit in it's name. So for ensure that no i386,i586 or i686 arch is installed add to your locks file this:

solvable_arch: i386
solvable_arch: i586
solvable_arch: i686

But because this lock a lot of packages expect some performance problems.

It's probably quicker if written as:

solvable_arch: i?86

(match_type needs to be glob then, which I think is the default).


Ciao,
Michael.

hmm, I don't think quicker, because bottleneck is locking many package (almost half for internet sources). I test it now and speed is almost same.
Default match_type is substring not glob, so you must write this:
solvable_arch: i?86
match_type: glob

btw now I improve wiki for this format, so I hope it everyone better understood it.
Josef
--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >