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 27th March 2009
drl's Avatar
drl drl is offline
Port Guard
 
Join Date: May 2008
Posts: 18
Thanked 3 Times in 3 Posts
Default Upgrade to 7.1-RELEASE fails

Hi.

I tried the upgrade and this was the result:
Code:
[root@vm-freebsd ~]# freebsd-update -r 7.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching public key from update2.FreeBSD.org... done.
Fetching metadata signature for 7.0-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic src/base src/sys world/base world/dict world/doc
world/games world/info world/manpages

The following components of FreeBSD do not seem to be installed:
src/bin src/cddl src/compat src/contrib src/crypto src/etc src/games
src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue
src/sbin src/secure src/share src/tools src/ubin src/usbin
world/catpages world/proflibs

Does this look reasonable (y/n)? y

Fetching metadata signature for 7.1-RELEASE from update2.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 1 metadata files... done.
Inspecting system... done.
Fetching files from 7.0-RELEASE for merging... done.
Preparing to download files... done.
Fetching 18755 patches.....10....20 - (omitted) - 410....420....430 done.
Applying patches... done.
Fetching 16568 files... failed.
I looked in various files in /var/log/ to see if anything more descriptive was issued, but I saw nothing.

I tried to track the disk usage, and it seemed OK. The current space is:
Code:
$ df -h
Filesystem     Size    Used   Avail Capacity  Mounted on
/dev/ad0s1a    409M    241M    135M    64%    /
devfs          1.0K    1.0K      0B   100%    /dev
/dev/ad0s1e    365M     14K    336M     0%    /tmp
/dev/ad0s1f    5.7G    1.2G    4.0G    23%    /usr
/dev/ad0s1d    688M    324M    308M    51%    /var
This is in a VMWare guest vm. I did this a few times. The output above was from a run on a restored snapshot to make sure that it was known base.

The current version of guest is:
Code:
OS, ker|rel, machine: FreeBSD, 7.0-RELEASE, i386
I usaully re-install BSDs each year or so for practice, so i could certainly do that again if this cannot be made to work.

Thanks for any advice ... cheers, drl
Reply With Quote
  #2   (View Single Post)  
Old 27th March 2009
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

Hmm. Does it fail like that every time?

It is a failure while fetching data - that is, before applying any changes - so your system is in no danger.

I would thing that the update command has verbose flags, that would tell you what file failed, at least. Hmm, checked, and it doesn't! Blind Alley there.

No, I just had to read the documentation - that is, the file itself.
-v is for debug levels. Your options are debug, stats, and nostats.
So, try it again with -v debug, and let us know what happens. (You will get screen after screen of nonsense: Maybe use script(1) to save the output for later perusal.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #3   (View Single Post)  
Old 27th March 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

This happens sometimes when a lot of patches need to be downloaded. It happens with portsnap sometimes as well when you need, like, 2000+ patches. It may depend on a busy proxy server in the middle, or a congested connection. Repeating the command will usually get you all the patches eventually. With portsnap, I usually revert to a full 'fetch extract'.
Reply With Quote
  #4   (View Single Post)  
Old 27th March 2009
drl's Avatar
drl drl is offline
Port Guard
 
Join Date: May 2008
Posts: 18
Thanked 3 Times in 3 Posts
Default

Hi.

Using the undocumented (except in the script) option "--debug" did not provide any additional information -- the last few lines are pasted below.

I will try a series of updates to see how that works.

Thanks for the replies ... cheers, drl

Code:
http://update2.FreeBSD.org/7.1-RELEASE/i386/f/6439f825b8c9cb18344b2dfc6826e8dd10d7a508a8205a960de604391718a05f.gz: 200 OK
http://update2.FreeBSD.org/7.1-RELEASE/i386/f/64402081427dd5374033d526970038db53a8f0dc99f315a4c7eb4d1175ac9025.gz: 200 OK
http://update2.FreeBSD.org/7.1-RELEASE/i386/f/64410d73925a3c455eb5354d93175410cdcdd29975d05ad5ed226b519581f53f.gz: 200 OK
Reply With Quote
  #5   (View Single Post)  
Old 27th March 2009
drl's Avatar
drl drl is offline
Port Guard
 
Join Date: May 2008
Posts: 18
Thanked 3 Times in 3 Posts
Default

Hi.

I ran the "upgrade" a few times until it seemed to not be able to do any more except list the lines upon lines of items that would be deleted and added.

I then followed the directions for "install", reboot, "install", reboot, and was rewarded with:
Code:
OS, ker|rel, machine: FreeBSD, 7.1-RELEASE-p4, i386
It does take a long time without any discernible activity, and then the deluge of modifications -- which, presumably would be fewer for more frequent runs of the update.

Thanks for the guidance ... cheers, drl
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
Best way to upgrade from -release to snapshot Carpetsmoker OpenBSD General 5 26th July 2009 08:51 PM
Bootonly CD Fails rtwingfield FreeBSD Installation and Upgrading 1 29th December 2008 01:25 AM
FreeBSD 6.2-RELEASE > 7.0-RELEASE Upgrade Marci FreeBSD Installation and Upgrading 2 23rd July 2008 02:10 PM
building userland fails after upgrade to 7.0 padmanabh FreeBSD Installation and Upgrading 10 22nd July 2008 05:18 AM
PC-BSD 1.5.1 fails to install archp2008 FreeBSD Installation and Upgrading 27 1st July 2008 11:47 PM


All times are GMT. The time now is 09:25 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