From owner-freebsd-questions@freebsd.org Fri Oct 30 02:31:40 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50D1EA21634 for ; Fri, 30 Oct 2015 02:31:40 +0000 (UTC) (envelope-from huruomu@gmail.com) Received: from mail-vk0-x22f.google.com (mail-vk0-x22f.google.com [IPv6:2607:f8b0:400c:c05::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AFD6162C for ; Fri, 30 Oct 2015 02:31:40 +0000 (UTC) (envelope-from huruomu@gmail.com) Received: by vkfw189 with SMTP id w189so39321039vkf.2 for ; Thu, 29 Oct 2015 19:31:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=yvTBzV+JoSJ4fOvy/kxSHE8PAmcK+KrI8hQKnYXlxGo=; b=UcSoxBgO9DfnOjNDW26TTWnpcRdn5rbJhPmTjsfkU09jvFBhDMjSGNOpCP1fsGDzf5 o/IqFrcf983/QNdlQwuNrRAVpiorK1FzSvr7m322D6sM//svFSSk62sk12+uM6E0GTud YJBj4zgX08JK2QIgZoy+IZwxiPrhZuc/zslABUqnkfJVISqCL8BbWjn0USKKg11yc9eg JWlA4NNoHwWxW7GnplElkaZ35VQN8mjd1ayj4YT+0eBN6stgN36ddwiPRqTeudDjWl5i 9dpuy/DuIcZjQZXgxvMdmNeZzAVCtDaqZu9M/KdKEHWGqVhlQN2fbjKqe0Y88s8bbQ+8 OLuQ== MIME-Version: 1.0 X-Received: by 10.31.152.87 with SMTP id a84mr3562679vke.20.1446172299100; Thu, 29 Oct 2015 19:31:39 -0700 (PDT) Received: by 10.103.89.207 with HTTP; Thu, 29 Oct 2015 19:31:39 -0700 (PDT) In-Reply-To: References: <56296C3C.4030307@hiwaay.net> Date: Fri, 30 Oct 2015 10:31:39 +0800 Message-ID: Subject: Re: freebsd-update fetch: No mirrors remaining, giving up. From: Romu To: Adam Vande More Cc: "William A. Mahaffey III" , FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 02:31:40 -0000 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 2015-10-28 8:10 GMT+08:00 Adam Vande More : > On Tue, Oct 27, 2015 at 6:00 PM, Romu 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 >