Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Dec 2012 05:13:42 -0800 (PST)
From:      Jeffrey Bouquet <jeffreybouquet@yahoo.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: Upgrading ports problem with portupgrade(pkgng)
Message-ID:  <1356354822.41996.YahooMailClassic@web164004.mail.gq1.yahoo.com>
In-Reply-To: <CA%2BCmbW=kKZHxLCUi6TuyvmiFc%2BOOezfW8ppGLOsQSyMTXeQk_w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for the formatting.=A0 (The other webmail I could use is even more pr=
oblematic).

--- On Sun, 12/23/12, Beach Geek <labeachgeek@gmail.com> wrote:

From: Beach Geek <labeachgeek@gmail.com>
Subject: Re: Upgrading ports problem with portupgrade(pkgng)
To: freebsd-ports@freebsd.org
Date: Sunday, December 23, 2012, 1:05 PM

On Dec 22, 2012 2:15 PM, "Beach Geek" <labeachgeek@gmail.com> wrote:
>
> System: FreeBSD/i386 10-current, base/head(src)=3Dr244363,
ports/head=3Dr309344.
>
> I upgraded to r244363 from an Oct 3rd(ish) version. Followed
ports/UPDATING for pkgng to edit make.conf and convert pkgdb.db.
>
> I'm now trying to update my ports (from tree, not pkgs), and I get:
>
>=A0 =A0=A0=A0# portupgrade -ae
>=A0 =A0=A0=A0USING PKGNG
>=A0 =A0=A0=A0Stale dependency: ORBit2-2.14.19 --> glib-2.28.8_4 -- manuall=
y run
'pkgdb -F' to fix, or specify -O to force.
>
>=A0 =A0=A0=A0# pkgdb -F USING PKGNG pkgdb -F not supported with PKGNG yet.=
 Use
'pkg check' directly.
>
>=A0 =A0=A0=A0# pkg check -d (also tried pkg check -d -a)
>=A0 =A0=A0=A0#
>
> Running portupgrade -ae gives same message as before.
>
> Went to port tree, upgraded glib with 'make deinstall reinstall clean'.
Then....
>=A0 =A0=A0=A0# pkg info glib glib-2.28.8_5 Some useful routines of C progr=
amming
(current stable version)
>
> Run portupgrade -ae...... same message.
>
> Could someone point me in the right direction...
>
> If I'm misunderstanding the man & wiki pages, please explain (I'll even
wear the pointyhat).
>
> Thanks, BG

An update.....
4 servers have the problem in my previous post, and I've yet to find a way
to use portupgrade.
Only answers I've received were to use packages via pkgng. (Not an option).

For the other 9 servers, I tried it a little differently.
=A0 =A0 -=A0 switch to pkgng
=A0 =A0 -=A0 svn base and ports
=A0 =A0 -=A0 upgrade base
=A0 =A0 -=A0 upgrade ports with portupgrade.

Worked fine for 8 of 9.

Will be rolling the 5 broke servers back (yes, we have bkups) ;)

Will leave the 8 working ones running pkgbg, and see how it goes.

Still wondering, how to repair the database w/o pkgfb -F so portupgrade
will work?

And as I understand,=A0 poudriere must be used instead of portupgrade to
create packages?

Thanks,
BG
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"

I would hope that pkgng not be the default before someone writes a huge flo=
wchart pointing out all or most all of the here-to-there scenarios, for ins=
tance if
one uses a -devel version of some /devel/ port suddenly, some packages brea=
k, for instance some machines run v8 some run v10, which ports won't be in =
the
official build cluster and would commonly need to be built locally, and a s=
lew of
other issues which may be slowly added to the flowchart as the years go by,=
 so that questions would be fewer all around.=A0=A0 (Hoping also for a GEOM=
 flowchart, a CUPS flowchart, ... but that is off topic for this email...)=
=20

BTW I've a methodology to rapidly dispense with unknown-but-need-upgrading =
dependency upgrading (which just uncovered a slew of ports which won't buil=
d, most with a similar error) and it heavily relies upon the /var/db/pkg/ s=
tructure for
ease of use.=A0 I also wish that an adjunct to the pkg(ng) include an optio=
n for that
structure so that that ease of use is not abstracted in a yet unknown way.

If this will all be minor issues vs actual implementation of a v10 default =
pkg system, I apologize in advance.=A0 (After all, most or all of the ports=
 which won't=20
currently build here I seldom if ever actually have time to use...)=20

J. Bouquet=20



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