DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Installation and Upgrading

FreeBSD Installation and Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 14th January 2009
bsdperson bsdperson is offline
Port Guard
 
Join Date: May 2008
Posts: 35
Thanked 0 Times in 0 Posts
Default freebsd-update

On a 7.1-PRERELEASE machine I try

Code:
~>/usr/sbin/freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.1-PRERELEASE from update1.FreeBSD.org... failed.
Fetching metadata signature for 7.1-PRERELEASE from update2.FreeBSD.org... failed.
No mirrors remaining, giving up.
[1]    60951 exit 1     /usr/sbin/freebsd-update fetch
~>
What's the status on freebsd-update? Am I doing something wrong?
Reply With Quote
  #2   (View Single Post)  
Old 14th January 2009
tano tano is offline
Port Guard
 
Join Date: Jul 2008
Posts: 16
Thanked 1 Time in 1 Post
Default

What do you want to update to?
If you want to go to 7.1, you should do the following

freebsd-update upgrade -r 7.1-RELEASE

Accept merges...

reboot

freebsd-update install

reboot

freebsd-update install (AGAIN)

reboot
Reply With Quote
  #3   (View Single Post)  
Old 14th January 2009
bsdperson bsdperson is offline
Port Guard
 
Join Date: May 2008
Posts: 35
Thanked 0 Times in 0 Posts
Default

I tried that and I get:

Code:
~>freebsd-update upgrade -r 7.1-RELEASE
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 7.1-PRERELEASE from update2.FreeBSD.org... failed.
Fetching metadata signature for 7.1-PRERELEASE from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.
[1]    62387 exit 1     sudo freebsd-update upgrade -r 7.1-RELEASE
~>
Do I need to do it via source?
Reply With Quote
  #4   (View Single Post)  
Old 14th January 2009
bichumo bichumo is offline
Port Guard
 
Join Date: May 2008
Posts: 21
Thanked 0 Times in 0 Posts
Default

Update /etc/resolv.conf and use DNS of your provider, not your router or smth.
Reply With Quote
  #5   (View Single Post)  
Old 14th January 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 337
Thanked 32 Times in 30 Posts
Default

freebsd-update -r 7.1-RELEASE upgrade

(options first, commands later ..)
Reply With Quote
  #6   (View Single Post)  
Old 15th January 2009
bsdperson bsdperson is offline
Port Guard
 
Join Date: May 2008
Posts: 35
Thanked 0 Times in 0 Posts
Default

Same thing. But what about the "Fetching metadata signature ... failed"-bit. Could it be that there is no metadata for 7.1-PRERELEASE?
Reply With Quote
  #7   (View Single Post)  
Old 15th January 2009
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Real Name: Ben
Spam Refugee
 
Join Date: Jul 2008
Location: Rotterdam, The Netherlands
Posts: 337
Thanked 32 Times in 30 Posts
Default

I think freebsd-update works on the -RELEASE branch only, so -PRERELEASE or -STABLE is unlikely to succeed. I think.
Reply With Quote
  #8   (View Single Post)  
Old 15th January 2009
bsdperson bsdperson is offline
Port Guard
 
Join Date: May 2008
Posts: 35
Thanked 0 Times in 0 Posts
Default

Aha, so by following freebsd-update you might end up in a dead end? I started with 7.0 RELEASE and now I am stuck in 7.1-PRERELEASE... The solution is to do a fresh install or upgrading via source then?
Reply With Quote
  #9   (View Single Post)  
Old 15th January 2009
tano tano is offline
Port Guard
 
Join Date: Jul 2008
Posts: 16
Thanked 1 Time in 1 Post
Default

How did you end up with 7.1-PRERELEASE?
I guess you did a source update to the STABLE branch. I guess Dutch Daemon is right about only the RELEASE branch being supported by freebsd-update.

Somehow it makes sense, what metadata would you keep for the STABLE branch, one for each commit?
Reply With Quote
Old 15th January 2009
tangram's Avatar
tangram tangram is offline
Real Name: Ricardo Jesus
Port Guard
 
Join Date: May 2008
Location: Portugal
Posts: 36
Thanked 2 Times in 2 Posts
Default

Try the following:

Code:
% su
# env UNAME_r=7.1-PRERELEASE freebsd-update upgrade -r 7.1-RELEASE
__________________
BSD and Linux tips and tutorials: Blog Linux/BSD: sharing experiences
Reply With Quote
Old 16th January 2009
bsdperson bsdperson is offline
Port Guard
 
Join Date: May 2008
Posts: 35
Thanked 0 Times in 0 Posts
Default

Same thing... However

Code:
env UNAME_r=7.0-RELEASE freebsd-update upgrade -r 7.1-RELEASE
started fetching things but I didn't dare to let it finish, I'm not running 7.0. I think I'll do a fresh install instead.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot update with CVS guitarscn OpenBSD Installation and Upgrading 3 7th September 2009 11:12 PM
Update FreeBSD /usr/src tommytom FreeBSD General 10 31st July 2008 02:48 PM
Need to update my FreeBSD...help jedispy FreeBSD Ports and Packages 4 9th June 2008 05:34 PM
Update from 6.1 to 6.3 did nothing? alanthing FreeBSD Installation and Upgrading 4 8th June 2008 02:28 PM
FreeBSD supported branches update corey_james FreeBSD Security 0 3rd June 2008 03:55 AM


All times are GMT. The time now is 06:22 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick