Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jun 2012 09:18:59 +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:  <20120612071859.GF5592@e-new.0x20.net>
In-Reply-To: <1339481206.13612@da3m0n8t3r.com>
References:  <20120612053742.GE5592@e-new.0x20.net> <1339481206.13612@da3m0n8t3r.com>

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

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

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 packages n=
eed=20
> > > > > to be replaced, so I decided to skip to the chase and give the up=
date=20
> > > > > script a 'replace' option.. it checks the package version availab=
le in=20
> > > > > the packages directory on the freebsd site with what's installed,=
 if=20
> > > > > there's a newer version it downloads it and does the MD5 check,=
=20
> > > > > creates an update.sh script to replace (the update script doesn't=
=20
> > > > > actually do any udpating!) Anyhow, with 'replace' it will either=
=20
> > > > > replace the existing or use the newer if available. I've been usi=
ng=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 libpn=
g=20
> > > > > issue. :)
> > > >=20
> > > > There is a pkg_upgrade command in the bsdadminscripts, too.  Howeve=
r,=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.

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:]' '[:l=
ower:]'`-`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.


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

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

iEYEARECAAYFAk/W7WMACgkQKc512sD3afiVRwCeMjVzablvOnJtEOkjd05dIx4r
6qEAoKtvUFy2GrvxKrrT5+bCzn0FfbWX
=NnTM
-----END PGP SIGNATURE-----

--ccWoVK0blSAgmhl2--



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