Sane CFLAGS.
Nathan Whitehorn
nwhitehorn at freebsd.org
Mon Dec 8 21:21:52 PST 2008
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
More information about the freebsd-ppc
mailing list