[CentOS-devel] centos-packager update for Fedora 31?

Thu Jan 2 06:36:43 UTC 2020
Nico Kadel-Garcia <nkadel at gmail.com>

On Thu, Jan 2, 2020 at 1:07 AM Matthias Runge <mrunge at matthias-runge.de> wrote:
>
> Hi there,
>
> is there an updated centos-packager version somewhere, that works with
> Fedora 31?

The big "building Fedora packages on CentOS problem is a bigger one.
The problem is that the binary RPM's for Fedora are zstd based. And
RHEL and CentOS RPM have no support whatsoever for this. There are
allegedly working configs for "mock" that use podman to pull Fedora 31
images and run those inside a chroot cage to make this work, but
they're not stable and have already broken several times in the
"devel"  branch of mock. See the bug report and workaround at:

    https://github.com/rpm-software-management/mock/issues/390

The problem you're seeing is somewhat different. Fedora and RHEL 8
started more consistently naming python modules as "python2-" and
"python3-", rather than merely "python-" Why don't you rebuild
centos-packager from source with the dependencies corrected, or even
set to use

> sudo dnf install centos-packager
> Last metadata expiration check: 1:35:13 ago on Thu 02 Jan 2020 05:30:08 CET.
> Error:
>  Problem: package centos-packager-0.5.5-2.fc28.noarch requires
> python-centos, but none of the providers can be installed
>   - conflicting requests
>   - nothing provides python-urllib3 needed by
> python-centos-0.1.1-2.fc28.noarch
>   - nothing provides python-lockfile needed by
> python-centos-0.1.1-2.fc28.noarch
>   - nothing provides python-munch needed by
> python-centos-0.1.1-2.fc28.noarch
> (try to add '--skip-broken' to skip uninstallable packages)