Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jun 2008 15:09:55 -0400
From:      Gerard <gerard@seibercom.net>
To:        freebsd-ports@freebsd.org
Subject:   Re: Resolution: Portmanager stuck in a loop
Message-ID:  <20080630150955.447762f8@scorpio>
In-Reply-To: <7E88CE27089FBA4DAF28262B761808863FD734@MAIL01.caprio.corp>
References:  <7E88CE27089FBA4DAF28262B761808863FD6DB@MAIL01.caprio.corp> <1214577239.63129.7.camel@squirrel.corp.cox.com> <7E88CE27089FBA4DAF28262B761808863FD6FF@MAIL01.caprio.corp> <1214578557.63129.14.camel@squirrel.corp.cox.com> <7E88CE27089FBA4DAF28262B761808863FD734@MAIL01.caprio.corp>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/0lKUhOJGQnCo8xBS3cXi52C
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Mon, 30 Jun 2008 12:25:26 -0400
"Josh Hanson" <JoshHanson@capriomgt.com> wrote:

> After some very helpful further discussions with Robert, I tried
> running "portmanger -u -p -l -y" to re-build everything, with no
> success. Further digging established that my pkg_info database was
> very confused. (For example, pkg_info reported that cdrtools is
> required by xorg-server and lots of x drivers, which it clearly is
> not.)
>=20
> How it got that bad on such a fresh system is a mystery. I don't know
> what I could have done to mess it up.
>=20
> On a whim, I tried running "pkgdb -F" and "pkgdb -fU", but it didn't
> make anything better.
>=20
> Robert suggested that I run pkg_delete -a to start from scratch. I ran
> it as an experiment, and it looks like it'd probably work, but as long
> as I'm starting from scratch I might as well go all out and reinstall
> FreeBSD. I don't yet have any data on this system, so I literally have
> nothing to lose, and who knows what else I may have screwed up along
> the way?  :)

Before going that route, update your ports tree. Next, run:

	portmanager -u -f -l -y

That will rebuild your entire system. I did that once and it did
correct a lot of problems. The down side is that it will rebuild every
port that you have installed and consequently consume a considerable
amount of time if you have many ports installed; i.e. open office for
instance.

Since you have nothing to lose, I would try it out. Before you do it
though, clean out all of the 'portmanger' files in the '/tmp' directory
to insure that you get a fresh build, and be sure to start with the
latest ports updates.

--=20
Gerard
gerard@seibercom.net

Two wrongs are only the beginning.

	Kohn

--Sig_/0lKUhOJGQnCo8xBS3cXi52C
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

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

iEUEARECAAYFAkhpL4MACgkQ6DWTaTcTwMlJMQCWIaIR5zg9L0Kvnw7XFVJSFqNu
2ACeLcJTuniw70DdwPbAWxt6Dj8QNQ4=
=M4Bv
-----END PGP SIGNATURE-----

--Sig_/0lKUhOJGQnCo8xBS3cXi52C--



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