Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 10:55:33 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Waitman Gobble <uzimac@da3m0n8t3r.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: libpng.so.6 missing
Message-ID:  <20120612085533.GH5592@e-new.0x20.net>
In-Reply-To: <1339486289.86978@da3m0n8t3r.com>
References:  <20120612071859.GF5592@e-new.0x20.net> <1339486289.86978@da3m0n8t3r.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--cQHT7pPGdkbGIWPi
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 12, 2012 at 12:31:29AM -0700, Waitman Gobble wrote:
> 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:
> > > > > >=20
> > > > > > > I ran pkg_libchk and it looks like a whole boatload of packag=
es need
> > > > > > > to be replaced, so I decided to skip to the chase and give th=
e update
> > > > > > > script a 'replace' option.. it checks the package version ava=
ilable in
> > > > > > > the packages directory on the freebsd site with what's instal=
led, if
> > > > > > > there's a newer version it downloads it and does the MD5 chec=
k,=20
> > > > > > > creates an update.sh script to replace (the update script doe=
sn't=20
> > > > > > > actually do any udpating!) Anyhow, with 'replace' it will eit=
her=20
> > > > > > > replace the existing or use the newer if available. I've been=
 using=20
> > > > > > > this script to update the system and it works pretty good for=
 me,=20
> > > > > > > except when I veer off path and get into ports like with my l=
ibpng=20
> > > > > > > issue. :)
> > > > > >=20
> > > > > > There is a pkg_upgrade command in the bsdadminscripts, too.  Ho=
wever,=20
> > > > > > pkgng will change all that soon.
> > > > >=20
> > > > > 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.
> > > >=20
> > > > It does, but you need a working repository for it.
> > >=20
> > > 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?
> > >=20
> > > I previously ran into a snag if the package version was different than
> > > the ports version, and it seems occasionally packages lag a bit.
> >=20
> > No, you need a package repository for pkgng, not the ports tree.
> > You can try=20
> > # setenv PACKAGESITE "http://pkgbeta.freebsd.org/`uname|tr '[:upper:]' =
'[:lower:]'`-`uname
> > -r|cut -d. -f1`-` uname -m`/latest"
> > # pkg update
> > # pkg upgrade
> >=20
> > 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.
>=20
> Thanks so much for the info. Do you have an idea about how long it would =
take to replace 700 packages?

Much faster than using ports! ;-)
I can't tell, it depends on your internet connection, pkgbeta's current
bandwidth, etc. But apart from the download it should be pretty fast.
Extracting the txz and updating the sqlite database is faster than
extracting the tbz and updating /var/db/pkg/*

--cQHT7pPGdkbGIWPi
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAk/XBAUACgkQKc512sD3afjyYACfWOr46xN+XwvQwLkjGwWXG3xo
XJ4Anip578JyRKtqmjcPcZw8Mq1DpqJd
=g2iP
-----END PGP SIGNATURE-----

--cQHT7pPGdkbGIWPi--



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