[SOLVED] Creating APT repo on Centos 8 server
by berndbausch from LinuxQuestions.org on (#52X0N)
I need a hybrid repository serving both Centos and Debian systems. To my knowledge, this requires installation of dpkg-dev.
As a test, I was successful installing dpkg-dev on Fedora and creating a repo there. The final repo server runs Centos 8, however, and I get this:
Code:# yum install dpkg-dev
...
Error:
Problem: conflicting requests
- nothing provides lzma needed by dpkg-dev-1.18.25-12.el8.noarch
...
# yum search lzma
Last metadata expiration check: 0:00:23 ago on Fri 01 May 2020 10:09:37 AM JST.
============================ Summary Matched: lzma =============================
xz.x86_64 : LZMA compression utilities
xz.x86_64 : LZMA compression utilities
xz-devel.i686 : Devel libraries & headers for liblzma
xz-devel.x86_64 : Devel libraries & headers for liblzma
xz-libs.x86_64 : Libraries for decoding LZMA compression
xz-libs.i686 : Libraries for decoding LZMA compression
xz-libs.x86_64 : Libraries for decoding LZMA compression
lzip.x86_64 : LZMA compressor with integrity checkingAny idea how I can resolve this dependency problem?
Or is there another way to create a Debian repo?


As a test, I was successful installing dpkg-dev on Fedora and creating a repo there. The final repo server runs Centos 8, however, and I get this:
Code:# yum install dpkg-dev
...
Error:
Problem: conflicting requests
- nothing provides lzma needed by dpkg-dev-1.18.25-12.el8.noarch
...
# yum search lzma
Last metadata expiration check: 0:00:23 ago on Fri 01 May 2020 10:09:37 AM JST.
============================ Summary Matched: lzma =============================
xz.x86_64 : LZMA compression utilities
xz.x86_64 : LZMA compression utilities
xz-devel.i686 : Devel libraries & headers for liblzma
xz-devel.x86_64 : Devel libraries & headers for liblzma
xz-libs.x86_64 : Libraries for decoding LZMA compression
xz-libs.i686 : Libraries for decoding LZMA compression
xz-libs.x86_64 : Libraries for decoding LZMA compression
lzip.x86_64 : LZMA compressor with integrity checkingAny idea how I can resolve this dependency problem?
Or is there another way to create a Debian repo?