Project

Profile

Help

Issue #7539

closed

Apt does not find correct package after rollback of distribution.

Added by smekras over 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version - Debian:
master
Platform Release:
Target Release - Debian:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

First of all, apologies if this is not the right place for this, but I couldn't find where else to go.

I am using pulp 3 on a raspberry pi and I ran into the following issue:

I have created a repository, following the documentation, then I uploaded two deb files into pulp. The two files are version 1.0 and version 1.1 of the same package.

I added each to the repository, getting the expected two versions (one just with 1.0, one with both 1.0 and 1.1). I then created a publication for each version.

Finally, I created a distribution based on version 1 of the repository (the one with v1.0 of the deb package), I was able to install the package with apt, as expected.

Updating the distribution so that it points to version 2 of the repository (the one with v1.1 of the deb package) also worked as expected, with apt updating the package normally.

When I tried to rollback the pulp distribution back to version 1 of the repository (using http patch), apt kept looking for version 1.1 of the deb package, even though everything appears to be pointing where it should.

Commenting out the repo in sources.list, running update, then uncommenting it again seems to work, making apt see v1.0 of the deb package again.

Am I missing something obvious here, or is this an issue with pulp?

Also available in: Atom PDF