Unable to Sync Debian Packages

Hello Team,

I’m trying to synchronize Debian Repository and I’m not able to get the packages.

Version Info is as follows:

Foreman-tasks : 3.0.5
foreman_remote_execution: 4.2.2
katello : 3.18.2.1
Version 2.3.3

I got the below error message:

Cannot create repository version. The path for file ‘dists/buster’ overlaps: dists/buster/Release, dists/buster/InRelease, dists/buster/Release.gpg.

If some of the settings related to gpg is changed then I’m getting the sync status as “Success” but none of the packages are published in “Foreman”.

At the same time, it works all fine with Ubuntu “Bionic”.

I have another server with the following version in which I’m successfully able to sync Debian packages without any problem.

Foreman-tasks : 3.0.2
foreman_remote_execution: 4.2.1
katello : 3.18.0
Version 2.3.1

Is there a way to downgrade the versions as above without reinstalling Foreman ??

Please advise. Appreciate your help.

Thanks.

This is a known bug in pulp_deb: Issue #8410: syncing deb-repos in pulp 3 fails with "The path for file... overlaps" - Debian Support - Pulp

It should be fixed with pulp_deb version 2.9.1, 2.10.1, or 2.11.1.

We are working on getting these versions into Katello (either Katello 3.18.3 or 3.18.4 will contain a fixed version).

Hello @quba42,

Thanks for your update.

Please let me know if there is an option downgrade the version or you recommend to make a fresh installation with the appropriate versions.

So the fix is now available in the repository used by Katello 4.0: https://yum.theforeman.org/pulpcore/3.9/el7/x86_64/python3-pulp-deb-2.9.1-1.el7.noarch.rpm

You could either upgrade to Katello 4.0, or you need to wait until Katello 3.18.4 is released (we are planning to include the fix in that release as well).

You could try manually installing the package I have linked to above on your Katello 3.18.2.1 installation (make sure you run foreman-installer afterwards to make sure all Pulp migrations are applied). However this option is risky, since I cannot guarantee there won’t be a incompatibility between the API bindings included in Katello 3.18.2.1 and version 2.9.1 of python3-pulp-deb. If this is a critical system it is better to wait for the Katello 3.18.4 release.

Hello @quba42,

Thanks.

Hello karthickitslm

I’m running Katello 4.0.0-1 but still can’t sync Debian 10 repositories:
Below what i’m using to configure Debian 10 repositories:

  • Debian 10 main:

    • URL: http://ftp.debian.org/debian/
    • Releases: buster
    • Component: main
    • Architecture: amd64
  • Debian 10 security:

    • URL: http://deb.debian.org/debian-security/
    • Releases: buster/updates
    • Component: main
    • Architecture: amd64
  • Debian 10 updates:

    • URL: http://ftp.debian.org/debian/
    • Releases: buster-updates
    • Component: main
    • Architecture: amd64

Can you share your Debian repositories configuration.

Thanks for your help

and one more time my answer on the other thread: Subscription Manager for Debian & Ubuntu on apt.atix.de - #32 by quba42

Hello mcorr & quba42,

Thanks for your reply and sorry for duplicating the topics,

I added more information and logs under Subscription Manager for Debian & Ubuntu on apt.atix.de

quba42 Ubuntu 20.04 sync is working just fine, I’m facing this sync issue only With Debian 10.

Thanks !

Regard,