hmm, on Wed, Feb 22, 2006 at 10:58:57PM +0000, Craig McCormick said that > Forgive the pun on your email address, but pkg_delete -F <some clause> > would probably do the trick for you.
yeah, pun intended :) still, it's -f and not -F :) > See why the pkg is refusing to be removed and use the string that fits > as per the pkg_delete manpage. frankly, and i wrote this before, some of the -F keywords' descriptions in all the pkg_* tools are somehow eluding me... without examples i find these keyword quite "abstract", forgive me my criticism. and as i don't understand them (in a package) context, i can't even suggest better wordings. so let's go: --------------- ambiguous delete all packages matching ambiguous package specifications. amaaq> sudo pkg_delete -F ambiguous blackbox Can't remove blackbox without also removing: bbkeys-0.9.0 what is an amibuous package specification? --------------- baddepend force the deletion of packages even if they reference inexistent dependencies. amaaq> sudo pkg_delete -F baddepend blackbox Can't remove blackbox without also removing: bbkeys-0.9.0 inexistent? wouldn't be non-existent (or nonexistent) slightly more friendly? i think i have never seen the word inexistent before (i'm not saying it's incorrect) why is it bad to delete packages (without override) which reference nonexistent dependencies? probably they don't work correctly anyway (something is missing for them, right?) --------------- nonroot uninstall even if not running as root. amaaq> sudo pkg_delete -F nonroot blackbox Can't remove blackbox without also removing: bbkeys-0.9.0 i never understood this. so anyone can undelete packages? --------------- scripts external scripts may fail. amaaq> sudo pkg_delete -F scripts blackbox Can't remove blackbox without also removing: bbkeys-0.9.0 these scripts are install and uninstall scripts? what does "external" mean in this case? --------------- uninstalled proceed even if some package names don't resolve to installed package names. amaaq> sudo pkg_delete -F uninstalled blackbox Can't remove blackbox without also removing: bbkeys-0.9.0 again, why is it needed to override the deletion of nonexistent packages? are they not just ignored? --------------- dependencies also delete the whole set of packages that depends upon the requested packages. amaaq> sudo pkg_delete -F dependencies blackbox Can't remove blackbox without also removing: bbkeys-0.9.0 (removing it as well) bbkeys-0.9.0: complete blackbox-0.70.1: complete Clean shared items: complete i have left this one as the last because this is the only that is perfectly clear for me and knew that it will remove both of the packages. which was not my aim, mind you. bbkeys was perfectly fine to stay while i upgraded blackbox... so here i am. please forgive my ignorance. but updating packages is a bit like installing a system: done just a couple of times a year and so it needs excellent and easy to understand docs because if i do something so rarely i tend to forget the delicate details :) perhaps some other people also have problems with these keywords? almost forgot: it boils down to: programs trying to be too smart are frowned upon, at least that's what i see in the openbsd world. give me the gun to shoot myself in the foot! :) a simple -F force would be wonderful... -f (not -F ;) -- no answer is also an answer.