2

I was searching for a solution to delete a specific version of a package from a repository with reprepro. I could only find:

sudo reprepro remove focal foobar

which seems to delete the complete package with all versions. I would like to keep the older versions.

Also a good enough solution would be to force to regenerate new checksums and replace the package when running sudo reprepro includedeb focal ~/debian_repo/*.deb, but I have not found a switch here to ignore this kind of error.

k_o_
  • 135
  • What is reprepro? Have you tried to read its official documentation? – N0rbert Oct 18 '21 at 06:40
  • Sure, I read it. reprepro is the basic fundamental command for managing repositories. I expect it is known by anyone knowing an answer for this problem. – k_o_ Oct 18 '21 at 14:52
  • I managed to delete a specific version of a packet (containing an error) by issuing: sudo reprepro dumpunreferenced and then sudo reprepro deleteifunreferenced pool/main/p/packagename/packagename_1.2.3-0.0.1_amd64.deb. I'm running Debian 12 bookworm with reprepro version 5.3.1 . If this helps you out, I'll make a real answer to this question. – Oliver R. Sep 10 '24 at 07:53

0 Answers0