From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 15:35:22 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C0489347 for ; Sat, 27 Dec 2014 15:35:22 +0000 (UTC) Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0126.outbound.protection.outlook.com [207.46.100.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99FB76411B for ; Sat, 27 Dec 2014 15:35:22 +0000 (UTC) Received: from [10.0.0.21] (73.5.142.244) by BY1PR0301MB0839.namprd03.prod.outlook.com (25.160.193.145) with Microsoft SMTP Server (TLS) id 15.1.49.12; Sat, 27 Dec 2014 15:35:18 +0000 Message-ID: <549ED1B1.1090906@my.hennepintech.edu> Date: Sat, 27 Dec 2014 09:35:13 -0600 From: Andrew Berg User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Matt Smith , Subject: Re: Do I want to switch to the new pkg(8) format? References: <549E06EA.20008@my.hennepintech.edu> <20141227133604.GA40611@xtaz.uk> In-Reply-To: <20141227133604.GA40611@xtaz.uk> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [73.5.142.244] X-ClientProxiedBy: BY2PR01CA0044.prod.exchangelabs.com (10.255.242.34) To BY1PR0301MB0839.namprd03.prod.outlook.com (25.160.193.145) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aberg010@my.HennepinTech.edu; X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0301MB0839; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004); SRVR:BY1PR0301MB0839; X-Forefront-PRVS: 0438F90F17 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6049001)(189002)(199003)(24454002)(51704005)(46102003)(122386002)(21056001)(68736005)(50466002)(65816999)(87976001)(23676002)(93886004)(64126003)(75432002)(97736003)(86362001)(40100003)(76176999)(54356999)(42186005)(59896002)(2950100001)(77096005)(120916001)(88552001)(83506001)(77156002)(62966003)(80316001)(101416001)(89122001)(107046002)(65806001)(33656002)(64706001)(47776003)(50986999)(92566001)(99396003)(106356001)(20776003)(4396001)(31966008)(107886001)(105586002)(66066001)(89472002)(2101003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0301MB0839; H:[10.0.0.21]; FPR:; SPF:None; MLV:sfv; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: my.HennepinTech.edu does not designate permitted sender hosts) X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0301MB0839; X-OriginatorOrg: my.hennepintech.edu X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Dec 2014 15:35:18.9971 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0301MB0839 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2014 15:35:22 -0000 On 2014.12.27 07:36, Matt Smith wrote: > On Dec 26 19:10, Andrew Berg wrote: >>On 2014.12.26 18:48, Warren Block wrote: >>> Actually, pkg_cutleaves is a port and should be okay to use. The name >>> is due to it trying to look like the old pkg_* system programs. >>> Probably we should say "do not use /usr/sbin/pkg_*". >>Unless it has been updated recently, pkg_cutleaves doesn't support pkgng. It >>does some weird things that make it look like it kind of works, but it doesn't. >>pkg-rmleaf, however, does work with pkgng. > > Hmmmm. I've been using pkg_cutleaves with pkgng for what must be coming > up to a year and haven't ever seen it do anything strange. Seems to work > fine to me. It definitely picks appropriate ports to delete and actually > uninstalls them using the proper pkgng tools. Can you elaborate a bit on > the weird things? Perhaps it was just a bug or two that I encountered. It left the pkg database in a bad state (or it couldn't read the database correctly), but I can't remember the details since it's been so long.