Problems with upgrading 5.4 stable to 6.0 stable

Chris Hill chris at monochrome.org
Sun Nov 6 19:10:25 GMT 2005


On Sun, 6 Nov 2005, Albert Shih wrote:

> Le 06/11/2005 à 13:28:23-0500, Alan Polinsky a écrit
>> I have been having repeated difficulties in upgrading from 5.4 to 6.0.
>> My problems start in the make buildworld step. The last successful
>> compile step is:
>> /usr/obj/usr/src/sbin/ipf/libipf created for ./usr/src/sbin/ipf/libipf
>>
>>> From that point I get a series of cascading errors. I tried ignoring
>> them, but could not successfully build the kernel. I have looked through
>> documentation at your site, but could not find a resolulution.
>>
>> This is my only exposure to freebsd. I have several linux boxes at home
>> that I use with no problems. At work I am a unix (Solaris 8) and
>> application programmer under windows.
>>
>> These are the cascading errors:
>>
>> ===> sbin/ipf/ipf(obj) mkdir; /usr/obj/usr/src/sbin/ipf/ipf: file exists
>> *** Error code 1
>> stop in /usr/src/sbin/ipf/ipf.
>> *** Error code 1
>> stop in /usr/src/sbin/ipf
>> *** Error code 1
>> stop in /usr/src/sbin
>> ** Error code 1
>> stop in /usr/src.
>> *** Error code 1
>> stop in /usr/src
>
> Very easy to solve
>
> 	cd /usr
> 	rm -rf obj

Sounds close, but you don't want/need to remove the /usr/obj 
directory, just everything in it:

       # cd /usr/obj
       # chflags -R noschg *
       # rm -rf *

--
Chris Hill               chris at monochrome.org
**                     [ Busy Expunging <|> ]


More information about the freebsd-questions mailing list