You are not logged in.

#1 2017-02-19 12:49:13

Midnightfox
Member
Registered: 2013-12-03
Posts: 7

Package removal from database with delta's

I've encountered an issue when removing a package that has delta's from a repo database file:

Package removal was done with repo-remove repo.db.tar.gz <packagename>
The resulting database file contained an archive with a bunch of folders (as usual) and 1 .deltas file (which causes all this trouble).
Re-adding the package to the database restores normal database structure. Removing all the delta's followed by the package removal results in a normal database file without the package.

This is the rather nondescriptive error that is thrown when syncing the databases:
error: invalid name for database entry

Shouldn't repo-remove remove the delta's as well? Should I file a bug for this or am I removing the package incorrectly?

Offline

#2 2017-02-19 23:45:19

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Package removal from database with delta's

Please file a bug.   If a package is removed, all deltas need removed too.

Offline

#3 2017-02-21 19:30:04

Midnightfox
Member
Registered: 2013-12-03
Posts: 7

Re: Package removal from database with delta's

Offline

#4 2017-02-21 21:19:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Package removal from database with delta's

Thanks!

Offline

Board footer

Powered by FluxBB