2754d
![]() |
|
|
|
|
|||||||
| Installing & Upgrading Installing and upgrading FreeBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
A FreeBSD installed in a vmware server 2 in win 2003.
When the first time I tried to update, I got the following problem: Code:
# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. Code:
# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from portsnap1.FreeBSD.org... failed. Fetching public key from portsnap2.FreeBSD.org... failed. Fetching public key from portsnap4.FreeBSD.org... failed. No mirrors remaining, giving up. # And ping: Code:
# ping update1.freebsd.org PING update1.freebsd.org (72.21.59.252): 56 data bytes 36 bytes from 192.168.10.1: Communication prohibited by filter Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 7075 0 0000 7e 01 b3f9 192.168.211.128 72.21.59.252 Thanks. |
|
#2
|
||||
|
||||
|
does actually any networking work on your vmware installation?
__________________
Looking for administrator? http://www.syscare.sk |
| The Following User Says Thank You to danger@ For This Useful Post: | ||
Logan (January 5th, 2009) | ||
|
#3
|
|||
|
|||
|
Thank you for replying.
Yes, ping www.google.com: Code:
$ ping www.google.com PING www-china.l.google.com (64.233.189.147): 56 data bytes 64 bytes from 64.233.189.147: icmp_seq=0 ttl=128 time=41.187 ms |
|
#4
|
||||
|
||||
|
is there any firewall in front of you?
__________________
Looking for administrator? http://www.syscare.sk |
|
#6
|
||||
|
||||
|
I have the same problem with PCBSD-7.0.2. I'm trying to update it from 7.1-PRERELEASE to 7.1-RELEASE.
Quote:
PS: Sorry for my English... |
|
#7
|
||||
|
||||
|
Your problem is different. In your case, updating from 7.1-PRERELEASE is not supported. 7.1-PRERELEASE is just a different name for 7.1-STABLE which is a moving target. A list of supported versions by freebsd-update(8) can be found at http://update.freebsd.org/.
Your options are either to wait for the pc-bsd group to release a new version based on 7.1-RELEASE (which I'm sure they will release soon after the 7.1-RELEASE will be officially announced), or perform the standard csup/buildworld/buildkernel procedure.
__________________
Looking for administrator? http://www.syscare.sk |
|
#8
|
||||
|
||||
|
Thank you!
|
|
#9
|
|||
|
|||
|
Yes, the server is in a LAN, but has a global IP. FreeBSD vm connect to the internet via NAT.
If the problem is about the Host, I can handle it, e.g. Forwarding some ports. Otherwise, if it is about the Lan firewall, well, I should try another way. Can I get the key manually? 192.168.10.1 seems not in my LAN, for I can ping www.google.com successfully. Thanks. |
|
#10
|
||||
|
||||
|
I found the key here: http://update1.freebsd.org/7.1-RELEASE/i386/pub.ssl
|
| The Following User Says Thank You to sasha For This Useful Post: | ||
Logan (January 5th, 2009) | ||
|
#11
|
|||
|
|||
|
Quote:
But where to put the key? |
|
#12
|
||||
|
||||
|
Quote:
Code:
# ping update1.freebsd.org PING update1.freebsd.org (72.21.59.252): 56 data bytes 36 bytes from 192.168.10.1: Communication prohibited by filter Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 5400 7075 0 0000 7e 01 b3f9 192.168.211.128 72.21.59.252 |
| The Following User Says Thank You to DutchDaemon For This Useful Post: | ||
Logan (January 5th, 2009) | ||
|
#13
|
|||
|
|||
|
Quote:
Thanks. |
|
#14
|
||||
|
||||
|
Maybe into /var/db/freebsd-update.
But it will try to fetch a lot of data after - I don't think that manually fetched key will solve your problem. Can you post output of `uname -a` here? |
| The Following User Says Thank You to sasha For This Useful Post: | ||
Logan (January 5th, 2009) | ||
|
#15
|
|||
|
|||
|
Quote:
Code:
FreeBSD 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 |
|
#17
|
||||
|
||||
|
I once had a similar issue.
Try this: Code:
% su # env UNAME_r=7.1-PRERELEASE freebsd-update upgrade -r 7.1 Last edited by tangram; January 5th, 2009 at 18:15. Reason: Added code box. |
| The Following User Says Thank You to tangram For This Useful Post: | ||
Logan (January 5th, 2009) | ||
|
#18
|
|||
|
|||
|
Code:
# freebsd-update -v debug fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... fetch: http://update1.FreeBSD.org/7.0-RELEASE/i386/pub.ssl: Connection refused failed. No mirrors remaining, giving up. Quote:
Code:
# env UNAME_r=7.0-RELEASE freebsd-update upgrade -r 7.1 Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. # |
|
#19
|
||||
|
||||
|
Connection refused... Very strange. May be your provider had closed access to this server?
Try manually fetch it: # fetch -vvv http://update1.FreeBSD.org/7.0-RELEASE/i386/pub.ssl Or you can update with cvsup # cvsup /usr/share/examples/cvsup/stable-supfile Also you can do something like this: http://www.freebsd.org/doc/en_US.ISO...bsdupdate.html Section 24.2.3.2 (from the CD-ROM) |
| The Following User Says Thank You to sasha For This Useful Post: | ||
Logan (January 5th, 2009) | ||
|
#20
|
|||
|
|||
|
I have got this answer.
Thanks to you all, especially sasha. There is sth wrong with the LAN, some of the website could be visited directly, some of them counld not, but via a http proxy. Thanks again. It is my first post here. |
|
#21
|
|||
|
|||
|
How to Change to status of this thread to 'solved'?
|
|
#22
|
|||
|
|||
|
Can I join with the same problem? I have DesktopBSD 1.6 and kernel version is:
Code:
FreeBSD HomePC 6.3-RC2 FreeBSD 6.3-RC2 #30: Sun Jan 6 01:54:42 UTC 2008 root@tinderbox.3c-consulting.lokal:/usr/obj/usr/src/sys/SMP i386 Code:
sh freebsd-update.sh -f freebsd-update.conf -r 6.4-REALEASE upgrade and get this: Code:
Looking up update.FreeBSD.org mirrors... 6 mirrors found. Fetching public key from update5.FreeBSD.org... failed. Fetching public key from update4.FreeBSD.org... failed. Fetching public key from update2.FreeBSD.org... failed. Fetching public key from update3.FreeBSD.org... failed. Fetching public key from update6.FreeBSD.org... failed. Fetching public key from update1.FreeBSD.org... failed. No mirrors remaining, giving up. And how can I do the upgrade? |
|
#23
|
||||
|
||||
|
http://update.freebsd.org/ - Here a list of versions, from which you can update your system using freebsd-update. Unfortunately, 6.3-RC2 is not supported, so you can use cvsup and rebuild everything or reinstall system from CD.
|
| The Following User Says Thank You to sasha For This Useful Post: | ||
JuniorRoy (May 5th, 2009) | ||
|
#24
|
|||
|
|||
|
Hi!
Code:
phoenix# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... none found. Fetching public key from portsnap.FreeBSD.org... failed. No mirrors remaining, giving up. dig portsnap.freebsd.org +short 208.86.224.118 phoenix# portsnap -s 208.86.224.118 fetch Looking up 208.86.224.118 mirrors... none found. Fetching public key from 208.86.224.118... done. Fetching snapshot tag from 208.86.224.118... done. Fetching snapshot metadata... done. Fetching snapshot generated at Fri Feb 17 01:13:22 CET 2012: c878fde6d2fd132543fc7ff786975ddb700fa491b5bb69100% of 66 MB 240 kBps 00m00s Extracting snapshot... done. Verifying snapshot integrity... done. Fetching snapshot tag from 208.86.224.118... done. Fetching snapshot metadata... done. Updating from Fri Feb 17 01:13:22 CET 2012 to Fri Feb 17 06:09:40 CET 2012. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 2 patches.. done. Applying patches... done. Fetching 0 new ports or files... done. phoenix# Best Regards! Last edited by DutchDaemon; February 17th, 2012 at 12:03. Reason: Use [code], not [cmd] for output. |
|
#25
|
|||
|
|||
|
Hi!
Code:
phoenix# freebsd-update fetch Looking up update.FreeBSD.org mirrors... none found. Fetching metadata signature for 9.0-RELEASE from update.FreeBSD.org... failed. No mirrors remaining, giving up. Code:
phoenix# ping update.FreeBSD.org PING update.FreeBSD.org (149.20.53.40): 56 data bytes 64 bytes from 149.20.53.40: icmp_seq=0 ttl=54 time=411.142 ms 64 bytes from 149.20.53.40: icmp_seq=1 ttl=54 time=336.141 ms Code:
# Server or server pool from which to fetch updates. You can change # this to point at a specific server if you want, but in most cases # using a "nearby" server won't provide a measurable improvement in # performance. ServerName 149.20.53.40 #update.FreeBSD.org Code:
phoenix# freebsd-update -s 149.20.53.40 fetch Looking up 149.20.53.40 mirrors... none found. Fetching metadata signature for 9.0-RELEASE from 149.20.53.40... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. Last edited by SirDice; September 26th, 2012 at 08:08. Reason: Proper use of [file] tags: http://forums.freebsd.org/showthread.php?t=8816#file |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to select "primary" video card (not related to sli or crossfire)... | edhunter | System Hardware | 8 | January 26th, 2010 07:06 |
| "Invalid address" Running apps via WINE | tbyte | Installation and Maintenance of FreeBSD Ports or Packages | 12 | December 14th, 2008 21:27 |
| Trisentry replacement? "portsentry, hostsentry,logsentry" | neurosis | Networking | 3 | December 11th, 2008 22:35 |
| "free" command/perl script for freebsd | unixdude | General | 10 | November 20th, 2008 10:57 |
| Creating Audio CD "image" files | wiscodisco | Multimedia | 4 | November 19th, 2008 17:39 |