Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Dec 2008 23:23:26 -0600
From:      Nathan Whitehorn <nwhitehorn@freebsd.org>
To:        =?UTF-8?B?SG9yc3QgR8O8bnRoZXIgQnVya2hhcmR0IElJSQ==?= <horst@sxemacs.org>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: Sane CFLAGS.
Message-ID:  <493E00CE.40604@freebsd.org>
In-Reply-To: <1228799404.1832.30.camel@horst-tla>
References:  <1228748788.1832.18.camel@horst-tla> <20081208151307.GA41398@narn.knownspace> <1228755903.1832.21.camel@horst-tla> <493D5AE5.6020002@freebsd.org> <1228761068.1832.25.camel@horst-tla> <493D6994.60903@freebsd.org> <1228799404.1832.30.camel@horst-tla>

next in thread | previous in thread | raw e-mail | index | archive | help
Horst Günther Burkhardt III wrote:
> On Mon, 2008-12-08 at 12:38 -0600, Nathan Whitehorn wrote:
>> Horst Günther Burkhardt III wrote:
>>> Any way to just remove everything that Ports has done, and rebuild the entire lot using the settings i had saved? :\
>>>   
>> If you need to wipe everything, pkg_deinstall -a
> 
> [ bsdbox ] [ root ] [ ~ ] ==> pkg_deinstall -a
> [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... ** Stale lock
> file was found. Removed.
> Illegal instruction: 4 (core dumped)

I meant pkg_delete -a in my last mail, not pkg_deinstall -a. 
pkg_deinstall is related to portupgrade, whereas pkg_delete is part of 
the base. You can also rm -rf /usr/local /var/db/pkg to hose everything 
by hand. This is one of the nice side effects of the base/ports separation.

>> You will need to reinstall everything by hand, unfortunately, but it 
>> will keep your settings.
>>
>> You can also make sure you got all the dependencies by doing pkg_info -r 
>> portupgrade*, which will list the packages on which portupgrade depends.
>> -Nathan
> 
> Doctor, how hosed am I?...
> 
> (I'm glad I won't lose my distfiles at least, they're NFS mounted on the
> same folder as my gentoo distfiles, for epic win.)
> 
> What's the advised course of action?
> 
> (If I _must_ reinstall is there a way to keep my ports options? some
> sort of file I can back up?)
> 
> Also, do I have to go through the bootloader garbage again if I
> reinstall? :(

No, if you have to reinstall you can keep all the bootloader stuff. But 
there is no reason you should have to if you did not rebuild world with 
altivec enabled.
-Nathan



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