Mailinglist Archive: zypp-devel (75 mails)

< Previous Next >
Re: [zypp-devel] zypper exclude-by-arch?
  • From: josef reidiner <jreidinger@xxxxxxx>
  • Date: Sat, 24 May 2008 18:07:05 +0200
  • Message-id: <48383D29.7060005@xxxxxxx>
snowcrash+opensuse napsal(a):
hi josef,

Hi, if this work as expect then it mean you use opensuse 10.3 which use old
lock format which doesn't support arch locking.

well, then i must be wrong re: "as expected", as i'm on opensuse-factory.

(hmm ... odd ... must explore)

Wiki page and new manpage
locks is for new opensuse 11 and is not yet completed.

yes, i understand the manpage & wikipage are not completed, but ...

can someone please verify/clarify the correct usage for
excluding-by-arch, and the difference between "solvable_sourcearch" &
"update_collection_arch"

... is it possible to explain nonetheless *how* to properly use these?

my ultimate "goal" here is to remove & prevent install of
packages="\*32bit" & arch!=x86_64. of course, in rh yum-land, this is
done with a simple "exclude='*i386 *i586 *i686'" entry in .conf ...


If I good understand you want prevent install any 32bit packages(386,586,686). Then the most efficient way is add to lock file only this line:
solvable_name: 32bit

this is mean lock ever which have as substring 32bit...so it is same as *32bit* in old format. Of course there is many other ways how to do this.
Josef

i'm trying to understand howto in opensuse.

thanks!

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

< Previous Next >
Follow Ups