From owner-freebsd-ports@FreeBSD.ORG Tue Jun 12 05:07:25 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3DEA106566B for ; Tue, 12 Jun 2012 05:07:25 +0000 (UTC) (envelope-from uzimac@da3m0n8t3r.com) Received: from z.umatar.com (z.umatar.com [66.135.39.87]) by mx1.freebsd.org (Postfix) with ESMTP id 741CE8FC0C for ; Tue, 12 Jun 2012 05:07:25 +0000 (UTC) Received: from z.umatar.com (localhost [127.0.0.1]) by z.umatar.com (8.14.5/8.14.3) with ESMTP id q5C57NXi042786; Mon, 11 Jun 2012 22:07:23 -0700 (PDT) (envelope-from uzimac@da3m0n8t3r.com) Received: (from uzimac@localhost) by z.umatar.com (8.14.5/8.14.3/Submit) id q5C57MlX042782; Mon, 11 Jun 2012 22:07:22 -0700 (PDT) (envelope-from uzimac@da3m0n8t3r.com) X-Authentication-Warning: z.umatar.com: uzimac set sender to uzimac@da3m0n8t3r.com using -f From: "Waitman Gobble" To: Warren Block Message-Id: <1339477642.42777@da3m0n8t3r.com> X-Originating-IP: 75.36.149.244 X-Mailer: Usermin 1.500 In-Reply-To: Date: Mon, 11 Jun 2012 22:07:22 -0700 (PDT) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1339477642" Cc: freebsd-ports@freebsd.org, Kevin Oberman Subject: Re: libpng.so.6 missing X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jun 2012 05:07:25 -0000 This is a multi-part message in MIME format. --bound1339477642 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Warren Block wrote .. > On Mon, 11 Jun 2012, Waitman Gobble wrote: > > > I ran pkg_libchk and it looks like a whole boatload of packages need > > to be replaced, so I decided to skip to the chase and give the update > > script a 'replace' option.. it checks the package version available in > > the packages directory on the freebsd site with what's installed, if > > there's a newer version it downloads it and does the MD5 check, > > creates an update.sh script to replace (the update script doesn't > > actually do any udpating!) Anyhow, with 'replace' it will either > > replace the existing or use the newer if available. I've been using > > this script to update the system and it works pretty good for me, > > except when I veer off path and get into ports like with my libpng > > issue. :) > > There is a pkg_upgrade command in the bsdadminscripts, too. However, > pkgng will change all that soon. Thanks, I tried pkgng a few months ago and it didn't seem to do updates... but I recall many updates on the mail list so I'm sure it's much different now, and works much better. I'll definitely check it out. My update script fixed all problems with libpng, I ran pkg_libchk to verify. I'm glad to know about pkg_libchk, that's a great way to see if there are issues. My system is now working properly, yay. It's really simple, it just looks at what is installed and compares to what's available on freebsd.org, and that's about it. The script does not care about dependencies or what's in ports, etc, which I suppose could be a bad thing. But I've had luck. In my mind the dependencies are already on the system and as long as it's not a major version change there are likely to be no issues. But I've found that (for example) deleting the 2.x pkgs and installing 3.x can cause problems. I am not 100% sure I actually needed to 'reinstall' the packages - b/c it seems like it would essentially pull the same files with same dependencies i think.. Anyhow, I will take a look at the pkg_upgrade script, it would be good to have better automation, as I still have to go through the list of updates and manually mark the ones I don't want to mess with. For example, docbook.. it seems xfce (i think) pulls in like 5 different versions, so the update script gets confused about that. Thanks for the help. -- Waitman Gobble San Jose California USA --bound1339477642--