Package: mini-buildd
Version: 2.0.15~bpo12+1

Sorry if I should have discussed this elsewhere before reporting a bug, but 
there is no mailing list for mini-buildd, is there? It seems like it has to be 
a bug, although it's surprising that nobody has reported it yet. Sorry if it's 
been fixed in 2.2 already, but I can't find anything relevant in the 
changelog.

Anyway, I'm getting 400 Bad Request (No such source: Source 'package_version' 
not found in 'repo-dist-suite-rollback4' distribution) when trying to remove a 
package from a rollback distribution. I enter the package name in the top box, 
click "ls", e.g. "Debian 'bullseye' (11)", "5 Rollbacks", check the box next 
to the remove button for the oldest rollback (4) and click it. 

Removing packages from normal distributions works.

Investigating...

The issue appears to be that reprepro.Ls puts rollbacks in a separate 
structure, so the src_pkg.filter() call in 
models.Repository.mbd_package_remove doesn't find anything. According to your 
documentation, you need to pass src_pkg.rollbacks() as the first argument when 
doing a rollback removal.

-- 
Magnus Holmgren
./¯\_/¯\. Milient

Reply via email to