Description of problem: I know that Ubuntu and Debian use deb to install packages from official repos. If I want to port a program/app to Mageia that only exists in Ubuntu and/or Debian but its dependancies are named for Ubuntu/Debian which makes it almost impossible and takes a longer time to find the right package to install. urpmi and/or dnf should be able to find the same package in Mageia and install it. Like this example for instance: urpmi kdevplatform-dev or dnf install kdevplatform-dev Checking package content... This package seems to come from Ubuntu/Debian. Do you want me to find a package like this with similar content (example file name) in your medias? Select [y/n]y Searching for XXXXXXX in your medias. Found 1 hit. Installing package task-plasma5-devel.... Done! Version-Release number of selected component (if applicable): 8.110
I hope you know what I mean. I think there's an older package called distromatch that could be used instead if urpmi and/or dnf can't get this function.
Yes, here it is: https://github.com/spanezz/distromatch
Source RPM: urpmi => urpmi, dnfCC: (none) => marja11, rpmstack
So... This could be done with DNF, as it does have a plugin architecture that would allow for such a thing. In fact, I made such a request two years ago for DNF: https://bugzilla.redhat.com/show_bug.cgi?id=1265475 Unfortunately, today, the service that provided the necessary metadata doesn't exist anymore (the URL is dead), so someone would need to regenerate that data and host it somewhere before this could be attempted again.
See Also: (none) => https://bugzilla.redhat.com/show_bug.cgi?id=1265475CC: (none) => ngompa13
Source RPM: urpmi, dnf => dnfSummary: URPMI and/or DNF should be able to install a package even if it's named for Ubuntu/Debian to resolve issue with finding the right dependancies. => DNF should be able to install a package even if it's named for Ubuntu/Debian to resolve issue with finding the right dependancies.Assignee: bugsquad => ngompa13
Source RPM: dnf => dnf-plugins-extras
Igor, do you think it would be possible for a Fedora service to provide this data to be set up so that something like this would work?
CC: (none) => ignatenkoKeywords: (none) => UPSTREAM
I dont think so...
Mass-change status to NEW for all bugs that were filed as UNCONFIRMED between October 9 and now, and that still have that status now. From now on all newly filed bugs will have the NEW status again, like before, regardless of who files the report.
Ever confirmed: 0 => 1Status: UNCONFIRMED => NEW
I'm marking this as low priority for now. Implementing something like this would be tricky without resources and the ability to sustain it, but after that, it's just a matter of writing a plugin that could reference it and match names across distributions. It'd be tricky, but possible. If someone wants to take it up, feel free to work with upstream dnf-plugins-extras to make it a thing. :)
Priority: Normal => Low
Summary: DNF should be able to install a package even if it's named for Ubuntu/Debian to resolve issue with finding the right dependancies. => RFE: Support matching package names across different distributions to Mageia packages with DNF
(In reply to Neal Gompa from comment #7) > I'm marking this as low priority for now. > > Implementing something like this would be tricky without resources and the > ability to sustain it, but after that, it's just a matter of writing a > plugin that could reference it and match names across distributions. > > It'd be tricky, but possible. > > If someone wants to take it up, feel free to work with upstream > dnf-plugins-extras to make it a thing. :) A solution like that already exists: https://github.com/spanezz/distromatch We just need to implement it.
I'm aware of the solution, in fact, if you look at the linked redhat bug, I suggested that too. The issue is that the distromatch data necessary that was hosted on dde.debian.net is no longer available. Indeed, dde.debian.net has disappeared entirely.
https://web.archive.org/web/20130504223545/http://dde.debian.net/ shows me some files and directories. Are they useful?