Bug 30787 - Update python(2,3)-rpm-macros requires to pull correct pkgs
Summary: Update python(2,3)-rpm-macros requires to pull correct pkgs
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 8
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA8-64-OK
Keywords: advisory, validated_update
Depends on:
Blocks:
 
Reported: 2022-08-30 13:59 CEST by Jani Välimaa
Modified: 2022-09-16 21:41 CEST (History)
3 users (show)

See Also:
Source RPM: python-rpm-macros-3.9-5.1.mga8
CVE:
Status comment:


Attachments

Description Jani Välimaa 2022-08-30 13:59:37 CEST
Since bug 30734 python3-rpm-macros requires and provides python-rpm-macros at the same time and thus correct pkg, python-rpm-macros, having /usr/lib/rpm/redhat/import_all_modules.py used in %py3_check_import macros isn't pulled.
Comment 1 Jani Välimaa 2022-08-30 14:17:57 CEST
Since bug 30734 and python-rpm-macros-3.9-5.1.mga8 it's possible to remove python-rpm-macros without removing any other package (if python3-rpm-macros-3.9-5.1.mga8 is installed). Also installing python3-rpm-macros-3.9-5.1.mga8 doesn't pull python-rpm-macros if it's not already installed.

python-rpm-macros-3.9-5.2.mga8 on core/updates_testing fixes the issue and forces python3-rpm-macros and python2-rpm-macros to pull python-rpm-macros and makes sure all needes pkgs are installed all the time.

SRPMS:
python-rpm-macros-3.9-5.2.mga8

RPMS:
python-srpm-macros-3.9-5.2.mga8
python-rpm-macros-3.9-5.2.mga8
python2-rpm-macros-3.9-5.2.mga8
python3-rpm-macros-3.9-5.2.mga8

Assignee: jani.valimaa => qa-bugs

Comment 2 Thomas Andrews 2022-09-12 04:14:10 CEST
Tested in a VirtualBox Plasma guest.

python-srpm-macros, python-rpm-macros, and python3-rpm-macros were already installed on this system. After using Qarepo to download the rpms from Comment 1, I used drakrpm to remove python-rpm-macros. No other packages were removed.

Then I immediately used drakrpm-update to update the remaining two packages, and indeed that pulled in python-rpm-macros along with them. Once again, I made as if to remove python-rpm-macros, and this time was greeted with a notice that several much-needed packages would have to be removed because of dependencies.

Looks like the issue at hand has been corrected, so I'm giving this an OK, and validating.

CC: (none) => andrewsfarm, sysadmin-bugs
Keywords: (none) => validated_update
Whiteboard: (none) => MGA8-64-OK

Dave Hodgins 2022-09-16 20:35:54 CEST

CC: (none) => davidwhodgins
Keywords: (none) => advisory

Comment 3 Mageia Robot 2022-09-16 21:41:17 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2022-0124.html

Resolution: (none) => FIXED
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.