Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.

FS#53041 - repo-remove does not remove delta's when removing a package

Attached to Project: Pacman
Opened by Karel Louwagie (Midnightfox) - Tuesday, 21 February 2017, 19:29 GMT
Last edited by Eli Schwartz (eschwartz) - Tuesday, 29 May 2018, 02:04 GMT
Task Type Bug Report
Category Scripts & Tools
Status Unconfirmed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version 6.0.0
Due Date Undecided
Percent Complete 0%
Votes 1
Private No



repo-remove does not remove delta's for a package with delta's. It leaves behind a .deltas file in the database file throwing the following error when syncing the database:

Additional info:
* package version(s): pacman 5.0.1-4

Steps to reproduce:

- introduce newer versions of package with delta's to a pacman database file
- remove package (repo-remove <db> <package name>)
- The error is visible when syncing the database (error: invalid name for database entry). When extracted the database file shows a .deltas file for the removed package.

The error disappears when doing one of the following:
- re-adding the package (whatever version)
- re-adding the package followed by removing all available delta's and then removing the package.
This task depends upon