Testing erlang bug 15580 and looking for an easy way to install lots of erlang-* packages without unwanted freeswitch or others.. # urpmq -ya erlang- | egrep -v ^erlang freeswitch-event-erlang-event syntastic-erlang I tried.. # urpmi --skip freeswitch-event-erlang-event -ya erlang- # urpmi -ya erlang- --skip /^freeswitch/ Both of which result in it giving a choice of freeswitch deps, eg. # urpmi -ya erlang- --skip freeswitch-event-erlang-event In order to satisfy the 'freeswitch-codec-g729' dependency, one of the following packages is needed: 1- freeswitch-codec-passthru-g729-1.2.14-2.mga4.i586: Pass-through g729 Codec support for FreeSWITCH open source telephony platform (to install) 2- freeswitch-codec-commercial-g729-194-5.mga4.nonfree.i586: Freeswitch g729 commercial module (to install) What is your choice? (1-2) ^C Using --debug option it's clear that it recognises the --skip flag but selects the package anyway.. # urpmi --debug --skip freeswitch-event-erlang-event -ya erlang- getting lock on urpmi parsing: /etc/urpmi/mediacfg.d/Official-4-i586 examining synthesis file [/var/lib/urpmi/Core Release/synthesis.hdlist.cz] examining synthesis file [/var/lib/urpmi/Core Updates/synthesis.hdlist.cz] examining synthesis file [/var/lib/urpmi/Nonfree Release/synthesis.hdlist.cz] examining synthesis file [/var/lib/urpmi/Nonfree Updates/synthesis.hdlist.cz] examining synthesis file [/var/lib/urpmi/Tainted Release/synthesis.hdlist.cz] examining synthesis file [/var/lib/urpmi/Tainted Updates/synthesis.hdlist.cz] skipping package freeswitch-event-erlang-event-1.2.14-2.mga4.i586 getting exclusive lock on rpm search_packages: found erlang-runtime_tools-R16B02-2.1.mga4.i586 matching erlang- search_packages: found freeswitch-event-erlang-event-1.2.14-2.mga4.i586 matching erlang- search_packages: found freeswitch-event-erlang-event-1.2.14-2.mga4.i586 matching erlang- search_packages: found freeswitch-event-erlang-event-1.2.14-2.mga4.i586 matching erlang- ...etc selecting freeswitch-event-erlang-event-1.2.14-2.mga4.i586 requiring freeswitch[== 1:1.2.14-2.mga4],libfreeswitch.so.1 for freeswitch-event-erlang-event-1.2.14-2.mga4.i586 chosen freeswitch-1.2.14-2.mga4.i586 for freeswitch[== 1:1.2.14-2.mga4] selecting freeswitch-1.2.14-2.mga4.i586 requiring freeswitch-config,gdbm,libfreeswitch.so.1 for freeswitch-1.2.14-2.mga4.i586 chosen freeswitch-config-vanilla-1.2.14-2.mga4.noarch for freeswitch-config selecting freeswitch-config-vanilla-1.2.14-2.mga4.noarch ...etc I'll attach a log. Reproducible: Steps to Reproduce:
# urpmi --bug 15851 --debug --skip freeswitch-event-erlang-event -ya erlang- Responded No to installing them. # tar cfa 15851{.tar.xz,} The resulting file is far too large to attach so hosting it here: https://dl.dropboxusercontent.com/u/4147101/QA/15851.tar.xz
Seems the same in cauldron.
Version: 4 => CauldronWhiteboard: (none) => MGA4TOO
--skip is the CLI equivalent for /etc/urpmi/skip.list, ie "the list of packages that should not be automatically updated when using --auto-select". You're not using --auto-select... For a regular manual search, we explicitly the skip flag: http://gitweb.mageia.org/software/rpm/urpmi/tree/urpm/select.pm#n120 Since 12 years: http://gitweb.mageia.org/software/rpm/urpmi/commit/urpm.pm?id=cfd503abe
Ahh pebkac then, thanks. There is no mechanism to exclude packages or patterns when using -ya then, other than grep & xargs.
/etc/urpmi/prefer.vendor.list is your friend in order to default to the right one. Or --prefer
Status: NEW => RESOLVEDResolution: (none) => INVALID