Bug 33611 - urpmf -i --name name_of_package now lists 2 'Duplicate specification' lines of text in output
Summary: urpmf -i --name name_of_package now lists 2 'Duplicate specification' lines o...
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia tools maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-05 23:33 CEST by Ben McMonagle
Modified: 2024-10-07 11:45 CEST (History)
1 user (show)

See Also:
Source RPM: perl-URPM-5.225-4.mga10.x86_64.src.rpm
CVE:
Status comment:


Attachments

Description Ben McMonagle 2024-10-05 23:33:13 CEST
Description of problem: after a  recent update, the output of urpmf -i --name now lists the following text:

Duplicate specification "version" for option "version"
Duplicate specification "debug" for option "debug"

eg:

$ urpmf -i --name vlc | head -2
Duplicate specification "version" for option "version"
Duplicate specification "debug" for option "debug"
lib64vlc-qt-core-devel
lib64vlc-qt-qml-devel

now lists the 2 'Duplicate specification' lines. 
this is new, and does not exhibit this issue in mga9.


Version-Release number of selected component (if applicable):
perl-URPM-5.225-4.mga10.x86_64


How reproducible: always


Steps to Reproduce:
1.use 'urpmf -i --name' for any package 
2.note the first 2 lines of the output
3.
Comment 1 Lewis Smith 2024-10-07 10:44:30 CEST
Bug 33613 shows these same errors, but is for a different problem.

Assigning to mageiatools for urpmf.

Assignee: bugsquad => mageiatools
See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=33613

Comment 2 Barry Jackson 2024-10-07 11:14:36 CEST
It now does not list the repos searched unless -v is used. Is this change intentional?

[baz@jackodesktop ~]$ urpmf /usr/bin/mgarepo
Duplicate specification "version" for option "version"
Duplicate specification "debug" for option "debug"
mgarepo:/usr/bin/mgarepo
mgarepo:/usr/bin/mgarepo-ssh

[baz@jackodesktop ~]$ urpmf -v /usr/bin/mgarepo
Duplicate specification "debug" for option "debug"
Duplicate specification "version" for option "version"
using fast algorithm
getting lock on urpmi
getting information from /tmp/.urpmi-1000/files.Extra Release.xml.lzma
getting information from /tmp/.urpmi-1000/files.Core Release.xml.lzma
mgarepo:/usr/bin/mgarepo
mgarepo:/usr/bin/mgarepo-ssh
getting information from /tmp/.urpmi-1000/files.Core Updates.xml.lzma
getting information from /tmp/.urpmi-1000/files.Nonfree Release.xml.lzma
getting information from /tmp/.urpmi-1000/files.Nonfree Updates.xml.lzma
getting information from /tmp/.urpmi-1000/files.Tainted Release.xml.lzma
getting information from /tmp/.urpmi-1000/files.Tainted Updates.xml.lzma
unlocking urpmi database
[baz@jackodesktop ~]$

CC: (none) => zen25000

Comment 3 Jani Välimaa 2024-10-07 11:44:55 CEST
(In reply to Barry Jackson from comment #2)
> It now does not list the repos searched unless -v is used. Is this change
> intentional?
> 

This behavior is the same as before and has not changed.

Mageia 8:
$ cat /etc/version 
8 3 official

$ urpmf /usr/bin/mgarepo
mgarepo:/usr/bin/mgarepo
mgarepo:/usr/bin/mgarepo-ssh

Mageia 9:
$ cat /etc/version 
9 2 official

$ urpmf /usr/bin/mgarepo
mgarepo:/usr/bin/mgarepo
mgarepo:/usr/bin/mgarepo-ssh
Comment 4 Jani Välimaa 2024-10-07 11:45:52 CEST
(In reply to Ben McMonagle from comment #0)
> Description of problem: after a  recent update, the output of urpmf -i
> --name now lists the following text:
> 
> Duplicate specification "version" for option "version"
> Duplicate specification "debug" for option "debug"
> 

IIRC this started with new perl 5.40.0.

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