diff options
author | Eli Schwartz <eschwartz@archlinux.org> | 2018-12-27 04:58:26 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2019-01-04 02:14:52 +0100 |
commit | 4778f1318853ac9fc1f838d836dbe017fb6cbddc (patch) | |
tree | 8a0553b4da25281b7602c50ff29e7bb86f456f3a /README | |
parent | 2d403709d97cca381873a9d56cd37f51c0f3eade (diff) | |
download | pacman-4778f1318853ac9fc1f838d836dbe017fb6cbddc.tar.gz pacman-4778f1318853ac9fc1f838d836dbe017fb6cbddc.tar.xz |
repo-remove: fix removing packages with deltas
We have code in order to remove deltas when removing a package, but it
is never run, since we try to remove the wrong file.
This was broken in commit cb0f2bd0385f447e045e2b2aab9ffa55df3c2d8a which
modified the internal layout we use to modify the db, changing "tree" to
"db", but did not update all locations where it was used.
This worked swimmingly well as long as only repo-add updates were
handling the backup and restore of the delta file, as the delta file
therefore got backed up to the correct location (db) in the shared
db_remove_entry() function.
But later on in the repo-remove logic, we tried removing a different
file that will never exist (tree).
Fixes FS#53041
Signed-off-by: Eli Schwartz <eschwartz@archlinux.org>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions