Commit aaa34db
committed
Change allow_vendor_change default to false with descriptive hint
- When the solver blocks an update due to a vendor change restriction, print a hint suggesting
`--setopt=allow_vendor_change=true` (rpm-software-management#750)
A previous attempt to change this default was reverted because solver errors gave no indication
that vendor locking was the cause. The new hint in `print_resolve_hints()` addresses that by
detecting `RULE_UPDATE` problems and telling the user how to override the restriction.
Closes: rpm-software-management#750 SWMBZBUGSM-153 BZ#2219624
CI Tests: rpm-software-management/ci-dnf-stack#1839
Signed-off-by: Fellipe Henrique <me@fhbash.com>1 parent 8d724c6 commit aaa34db
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
| 1110 | + | |
1110 | 1111 | | |
1111 | 1112 | | |
1112 | 1113 | | |
| |||
1129 | 1130 | | |
1130 | 1131 | | |
1131 | 1132 | | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
1132 | 1136 | | |
1133 | 1137 | | |
1134 | 1138 | | |
| |||
1151 | 1155 | | |
1152 | 1156 | | |
1153 | 1157 | | |
| 1158 | + | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
1154 | 1163 | | |
1155 | 1164 | | |
1156 | 1165 | | |
| |||
0 commit comments