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

Attached to Project: Pacman
Opened by Charlie (Midnightfox) - Tuesday, 21 February 2017, 19:29 GMT
Last edited by Eli Schwartz (eschwartz) - Friday, 11 October 2019, 19:38 GMT
Task Type Bug Report
Category Scripts & Tools
Status Closed
Assigned To Eli Schwartz (eschwartz)
Architecture All
Severity Low
Priority Normal
Reported Version 5.0.1
Due in Version 5.2.0
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

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

Closed by  Eli Schwartz (eschwartz)
Friday, 11 October 2019, 19:38 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in git and also completely removed from the tree in git. Well, it is definitely fixed...

Loading...