http://bugzilla.suse.com/show_bug.cgi?id=1133423
Bug ID: 1133423 Summary: AutoYaST: repository priority not working in add-on section Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.0 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: apoulat@vitechnology.com QA Contact: jsrain@suse.com Found By: --- Blocker: ---
Created attachment 803606 --> http://bugzilla.suse.com/attachment.cgi?id=803606&action=edit add-on.xml
Hi,
I've just seen that, for example with attached add-on.xml given to AutoYaST, with, as you can see one repository with priority 20 and another with priority 10, they both, after install, have a (default) 99 priority (checked with "zypper -lr -p" command).
See documentation about that here: https://doc.opensuse.org/projects/autoyast/#idm139966593990112
Note: I'm not sure on how <product> and <product_dir> tags are relevant then I tried without them and there is still the same issue.
Thanks
http://bugzilla.suse.com/show_bug.cgi?id=1133423 http://bugzilla.suse.com/show_bug.cgi?id=1133423#c1
--- Comment #1 from Antoine POULAT apoulat@vitechnology.com --- Note: I made a workaround adding a pre-install script that, for my example file attached, does this:
#!/bin/sh
ZYPP_LOCKFILE_ROOT="/var/run/autoyast"
declare -A priorityMap priorityMap[Skype]=20 priorityMap[packman-essentials]=10
for key in "${!priorityMap[@]}" do sudo zypper mr -r -p ${priorityMap[$key]} "${key}" done
In addition, I've just seen I made a typo on how I checked the repos priority, it is actually "zypper lr -p" (not "-lr").
http://bugzilla.suse.com/show_bug.cgi?id=1133423 http://bugzilla.suse.com/show_bug.cgi?id=1133423#c2
Lukas Ocilka locilka@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |apoulat@vitechnology.com Flags| |needinfo?(apoulat@vitechnol | |ogy.com)
--- Comment #2 from Lukas Ocilka locilka@suse.com --- Could you, please, attach YaST logs from the installation where this failed?
See https://en.opensuse.org/openSUSE:Report_a_YaST_bug
http://bugzilla.suse.com/show_bug.cgi?id=1133423 http://bugzilla.suse.com/show_bug.cgi?id=1133423#c3
--- Comment #3 from Antoine POULAT apoulat@vitechnology.com --- Created attachment 803706 --> http://bugzilla.suse.com/attachment.cgi?id=803706&action=edit y2logs.tgz
Please find attached the logs, please notice that there should be more repos appearing, as the attached add-on.xml was only an example, more precisely, all repos have 99 (default) priority except for packman-essentials that has 90.
http://bugzilla.suse.com/show_bug.cgi?id=1133423
Antoine POULAT apoulat@vitechnology.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(apoulat@vitechnol | |ogy.com) |
http://bugzilla.suse.com/show_bug.cgi?id=1133423 http://bugzilla.suse.com/show_bug.cgi?id=1133423#c4
Stefan Schubert schubi@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |https://trello.com/c/54bU05 | |ML/3060-sles15-bug1133423-a | |utoyast-repository-priority | |-not-working-in-add-on-sect | |ion CC| |schubi@suse.com Assignee|yast2-maintainers@suse.de |yast-internal@suse.de
--- Comment #4 from Stefan Schubert schubi@suse.com --- (In reply to Antoine POULAT from comment #3)
Created attachment 803706 [details] y2logs.tgz
Please find attached the logs, please notice that there should be more repos appearing, as the attached add-on.xml was only an example, more precisely, all repos have 99 (default) priority except for packman-essentials that has 90.
Thanks, I can reproduce the error. Tracked in Trello.
https://bugzilla.suse.com/show_bug.cgi?id=1133423 https://bugzilla.suse.com/show_bug.cgi?id=1133423#c5
Pieter Hollants pfhllnts@hollants.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pfhllnts@hollants.com
--- Comment #5 from Pieter Hollants pfhllnts@hollants.com --- Also present in SLES 12 SP5.
https://bugzilla.suse.com/show_bug.cgi?id=1133423
Carsten Dumke cdumke@cdumke.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cdumke@cdumke.de