pulp / pulp/pulp_deb

An additional character "1:" is being added after the (_)underscore with the filename of Ubuntu (deb) package in Pulp3 repository.

Open
#986 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Triage-Needed
Dominant language
Python
Stars
71
Forks
91
Avg merge
1d 19h
Merged PRs (30d)
22

Description

Version
Please provide the versions of the pulpcore and pulp_deb packages in use, and how they are installed. If you are using Pulp via Katello, please provide the Katello version.

pulp-cli 0.22.0
pulp-cli-deb 0.0.5
pulp-deb 3.1.1
pulp-file 1.16.0
pulp-glue 0.22.0
pulp-python 3.11.0
pulpcore 3.43.1

Describe the bug
A clear and concise description of what the bug is.
I encountering an issue with the filename of a Debian (deb) package in a Pulp 3 repository, where an additional character "1:" is being added after the underscore.

Actual deb package name in Source (remote) location:
http://us.archive.ubuntu.com/ubuntu/pool/main/libx/libxcomposite/libxcomposite1_0.4.5-1build2_amd64.deb

Sync and Published deb package name in pulp3 repository: (Adding 1: character after underscore in filename)
http://x.x.x.x:24816/pulp/content/prod/ubuntu/2204/pool/main/libx/libxcomposite/libxcomposite1_1:0.4.5-1build2_amd64.deb

To Reproduce
Steps to reproduce the behavior:
pulp deb repository sync --name <deb_repo_name> --mirror
pulp deb publication create --repository <deb_repo_name> --structured --version 1 --signing-service 'Pulp QE'
pulp deb distribution update

Expected behavior
A clear and concise description of what you expected to happen.

The pulp3 published repository package name should be same as source(remote) deb package name.. should add any additional characters..

Additional context
Add any other context about the problem here. Please provide links to any previous discussions via Discourse or Bugzilla.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the listed pulp deb sync, publication, and distribution commands, then compare the source and published package filenames. Trace how pulp_deb handles Debian package versions during synchronization and publication; done means the published filename matches the source without the added "1:" character.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.