Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Apr 2004 22:08:21 +0100
From:      John Duffey <jduffey@freeuk.com>
To:        jaymo@cromagnon.cullmail.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: ports hosed
Message-ID:  <4c9a88c84ejduffey@freeuk.com>
In-Reply-To: <200404041544.48281.jaymo@cromagnon.cullmail.com>
References:  <200404040153.11429.jaymo@cromagnon.cullmail.com> <200404041510.10437.jaymo@cromagnon.cullmail.com> <200404041544.48281.jaymo@cromagnon.cullmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04 Apr, Jay Moore <jaymo@cromagnon.cullmail.com> wrote:
> So - again, is there any way to cleanly remove and re-install
> the entire ports tree from the 5.2 cd?

Try
        rm -r /usr/ports

then 

        sysinstall

Follow options:

        =Configure (do post install configuration of FreeBSD) ->
        =Distributions (Install additional distribution sets) ->
        =Ports (The FreeBSD Ports Collection) (Enter)         *
        =CD/DVD (Install from a FreeBSD CD/DVD)               *

Should get the whole ports shebang back down to 5.2 CD Dist
standards.

You'll then need to reinstate the index as it was then...

        cd /usr/ports
        portsdb -Uu

To get rid of every package you have installed currently, try 

        pkg_delete *

which should de-install every package you've got, and then
rebuild everything you need, starting

        cd /usr/ports/net/cvsup/ 
        make install clean

to build cvsup.

I assume you've already configured the example script from
/usr/share/examples/cvsup/ports-supfile so we'll skip directly
into

        cvsup -g /usr/share/examples/cvsup/ports-supfile
        cd /usr/ports/sysutils/portupgrade
        make install clean


        portinstall (any port you like)

I'd recommend you try and fix whatever it is that's gone wrong
with k3b though.

It'll take far less time.

John

-- 



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