Re: (no subject) Was: Re: Why This Infinite Loop??



On Monday 21 August 2006 13:55, apredoehl@xxxxxxxxxxxxxx wrote:
On Mon, 21 Aug 2006 13:14:10 -0400 beno wrote:
Gerard Seibert wrote:
To update portmanager, assuming you have an
up-to-date port system:

cd /usr/ports/sysutils/portmanager
male install & make clean

Well, here's exactly what I'm doing:

cd /usr/ports/sysutils/portmanager

make install
make clean
/usr/local/bin/portmanager -u -f -l -y

and then it proceeds to go back into its infinite
loop!!! This is what I'm trying to avoid!!! I
presume the reason it does that is because it
HASN'T upgraded and is STILL at version 0.2.0_1

Caution: I am new at answering questions, so someone
please chime in if I make a mistake.

beno, here is a guess: the reason this is happening is
that your ports tree (that is, /usr/ports/*) is probably
old. The version numbers, checksums, and much more, for
EVERY port is stored in the ports tree. Unless you update
your ports tree, just deinstalling and reinstalling a port
won't make it any newer.

There are a few ways to update your ports tree. Chapter 4
of the handbook describes a few ways. Personally I like
to use cvsup(1).

If you use cvsup(1) you can either update your entire
ports tree or just part of it. Here is text straight out
of the handbook
(http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
)

"...As root, copy /usr/share/examples/cvsup/ports-supfile
to a new location, such as /root or your home directory.

Edit ports-supfile.

Change CHANGE_THIS.FreeBSD.org to a CVSup server near you.
See CVSup Mirrors (Section A.5.7) for a complete listing
of mirror sites.

And now to run cvsup, use the following:
# cvsup -L 2 /root/ports-supfile
"

This might take awhile. You'll see your ports tree
getting files added, changed, and removed. After it is
done, THEN try deinstalling, building, and reinstalling
portmanager, or portupgrade, or whatever.

If you don't want to modify your whole ports tree, you can
edit ports-supfile a bit more and restrict the changes to
just the sysutils directory -- look inside the file for
helpful comments on how to do this.

IMHO, it might be a lot easier for him to use portsnap. Especially if he is
not familiar with the FBSD ports system. Just my opinion though.


--
Gerard Seibert
gerard@xxxxxxxxxxxxx

Woman's advice has little value, but he who won't take it is a fool.

Cervantes

Attachment: pgp0r2Q2DQzDC.pgp
Description: PGP signature



Relevant Pages

  • Re: Can i make a CD of the Ports Collection
    ... use whether cvsup or method above to get a recent ports ... > You can also reinstall the ports tree from the iso image. ... The answer is that this cannot be avoided, since the source files of the ... If you have a fast connection somewhere that can download these source ...
    (freebsd-questions)
  • Re: Questions about updating...
    ... Since ssh is part of the base install .. ... >>the system tree and the ports tree? ... When you build from a port, it essentially builds the package ...
    (freebsd-questions)
  • Re: new package system proposal
    ... two ports for which you provide a binary with default config but many ... Since we are talking about a fixed point ports tree ... snapshot and choosing only to upgrade certain ports. ... People who install once and don't upgrade aren't interested in either ...
    (freebsd-questions)
  • Re: cvsup tag for ports
    ... it's still not clear to me which tag I should use for a production server. ... For my sources I always use the security branch for the release we are ... On one hand it makes sense to track that branch for ports because that's ... Neither the ports tree nor the docs tree is branched. ...
    (freebsd-questions)
  • Re: Questions about updating...
    ... > the system tree and the ports tree? ... Yep, install portupgrade and cvsup. ...
    (freebsd-questions)