Bug 26696

Summary: yum: repos.d dangling link to /dnf/repos.d
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: Neal Gompa <ngompa13>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: dnf-4.2.19-3.mga8.src.rpm CVE:
Status comment:

Description Bit Twister 2020-05-28 12:31:09 CEST
Description of problem:  mga8 dev0

The following is the dangling link: 
/etc/yum/repos.d -> ../dnf/repos.d 

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

How reproducible: Always


Steps to Reproduce:

clean install using Mageia-Cauldron-netinstall-nonfree-x86_64.iso
plus updates with enabled nonfree and tainted media. Run

 symlinks -r / | grep dangling
Comment 1 Lewis Smith 2020-05-28 20:41:44 CEST
Thank you for reporting this.
I cannot see yum in Cauldron/M8, suggesting it will be dropped. I *do* see it for Mageia 7, but in a generously furnished system, do not have it installed. But DNF is, and the shown /etc/yum/repos.d is not in evidence. Where does it come from? Yum, and just yum (Mageia 7). But for Mageia 8?

Academic. Assigning to Neal for dnf.

Assignee: bugsquad => ngompa13
Summary: yum: repos.d dangling link => yum: repos.d dangling link to /dnf/repos.d

Comment 2 Bit Twister 2020-05-28 23:36:55 CEST
(In reply to Lewis Smith from comment #1)
> Thank you for reporting this.
> I cannot see yum in Cauldron/M8, 

$ get_src_rpm bin/yum
  Looked for    : bin/yum
  Using         : /usr/bin/yum
  Installed rpm : yum-4.2.19-3.mga8
  rpm short name: yum
  Source rpm   : dnf-4.2.19-3.mga8.src.rpm
  Information  : https://github.com/rpm-software-management/dnf
  Packager     : joequant <joequant>
  Summary      : As a Yum CLI compatibility layer, supplies /usr/bin/yum redirecting to DNF
  List rpm contents: rpm --query --list yum-4.2.19-3.mga8

Before you ask:
$ type get_src_rpm
get_src_rpm is /local/bin/get_src_rpm
Comment 3 Neal Gompa 2020-05-29 09:33:20 CEST
So I was a little overzealous with the yum->dnf migration stuff and goofed here. Fixed in dnf-4.2.19-4.mga8. Thanks for spotting! :)

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