| Summary: | Cannot install lutris & rpmlint (or vice-versa) because of conflicts between the two | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Jose Manuel López <joselp> |
| Component: | RPM Packages | Assignee: | Rémi Verschelde <rverschelde> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | ouaurelien |
| Version: | Cauldron | Keywords: | UPSTREAM |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: |
https://github.com/ahupp/python-magic/issues/21 https://github.com/lutris/lutris/issues/3292 |
||
| Whiteboard: | |||
| Source RPM: | rpmlint-1.11-4.mga8.src.rpm, lutris-0.5.8-1.mga8.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Jose Manuel López
2020-11-17 09:43:19 CET
Hi, thanks reporting this. # urpmi lutris To satisfy dependencies, the following packages are going to be installed: Package Version Release Arch (medium "Core Release (distrib1)") lutris 0.5.8 1.mga8 x86_64 python3-python-magic 0.4.18 1.mga8 noarch (medium "Core 32bit Release (distrib31)") libmesavulkan-drivers 20.3.0 0.rc1.3.mga8 i586 (recommended) libxcb-randr0 1.14 1.mga8 i586 (recommended) This is installed very well. rpmlint package has been updated yesterday: http://svnweb.mageia.org/packages?view=revision&revision=1646674 I really thnik you should do a "urpmi --clean" as root and try again. Ever confirmed:
1 =>
0 I have uninstalled rpmlint, and I have done urpmi --clean. After I install lutris, and I have tried install again rpmlint and this appears in konsole. [root@localhost ~]# urpmi rpmlint Se tienen que quitar los paquetes siguientes para poder actualizar otros: lutris-0.5.8-1.mga8.x86_64 (debido a que falta python3.8dist(python-magic)) python3-python-magic-0.4.18-1.mga8.noarch (debido a conflictos con python3-file-magic) (s/N) n [root@localhost ~]# Status:
UNCONFIRMED =>
NEW Jose, to avoid language difficulties in bugs (of which I plead guilty): $ LANC=C <command> gives English console output. To make it clear that this bug is *not* about being unable to install lutris or rpmlint individually (which succeed), but that you cannot install both: the second conflicts with the first. I could not pick this up with: $ urpmq --conflicts lutris $ urpmq --conflicts rpmlint $ urpmq --conflicts rpmlint lutris I installed rpmlint (lutris is massive), choosing the first option from: 1- python3-file-magic-5.39-3.mga8.noarch: Python 3 module to use libmagic (gosod) 2- python3-magic-5.39-2.mga8.noarch: Python 3 module to use libmagic (gosod) then: $ LANG=C sudo urpmi --test lutris A requested package cannot be installed: rpmlint-1.11-3.mga8.noarch (in order to keep rpmlint-1.11-4.mga8.noarch) Continue installation anyway? (Y/n) y The following packages have to be removed for others to be upgraded: python3-file-magic-5.39-3.mga8.noarch (due to conflicts with python3-python-magic) rpmlint-1.11-4.mga8.noarch (due to missing python3dist(file-magic)) which is like, but not identical to, comment 2: > # urpmi rpmlint > Se tienen que quitar los paquetes siguientes para poder actualizar otros: > lutris-0.5.8-1.mga8.x86_64 > (debido a que falta python3.8dist(python-magic)) > python3-python-magic-0.4.18-1.mga8.noarch > (debido a conflictos con python3-file-magic) (s/N) n rpmlint itself is enigmatic, because lutris seems to want it: A requested package cannot be installed: rpmlint-1.11-3.mga8.noarch (in order to keep rpmlint-1.11-4.mga8.noarch) yet: $ urpmq --requires lutris does not show rpmlint; and: $ urpmq --whatrequires rpmlint does not show lutris. -------------------- Assigning to Rémi as active maintainer for both SRPMs. Assignee:
bugsquad =>
rverschelde That's not a packaging bug, you have to make a choice sadly, at least unless upstream rpmlint, lutris, file or python-magic fix this situation. rpmlint uses file's python3-file-magic, and lutris using python-magic's python3-python-magic. Both packages are different Python modules but they both provide the `magic` module, so they conflict with each other and can't both be installed.
Rémi Verschelde
2020-11-17 14:47:06 CET
See Also:
(none) =>
https://github.com/ahupp/python-magic/issues/21 Upstream issues: - python-magic: https://github.com/ahupp/python-magic/issues/21 - Lutris: https://github.com/lutris/lutris/issues/3292 Let's see what respective devs say but this might end up either being a WONTFIX (which is annoying as I personally need both rpmlint and lutris) or I'll have to do a ugly hack to fix https://github.com/ahupp/python-magic/issues/21 myself. See Also:
(none) =>
https://github.com/lutris/lutris/issues/3292
Rémi Verschelde
2020-12-07 00:05:11 CET
Summary:
Cannot install lutris & rpmlint (or vice-versa) because of conflicts between the twp =>
Cannot install lutris & rpmlint (or vice-versa) because of conflicts between the two Fixed in lutris-0.5.8.1-1.mga8, I added an upstream patch to support file-magic, and amended setup.py deps to require it instead of python-magic. See above. Resolution:
(none) =>
FIXED |