Unable to Sync Debian Packages

Hello @kobena,

Thanks for your guidance.

Hello @kobena @quba42,

I’m following the below steps and still facing the issue while I sync the Debian Repository. Its says success but none of the packages are fetched.

yum localinstall https://yum.theforeman.org/releases/2.4/el7/x86_64/foreman-release.rpm
yum localinstall https://yum.theforeman.org/katello/4.0/katello/el7/x86_64/katello-repos-latest.rpm
yum localinstall https://yum.puppet.com/puppet6-release-el-7.noarch.rpm
yum install epel-release
yum install centos-release-scl-rh
yum -y update
yum install katello
foreman-installer --puppet-server=false --puppet-server-ca=false --no-enable-puppet --foreman-proxy-manage-puppet-group=false --foreman-proxy-content-puppet=false --foreman-proxy-puppet=false --foreman-proxy-puppetca=false --scenario katello

Any help will be highly appreciated.

Thanks.

Since this thread has been going on for some time, it is no longer entirely clear to me what your current state is. Can you repeat one more time what version of python3-pulp-deb you have installed and what repository (Upstream URL, Releases, Components, and Architectures) is not synchronizing correctly?

Hello @quba42,

Sure. python3-pulp-deb is 2.9.2-1.el7.

Upstream URL: Index of /debian-security

Releases: buster/updates

Components: main

Architecture: amd64

Thanks.

Hello @quba42,

Please advise.

Thanks.

Short answer for security updates repo : remove Components (main), leave it empty, and resync.

More informations here : Subscription Manager for Debian & Ubuntu on apt.atix.de - #46 by quba42

This is another known bug which is currently fixed for pulp_deb 2.13.0 only (Issue #8828: Synchronizing buster/updates succeeds but does not download any packages - Debian Support - Pulp). This version cannot be used with any released Katello version yet.

You can work around the bug by writing Components: updates/main instead of Components: main. Once you upgrade to a fixed version of pulp_deb both Components: updates/main and Components: main will work.

Alternatively, you can leave the Components blank like @kobena suggested. (In that case you will get all available Components from the repo.)

Hello @kobena @quba42,

Thanks a lot for your help on this. Much appreciated.

It really means a lot to me.