fedora-copr / copr

RPM build system - upstream for https://copr.fedorainfracloud.org/
113 stars 62 forks source link

Deleted packages not removed from repodata #3507

Open wojnilowicz opened 6 days ago

wojnilowicz commented 6 days ago

Steps that lead me to this issue:

  1. I built rust-unicase_serde in COPR
  2. I built rust-rocket_cors that depends on the previous rust-unicase_serde in COPR
  3. I got rust-unicase_serde accepted in Fedora, so it's already in Fedora's repo
  4. I remove rust-unicase_serde from COPR
  5. I try to rebuild rust-rocket_cors in COPR

Behavior: It failed with

Not finished - interrupted by error: Status code: 404 for https://download.cFailed to download packages
 Librepo error: Status code: 404 for https://download.copr.fedorainfracloud.org/results/wojnilowicz/activitywatch/fedora-40-x86_64/07436781-rust-unicase_serde/rust-unicase_serde+default-devel-0.1.0-1.fc40.noarch.rpm (IP: 108.138.85.40)

Additional information: copr regenerate-repos doesn't help.

Suggested fix: Could you make copr regenerate-repos to purge whole repodata beforehand, so no nonexistent packages linger there?

wojnilowicz commented 6 days ago

A workaround is to go to the Settings tab and under "3. Other options" set "Repo priority:" to "100". After that rust-unicase_serde is installed from the Fedora repository and not my nonexisting COPR package.

nikromen commented 4 days ago

hmmm this seems like a regression, could this be a bug from adding the pulp features and moving corresponding code around, @FrostyX ?