From owner-freebsd-ports@FreeBSD.ORG Fri Nov 9 19:09:47 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2EB40C05 for ; Fri, 9 Nov 2012 19:09:47 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A357A8FC0C for ; Fri, 9 Nov 2012 19:09:46 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jm19so744852bkc.13 for ; Fri, 09 Nov 2012 11:09:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Vd6s2gS0vb17RAWLBYYeMpXBKU7gy32SBcbQJkj8F9U=; b=lEBg+G8pqnEUJ0lih/gDVP04vt9u9Gb9nYUAOpZ1RWMKBCFc8dxEPrY5CYZLgsbOKp KEfslfXi+Cu+iiWkasW0GJMWluT99/lJTdEXkuMyJO7owAL2HSGyVNM7GmZusKu/u0os K+xulMmlUg6q3O0c9xUuv92RUL1foKyxQdlHCXiEChPCWZDVr2Wi72YGRWB5Yy9QDO/N sCgqwMYrbsQbvRW01h7uCw0HXnO0jfBfYETStLSwWtL2aJmK+xJJWOBhzuqf1rux/lVQ V0EMMviPBIIw7zYIbIqZRuSPcvvFyeYGdy3IV8wdctBW5jlsfpVzMTbC1x8OxLHuKWb6 6DLg== MIME-Version: 1.0 Received: by 10.204.4.200 with SMTP id 8mr4237484bks.81.1352488185292; Fri, 09 Nov 2012 11:09:45 -0800 (PST) Received: by 10.204.50.197 with HTTP; Fri, 9 Nov 2012 11:09:45 -0800 (PST) Received: by 10.204.50.197 with HTTP; Fri, 9 Nov 2012 11:09:45 -0800 (PST) In-Reply-To: <1352486067.114.YahooMailClassic@web164003.mail.gq1.yahoo.com> References: <1352486067.114.YahooMailClassic@web164003.mail.gq1.yahoo.com> Date: Fri, 9 Nov 2012 19:09:45 +0000 Message-ID: Subject: Re: pkgng woes From: Chris Rees To: Jeffrey Bouquet Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Mailing List , Beeblebrox X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2012 19:09:47 -0000 On 9 Nov 2012 18:34, "Jeffrey Bouquet" wrote: > > > > --- On Fri, 11/9/12, Chris Rees wrote: > > > From: Chris Rees > > Subject: Re: pkgng woes > > To: "Beeblebrox" > > Cc: freebsd-ports@freebsd.org > > Date: Friday, November 9, 2012, 8:18 AM > > On 9 Nov 2012 09:53, "Beeblebrox" > > > > wrote: > > > > > > Pkgng, as a concept may be great, but it's not really > > working - at least > > for > > > me: > > > > > > 1. pkg2ng conversion does not do a complete job and I > > have about half of > > my > > > ports in purgatory or a quasi-installed state. The > > program runs and is > > > installed but pkgdb does not have a record for it. So > > my ports updates do > > a > > > half-ass job. > > > 2. I am used to portmaster and I accept that > > portupgrade is "more ready" > > to > > > be used with pkgng than portmaster. However, portmaster > > has the > > > "--check-depends" option which I would normally use to > > correct problem #1, > > > alas I see no similar function in portupgrade or pkg. > > The "portupgrade > > -Ffu" > > > and "pkg check" commands don't do the trick either. > > > 3. I have some ports that I never want to install (like > > accessibility/atk > > or > > > net/avahi). The new pkgtools.conf has a nice feature of > > IGNORE_CATEGORIES > > > and HOLD_PKGS which I hope will allow me to "blacklist" > > those ports but I > > > have my doubts as the knob is PKGS and not PORTS - so > > we'll see. > > Separately > > > though, while trying to get my system pkgng complient > > and doing updates, > > > there have been some ports which were pulled in that I > > whish to remove. As > > > in #2, portmaster --check-depends did a nice job of > > this and allowed the > > > dependency to be removed from the portsdb structure - > > so same problem here > > > as #2. > > > 4. I know how to do +IGNOREME in the portsdb and that > > is a very roundabout > > > way of solving an sqlite entry. > > > 5. pkg add does not respect existing port version > > information on the > > system. > > > If you try to install a package and its dependencies, > > pkg tries to pull in > > > its own preferred version. This happened for perl5 - I > > have 5.16 already > > on > > > the system but pkg kept trying to install 5.14. The > > only solution was to > > use > > > the old "pkg-add -i" to install one-by-one and without > > the dependencies. > > > Interesting how pkgng does not have the -i (no-deps) > > option?? > > > > Mixing versions with binary packages is a bad idea > > anyway. Packages are > > built with a certain set of dependencies, and you can't mix > > and match (this > > has always been the case). If you want to do this, use > > ports. Packages > > are designed to work as a set, hence pkg upgrade just > > upgrades everything > > to the latest version. > > > > Does that mean that, for example, when I upgraded a slew of > packages ( pkg_add -f ...) that depended upon pkg-config > but installed and theoretically now depending upon pkgconf, that I'd > have to do them all by *ports* if using /pkg/ not /var/db/pkg? > That would seriously hinder fully half of my upgrades, making them > last a magnitude of hours longer each time... I'm afraid I haven't a clue what you're talking about. pkgng is nothing to do with /pkg, and certainly nothing to do with pkg_add. Chris