Resolution: Portmanager stuck in a loop

Gerard gerard at seibercom.net
Mon Jun 30 19:10:03 UTC 2008


On Mon, 30 Jun 2008 12:25:26 -0400
"Josh Hanson" <JoshHanson at 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.)
> 
> 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.
> 
> On a whim, I tried running "pkgdb -F" and "pkgdb -fU", but it didn't
> make anything better.
> 
> 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.

-- 
Gerard
gerard at seibercom.net

Two wrongs are only the beginning.

	Kohn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20080630/1802e323/signature.pgp


More information about the freebsd-ports mailing list