Date: Fri, 9 Nov 2012 23:52:08 -0800 (PST) From: Beeblebrox <zaphod@berentweb.com> To: freebsd-ports@freebsd.org Subject: Re: pkgng woes Message-ID: <1352533928056-5759760.post@n5.nabble.com> In-Reply-To: <509D2619.9020105@shatow.net> References: <1352454789865-5759489.post@n5.nabble.com> <509CF2B0.5050008@egr.msu.edu> <1352464341903-5759519.post@n5.nabble.com> <509D2619.9020105@shatow.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Bryan Drewery wrote > 1. This should not happen if you have the latest portmaster port and use > the PKGNGPATCH option. > 2. It is not required that you use binary packages with pkgng. You can > continue using ports with portmaster/portupgrade just fine. > 3. Portmaster *is* fully ready for pkgng, and does utilize the pkgng tools > to read from its database. Q1+Q3. That's not the point: For ports I have compiled + installed AFTER switching to pkgng and AFTER enabling PKGNGPATCH in portmaster, the pkgdb records are populated correctly. The problem is with the ports already installed on the system BEFORE the switch. Most of the records for those ports are corrupt and THERE'S NO WAY TO FIX unless you do a complete rebuild / reinstall after you do a massive sort through everything that is "missing" (from the pkgdb, that is). Q2. Not with a corrupt / incomplete pkgdb... Chris Rees-2 wrote > 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. I only do this when a port build breaks. Say you are building www/foo and build for the depend net/boo breaks or just does not compile. I add net/boo (without any depends) from package and continue with the compile. Or at least I used to be able to do this - Now I no longer can because of pkgng's flag limitations. @Jeffrey Bouquet: AFIK, pkg_add will not register the added package on pkgng's pkgdb sqlite database - you must use pkgng's *pkg add* command for that. You can't even add the same version of a package that was fetched before through the old pkg command through pkgng's *pkg add*. This is because pkgng packages have mysqldb headers included in the file and pkgng must use those headers in the file to properly register it in the db. Even the file endings are different: .tbz vs .txz. IN ESSENCE: I have a corrupt pkgdb for pkgng and there are no apparent fix'em tools useable for pkgng. That means I have to re-build everything! Nice... But too bad that when re-building everything, I no longer have the option of preventing the install of a number of ports listed as dependency but which I absolutely do not want. P.S. Thanks at least for not asking - "why do you not want that port"? or "what's wrong with it"? -- View this message in context: http://freebsd.1045724.n5.nabble.com/pkgng-woes-tp5759489p5759760.html Sent from the freebsd-ports mailing list archive at Nabble.com.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1352533928056-5759760.post>