| Summary: | Missing depency to switch graphic cards on optimus hardware | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Patric Schramm <patric.schramm> |
| Component: | RPM Packages | Assignee: | QA Team <qa-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | fri, ghibomgx, rverschelde, sysadmin-bugs |
| Version: | 6 | Keywords: | advisory, validated_update |
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | MGA6-64-OK | ||
| Source RPM: | mageia-prime-0.4-1.mga6.nonfree.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Patric Schramm
2018-06-06 18:00:19 CEST
David Walser
2018-06-06 18:57:32 CEST
CC:
(none) =>
rverschelde
Morgan Leijström
2018-06-06 22:41:10 CEST
CC:
(none) =>
fri Thanks for the report, fixed in Cauldron and pushing an update candidate for Mageia 6. I've also added systemd-units as dependency since the tool uses /bin/systemctl. @joeghi: mageia-prime really needs a man page/--help output, I always need to check the readme in the GitHub repo to use it so I imagine it's far from user-friendly for other Mageia users. @QA: The only change is the addition of two dependencies (Requires) on xrandr and systemd-units, so testing that the package pulls in xrandr/systemd-units if not installed is enough (and if xrandr is installed, `urpme --test xrandr` should tell you that it wants to remove mageia-prime). Note: I messed up the subrel/rel, it's 2.1.mga6 when it should have been 1.2.mga6, but it should be OK as is (Mageia 7 has 3.mga7 so it's safe). Advisory: ========= Updated mageia-prime package fixes missing dependency The mageia-prime utility requires the xrandr and systemctl commands, but they were not explicitly listed as dependencies. This update fixes it. SRPM in core/updates_testing: ============================= mageia-prime-0.4-2.1.mga6 RPM in core/updates_testing: ============================ mageia-prime-0.4-2.1.mga6 CC:
(none) =>
ghibomgx Tested successfully on Mageia 6 x86_64: $ urpmq --requires mageia-prime --searchmedia release --requires behaviour changed, use --requires-recursive to get the old behaviour dnf dnf-command(config-manager) dnf-command(install) drakxtools-backend grub2-common kmod libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) pciutils urpmi $ urpmq --requires mageia-prime --searchmedia testing --requires behaviour changed, use --requires-recursive to get the old behaviour dnf dnf-command(config-manager) dnf-command(install) drakxtools-backend grub2-common kmod libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) pciutils systemd-units urpmi xrandr # urpme --test xrandr To satisfy dependencies, the following 3 packages will be removed (6.1MB): lutris-0.4.16-1.mga6.noarch (due to missing xrandr) mageia-prime-0.4-2.1.mga6.x86_64 (due to missing xrandr) xrandr-1.5.0-1.mga6.x86_64 Remove 3 packages? (y/N) N Whiteboard:
(none) =>
MGA6-64-OK Advisory uploaded, validating. Keywords:
(none) =>
advisory, validated_update An update for this issue has been pushed to the Mageia Updates repository. https://advisories.mageia.org/MGAA-2018-0116.html Resolution:
(none) =>
FIXED |