Bug 32605

Summary: rpmconf fails with AttributeError: module 'rpm' has no attribute 'fi
Product: Mageia Reporter: Guillaume Bedot <geex+mageia>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: andrewsfarm, geiger.david68210, marja11, sysadmin-bugs
Version: 9Keywords: advisory, validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA9-64-OK
Source RPM: rpmconf-1.1.7-1.mga9.src.rpm CVE:
Status comment:

Description Guillaume Bedot 2023-12-08 13:29:13 CET
Description of problem:
Our package of rpmconf is outdated and fails.

Version-Release number of selected component (if applicable):
1.1.7

How reproducible:
Everytime

Steps to Reproduce:
1. urpmi rpmconf
2. rpmconf -a

A fix seems on available on github.

Also the URL should be changed to
URL         : https://github.com/xsuchy/rpmconf
Comment 1 David GEIGER 2023-12-08 17:07:03 CET
Assigning to QA,


Packages in 9/Core/Updates_testing:
======================
python3-rpmconf-doc-1.1.10-1.mga9.noarch.rpm
rpmconf-base-1.1.10-1.mga9.noarch.rpm
python3-rpmconf-1.1.10-1.mga9.noarch.rpm
rpmconf-1.1.10-1.mga9.noarch.rpm

From SRPMS:
rpmconf-1.1.10-1.mga9.src.rpm

Assignee: bugsquad => qa-bugs
CC: (none) => geiger.david68210

Comment 2 Guillaume Bedot 2023-12-08 22:06:15 CET
works for me.
1. URL is reachable

2. program seems to work, it's time to use it now...

# rpmconf -t -a
/etc/sane.d/dll.conf.rpmnew
(...]
/etc/sddm.conf.rpmsave
Comment 3 Guillaume Bedot 2023-12-08 22:08:35 CET
Can we have the update in cauldron too ?
Comment 4 Guillaume Bedot 2023-12-08 22:11:14 CET
my bad, it's already there...
Comment 5 katnatek 2023-12-08 22:56:38 CET
Not have rpmnew or rpmsave in my system, tha application updates without issues

Whiteboard: (none) => MGA9-64-OK

Comment 6 Guillaume Bedot 2023-12-08 23:31:52 CET
I used rpmconf on the files of comment 2.

I found out MERGE env variable is not set, but as vimdiff is a pain, I don't know what to suggest. 

There is a unclear message about rpmnew / rpmsave, but it's just cosmetics :
https://github.com/xsuchy/rpmconf/issues/55

Overall, the application works, d, q, y or n, next file...
Comment 7 Marja Van Waes 2023-12-09 14:26:45 CET
Advisory with SRPM from comment 1 added to SVN. Please remove the "advisory" keyword if it needs to be changed. It also helps when obsolete advisories are tagged as "obsolete"

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

Comment 8 Thomas Andrews 2023-12-09 15:21:11 CET
Seemed to work for me, too - but I only used "rpmconf -t -D -a" to look for information. After one time when I lost all scanning ability because I chose an "rpmnew" (I had to re-install my HP MFP to get it back) I tend to leave things alone unless I am having problems. 

Consequently, I happen to have several rpmnew files on this system. Over several terminal pages the app identified them one by one, and explained the differences. Still desiring to leave well enough alone, I chose not to try to change anything, but the experience was informative.

Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Comment 9 Guillaume Bedot 2023-12-09 19:44:08 CET
It's a useful bit of software if you happen to update your system with the command-line tools, please keep it alive.

I found a binary file tagged as a config file, is it ok to have these ?
I've just kept the maintainer version as for the over java ones. This one, I think :
/etc/java/java-11-openjdk/java-11-openjdk-11.0.21.0.9-1.mga10.x86_64/lib/security/public_suffix_list.dat.rpmnew

Also I haven't changed the config so I don't understand why the old configuration was kept by the package...
Comment 10 Mageia Robot 2023-12-12 23:21:18 CET
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2023-0142.html

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