Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freebsd-update fetch: No mirrors remaining, giving up.

720 views
Skip to first unread message

Romu

unread,
Oct 19, 2015, 8:54:36 AM10/19/15
to
Hi,

I have a Windows 10 PC, and I have two FreeBSD virtual machines running in
the VMware player. The two VMs have the same network settings, and
internet access works fine on both VMs. But on one of the two VMs,
'freebsd fetch' never works.

Sometimes it outputs this:

# freebsd-update fetch
Looking up update1.FreeBSD.org mirrors... none found.
Fetching metadata signature for 10.2-STABLE from update.FreeBSD.org...
invalid signature.
No mirrors remaining, giving up.

Sometimes it outputs this:

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 5 mirrors found.
Fetching metadata signature for 10.2-STABLE from update5.freebsd.org...
failed.
Fetching metadata signature for 10.2-STABLE from update6.freebsd.org...
failed.
Fetching metadata signature for 10.2-STABLE from update3.freebsd.org...
failed.
Fetching metadata signature for 10.2-STABLE from update2.freebsd.org...
failed.
Fetching metadata signature for 10.2-STABLE from update4.freebsd.org...
failed.
No mirrors remaining, giving up.

I tried setting ServerName to update1.FreeBSD.org or update2.FreeBSD.org in
/etc/freebsd-update.conf, doesn't work.

I don't know what program is in charge of /etc/resolv.conf, but after
booting up, it always has the same nameservers, from my ISP I guess. I
tried adding 8.8.8.8 into /etc/resolv.conf, it doesn't work.

With or without 8.8.8.8 in /etc/resolv.conf, "drill update.FreeBSD.org"
always works.

On the other FreeBSD virtual machine, I never had any problem with
freebsd-update fetch/install.

How to debug this issue?


Thanks
Romu
_______________________________________________
freebsd-...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questi...@freebsd.org"

Niklaas Baudet von Gersdorff

unread,
Oct 19, 2015, 6:30:37 PM10/19/15
to
On 19/10/15 14:54, Romu wrote:
> I don't know what program is in charge of /etc/resolv.conf, but after
> booting up, it always has the same nameservers, from my ISP I guess. I
> tried adding 8.8.8.8 into /etc/resolv.conf, it doesn't work.

How many are there? And is your machine connected through IPv4 and/or 6?

I once had the problem that one of my jails was not able to resolve
server names because I didn't realise that only the first 3 entries in
/etc/resolv.conf are looked up. All of those were IPv4 but my jail was
IPv6 only. (`drill` worked though.)

--
Niklaas

Romu

unread,
Oct 19, 2015, 7:01:14 PM10/19/15
to
In my /etc/resolv.conf there are always two nameservers. My virtual
machines are connected though IPv4, no IPv6.

Thanks
Romu

2015-10-20 6:32 GMT+08:00 Niklaas Baudet von Gersdorff <
nik...@kulturflatrate.net>:

Bradley T. Hughes

unread,
Oct 21, 2015, 3:33:21 AM10/21/15
to

> On 19 Oct 2015, at 14:54, Romu <hur...@gmail.com> wrote:

[snip]
> Fetching metadata signature for 10.2-STABLE from update.FreeBSD.org...
[snip]

freebsd-update can only be used to update a -RELEASE. There are ways of converting -STABLE to -RELEASE, if that is what you want to do, just need to apply search-engine-fu.

--
Bradley T. Hughes
bradley...@fastmail.fm

Romu

unread,
Oct 22, 2015, 7:05:48 PM10/22/15
to
No I'm not updating from STABLE to RELEASE, just trying to install STABLE
updates. Basically my problem is:

# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 10.2-STABLE from update.FreeBSD.org...
failed.
No mirrors remaining, giving up.

Any help would be greatly appreciated.


Thanks
Romu

William A. Mahaffey III

unread,
Oct 22, 2015, 7:08:05 PM10/22/15
to
As the other post said, *freebsd-update doesn't do STABLE, only RELEASE*
....
--

William A. Mahaffey III

----------------------------------------------------------------------

"The M1 Garand is without doubt the finest implement of war
ever devised by man."
-- Gen. George S. Patton Jr.

Romu

unread,
Oct 27, 2015, 7:00:55 PM10/27/15
to
> sudo freebsd-update fetch
Looking up update.FreeBSD.org mirrors... none found.
Fetching metadata signature for 10.2-STABLE from update.FreeBSD.org...
failed.
No mirrors remaining, giving up.

> freebsd-version
10.2-RELEASE-p5

I don't understand. Why does freebsd-update consider the system as
10.2-STABLE? freebsd-version shows 10.2-RELEASE-p5, and this is a virtual
machine cloned from another one which is 10.2-RELEASE-p5, freebsd-update
works just fine on the original vm.

Any help?


Thanks
Romu

Adam Vande More

unread,
Oct 27, 2015, 8:10:37 PM10/27/15
to
On Tue, Oct 27, 2015 at 6:00 PM, Romu <hur...@gmail.com> wrote:

> > sudo freebsd-update fetch
> Looking up update.FreeBSD.org mirrors... none found.
> Fetching metadata signature for 10.2-STABLE from update.FreeBSD.org...
> failed.
> No mirrors remaining, giving up.
>
> > freebsd-version
> 10.2-RELEASE-p5
>
> I don't understand. Why does freebsd-update consider the system as
> 10.2-STABLE? freebsd-version shows 10.2-RELEASE-p5,
>

Sure, for part of the equation.

"man freebsd-version" will provide you the information you need to
understand why RELNUM=10.2-STABLE in your environment.



--
Adam

Romu

unread,
Oct 29, 2015, 10:32:02 PM10/29/15
to
No, you didn't get what I was asking. "man freebsd-version" doesn't help
in this issue.

The reason why my freebsd-update always tries "Fetching metadata signature
for *10.2-STABLE* from update.FreeBSD.org" is because I used the wrong
kernel source (the stable branch) to build my custom kernel, hence uname -r
shows 10.2-STABLE. I guess freebsd-update uses uname to determine system
version. I recompiled the kernel using
https://svn.freebsd.org/base/releng/10.2 and now freebsd-update works fine.

Thanks
Romu
0 new messages