|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Version Conflicts
I'm sure this is a basic thing, but when i run /stand/sysinstall to install software i get:
Warning: Can't find the `5.1-RELEASE' distribution on this x FTP server. You may need to visit a different server for x x the release you are trying to fetch or go to the Options x menu and to set the release name to explicitly match what's x available on ftp.freebsd.org (or set to "any"). Here's my system: zeus# uname -a FreeBSD xxxxxx.homedns.org 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Thu Jun 5 02:55:42 GMT 2003 root@wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC i386 my cvsup file i am running to update src looks like this: *default host=cvsup11.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=RELENG_5 *default delete use-rel-suffix src-all ports-all tag=. doc-all tag=. Also my kernel won't compile either: zeus# config GENERIC ERROR: version of config(8) does not match kernel! config version = 500012, version required = 500013 Make sure that /usr/src/usr.sbin/config is in sync with your /usr/src/sys and install a new config binary before trying this again. If running the new config fails check your config file against the GENERIC or LINT config files for changes in config syntax, or option/device naming conventions I'm wondering what I can do to make this all one consistent system. Thanks very much. |
|
#2
|
||||
|
||||
|
To resolve the /stand/sysinstall issue, you need to do the following:
1. Start up /stand/sysinstall 2. Go to Options 3. You should see a bunch of options including a version #. Change this field to the latest version # (i.e. 5.3) and exit the screen. 4. Now you should be able to install any latest packages. As for the compiling your kernel problem, you need to upgrade your entire system, not just your kernel. You don't use config for this. Instead you should: 0. Read /usr/src/UPDATING for any special notes. 1. make buildworld <--- This builds all the system binaries including a new set of build tools under /usr/src (i.e. new config, new gcc etc.) 2. make buildkernel <-- This builds the kernel using the new set of tools in step 1. 3. make installkernel <-- Installs the new kernel 4. reboot <--- Make sure the system comes up with the new kernel and is running. 5. make installworld <--- installs the new binaries 6. mergemaster <--- run this to merge the differences in the /etc/ files. More detailed instructions are in the handbook: http://www.freebsd.org/doc/en_US.IS.../makeworld.html Also search this forum for "buildworld" for more tips.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#3
|
|||
|
|||
|
Thankyou very much for the help
That did fix /stand/sysinstall However, I am getting error when i run #make buildworld mkmagic: could not find any magic files! *** Error code 1 Stop in /usr/src/lib/libmagic. *** Error code 1 Stop in /usr/src/lib. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. This is why i think i am screwing up the cvsup and getting the wrong source or something. Any ideas would be much appreciated. |
|
#4
|
||||
|
||||
|
Try the following:
1. Change your tag from RELENG_5 to RELENG_5_3 2. Delete the contents of /usr/src and /usr/obj 3. cvsup again 4. Try make buildworld. |
|
#5
|
|||
|
|||
|
That worked. You're the man.
So does that mean that i am now running Freebsd 5.3 ? Thanks Again -Shawn |
|
#6
|
||||
|
||||
|
You can tell if you're running the 5.3 kernel by typing:
uname -a Should tell you what the system is. If you did all the make steps successfully (and then mergemaster), you're running a fully upgraded system. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > Version Conflicts |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|