Re: freebsd-update on FreeBSD 6.x

2009-04-23 Thread Andy Smith

Quoting Manolis Kiagias :



A quick visit to http://update.freebsd.org does not show this directory
- although this maybe intentional. I suggest you try the server change
and if you connect but still fail to get the key, then go on and hack
the script. I don't have a 6.1 machine around, but freebsd-update is
just a sh script and you should be able to find what's going on.  There
is nothing hardcoded in it, at least in the version distributed with
7.x. In fact I would try running the 7.x version on this system.



Hi Manolis,

  thanks for the reply! I have simply copied over the freebsd-update  
script from a 7.0 machine and it seems to work fine just as on the 7.0  
machine. I have run a fetch without making any changes to the conf  
file, I haven't applied the updates as yet as its a production server  
and I'll need to schedule down time and work out a fall back plan if  
anything goes bad when doing an install.

Thanks again!

Andy.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


RE: freebsd-update on FreeBSD 6.x

2009-04-22 Thread Marc Coyles
> I don't have a 6.1 machine around, but freebsd-update
> is just a sh script and you should be able to find what's going on.
> There is nothing hardcoded in it, at least in the version distributed
> with 7.x. In fact I would try running the 7.x version on this system.

I'd definitely be inclined to ensure you're using the more uptodate
Version of freebsd-update...

"As I write this, 'upgrade' support does not yet exist in the version
of FreeBSD Update in the FreeBSD base system, so the next step is to
download the script. If you are running FreeBSD 7.0-RC1 or 
FreeBSD 6.3-RC1 or later, you should already have this new 
version of FreeBSD Update installed, so you can skip this step."

http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade
.html

Added note: Instructions at above URL worked perfectly for 6.2 > 7.0,
and
Instructions at URL below worked perfectly for 7.0 > 7.1

http://www.daemonology.net/blog/2007-11-10-freebsd-minor-version-upgrade
.html

L8rs!
Marci



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update on FreeBSD 6.x

2009-04-22 Thread Herbert J. Skuhra
On Wed, Apr 22, 2009 at 10:55:55AM +0100, Andy Smith wrote:
> Hi,
> 
>when running "freebsd-update fetch" on FreeBSD 6.x I get the error:
> 
> Fetching public key...
> fetch: http://update.freebsd.org/i386/6.1/pub.key: No address record
> Error fetching updates

So, you are running FreeBSD 6.1.

> I've previously had a search around and compared the config file with  
> that present by default on FreeBSD 7.x (which works without any  
> hacking etc) but I never did work out what is wrong or what should be  
> in a good config file. For one thing the directory its looking in for  
> the pub.key seems to be hardcoded as "/i386/6.1/" or at least that  
> path is not present in my conf file, perhaps its possible to add an  
> additional line to the conf file to modify this... Can anyone point me  
> in the right direction?

http://lists.freebsd.org/pipermail/freebsd-security/2008-April/004699.html

RELENG_6_1/RELENG_6_2 is EOL since May 31, 2008 (announced in May 2006!). 
You should have upgraded your system (to RELENG_6_3) before this date!

- Herbert

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: freebsd-update on FreeBSD 6.x

2009-04-22 Thread Manolis Kiagias
Andy Smith wrote:
> Hi,
>
>   when running "freebsd-update fetch" on FreeBSD 6.x I get the error:
>
> Fetching public key...
> fetch: http://update.freebsd.org/i386/6.1/pub.key: No address record
> Error fetching updates
>

I've seen the "No address record" in the past in few of my machines. 
The update.freebsd.org address is a pool of addresses actually and AFAIR
there were some problems with  DNS for some people.  I don't recall the
exact cause, but you will get over it by specifying a specific server in
freebsd-update.conf, like update1.freebsd.org

This may not be your only problem though.
>
> I've previously had a search around and compared the config file with
> that present by default on FreeBSD 7.x (which works without any
> hacking etc) but I never did work out what is wrong or what should be
> in a good config file. For one thing the directory its looking in for
> the pub.key seems to be hardcoded as "/i386/6.1/" or at least that
> path is not present in my conf file, perhaps its possible to add an
> additional line to the conf file to modify this... Can anyone point me
> in the right direction?

A quick visit to http://update.freebsd.org does not show this directory
- although this maybe intentional. I suggest you try the server change
and if you connect but still fail to get the key, then go on and hack
the script. I don't have a 6.1 machine around, but freebsd-update is
just a sh script and you should be able to find what's going on.  There
is nothing hardcoded in it, at least in the version distributed with
7.x. In fact I would try running the 7.x version on this system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"