pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/24255 (pkg_delete removes meta data even if deinstall fails)



On Thu, Apr 21, 2011 at 09:05:03PM +0000, Matthew Mondor wrote:
 >  Hmm since the submitter can't test anymore, does this bother anyone else
 >  enough to prevent this PR from being switched to closed or analyzed
 >  state?

I dunno, I'd rather that if something belched while it was being
removed we didn't delete the only available record of which particular
wreckage in /usr/pkg belonged to it.

ISTM offhand that it shouldn't be too hard to mark the package as
partially deleted in the metadata first, delete the contents, then
delete the metadata.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index