Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 00:31:29 -0700 (PDT)
From:      "Waitman Gobble" <uzimac@da3m0n8t3r.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: libpng.so.6 missing
Message-ID:  <1339486289.86978@da3m0n8t3r.com>
In-Reply-To: <20120612071859.GF5592@e-new.0x20.net>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

--bound1339486289
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Lars Engels <lars.engels@0x20.net> wrote ..
> On Mon, Jun 11, 2012 at 11:06:46PM -0700, Waitman Gobble wrote:
> > Lars Engels <lars.engels@0x20.net> wrote ..
> > > On Mon, Jun 11, 2012 at 10:07:22PM -0700, Waitman Gobble wrote:
> > > > Warren Block <wblock@wonkity.com> 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.
> > > 
> > > It does, but you need a working repository for it.
> > 
> > I update ports in my sup file, along with the FreeBSD source. I
> > normally csup at least every two weeks. Is this what you mean by
> > working ports repository?
> > 
> > I previously ran into a snag if the package version was different than
> > the ports version, and it seems occasionally packages lag a bit.
> 
> No, you need a package repository for pkgng, not the ports tree.
> You can try 
> # setenv PACKAGESITE "http://pkgbeta.freebsd.org/`uname|tr '[:upper:]' '[:lower:]'`-`uname
> -r|cut -d. -f1`-` uname -m`/latest"
> # pkg update
> # pkg upgrade
> 
> But please take note because pkg can also downgrade a package if
> the remote repository has an older version that the one that you have
> installed.

Thanks so much for the info. Do you have an idea about how long it would take to replace 700 packages?

-- 
Waitman Gobble
San Jose California USA


--bound1339486289--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1339486289.86978>