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)



The following reply was made to PR pkg/24255; it has been noted by GNATS.

From: Aleksey Cheusov <cheusov%tut.by@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/24255 (pkg_delete removes meta data even if deinstall fails)
Date: Fri, 25 Mar 2011 20:36:52 +0200

 > There were massive improvements in pkg_install since PR was filed.
 > Does the problem persist?
 
 Yes, the problem still persists.
 
    asrock# chflags -h uchg /usr/pkg/bin/distbb
    asrock# pkg_delete distbb
    pkg_delete: Couldn't remove /usr/pkg/bin/distbb
    asrock# echo $?
    0
    asrock# pkg_delete distbb
    pkg_delete: No matching package for basename `distbb' of `distbb'
    asrock# ls -la /usr/pkg/bin/distbb
    -rwxr-xr-x  1 root  wheel  7056 Jan 21 01:23 /usr/pkg/bin/distbb
    asrock#
 
 How about swapping files removal and pkgdb operations?
 
 -- 
 Best regards, Aleksey Cheusov.
 


Home | Main Index | Thread Index | Old Index