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 17:48:21 +0200
  • Message-id: <483838C5.7070308@xxxxxxx>
snowcrash+opensuse napsal(a):
hi,

i'm trying to exclude install/update by Arch.

package-name wildcards work fine. e.g., adding

*32bit*

to

/etc/zypp/locks

works as expected.


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. Wiki page and new manpage locks is for new opensuse 11 and is not yet completed.
Josef

afaict, there's no manpage mention of arch/locks.

trying,

*i586*

is simply ignored.

@irc pointed me to a wiki-page

http://en.opensuse.org/Libzypp/Locksfile

which is rather a 'challenge' :-/

but, i do see reference to "solvable attributes",

solvable attributes
this attributes specifies attributes of object. Empty value mean
that it restrict global_string on this value.

and arch-specific,

solvable_sourcearch
update_collection_arch

iiuc, e.g. to exlcude i586 arch, i add,

solvable_sourcearch:i586
update_collection_arch:i586

to locks?

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

thanks!

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

< Previous Next >
Follow Ups
References