YUM on Ubuntu 20.04 LTS (Focal Fossa)

Asked by Artem Komisarenko

Is YUM planned to be released for Focal Fossa? I saw yum builds but it was deleted as "old software".

Currently I'm using Ubuntu 18.04 as base for CentOS (few versions) development using yum / yum-utils / mock based toolchain. It may sounds tricky but comparing with CentOS Ubuntu offers new software, good UI experience and upgrades between major versions. Unfortunately now I can't move to 20.04 without yum related packages.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yum Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

https://www.quora.com/Can-you-use-yum-in-Ubuntu

Yum is for RPM based distributions so will not work in Ubuntu.

What feature of Yum do you like?

Revision history for this message
Artem Komisarenko (artem-komisarenko) said :
#2

I use YUM with mock utility to setup CentOS chroot and to use Ubuntu as base platform for CentOS development. Mostly implicitly like below but also for explicit package management (including with downloaders from yum-utils):

mock -r epel-7-x86_64 --init
mock -r epel-7-x86_64 --rebuild some.src.rpm

or:

mock -r epel-7-x86_64 <set of options to mount sources directories into chroot and so on> --shell 'cd /builddir/some && make'

This way I can use Ubuntu and I do not need separate machines for CentOS development.

mock and yum-utils packages also removed from 20.04 but I start asked about yum because it's base utility for RHEL-related packages management.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951299 for an explanation why the packages have been removed:
They depend on obsolete python 2.

Revision history for this message
Artem Komisarenko (artem-komisarenko) said :
#4

But python2 still available on Ubuntu and some of these packages already upgraded for python3. Of course I can rebuild it myself, but it was very convenient while Ubuntu was universal development platform out of the box.

Can you help with this problem?

Provide an answer of your own, or ask Artem Komisarenko for more information if necessary.

To post a message you must log in.