From owner-freebsd-questions@freebsd.org Sat Jun 6 03:08:03 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 724FD340881 for ; Sat, 6 Jun 2020 03:08:03 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from holgerdanske.com (holgerdanske.com [184.105.128.27]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "xray.he.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49f4Ft46g0z4c6P for ; Sat, 6 Jun 2020 03:08:02 +0000 (UTC) (envelope-from dpchrist@holgerdanske.com) Received: from 99.100.19.101 ([99.100.19.101]) by holgerdanske.com with ESMTPSA (TLS_AES_128_GCM_SHA256:TLSv1.3:Kx=any:Au=any:Enc=AESGCM(128):Mac=AEAD) (SMTP-AUTH username dpchrist@holgerdanske.com, mechanism PLAIN) for ; Fri, 5 Jun 2020 20:07:59 -0700 Subject: Re: pkg update To: freebsd-questions@freebsd.org References: From: David Christensen Message-ID: <7b90bcc8-4eaa-e35f-3024-bba8fb99fc51@holgerdanske.com> Date: Fri, 5 Jun 2020 20:07:58 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49f4Ft46g0z4c6P X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of dpchrist@holgerdanske.com has no SPF policy when checking 184.105.128.27) smtp.mailfrom=dpchrist@holgerdanske.com X-Spamd-Result: default: False [2.42 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.48)[0.479]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.64)[0.645]; DMARC_NA(0.00)[holgerdanske.com]; NEURAL_SPAM_LONG(0.40)[0.398]; RCVD_IN_DNSWL_NONE(0.00)[184.105.128.27:from]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6939, ipnet:184.104.0.0/15, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Jun 2020 03:08:03 -0000 On 2020-06-05 18:35, Brandon helsley wrote: > my internet connection is up and ping is working, Although I cannot update pkg. why am i having this problem? it has happened before but starts working again after a few hours usually. this time it is for days. > > > root@machine17:~ # pkg update > Updating FreeBSDlatest repository catalogue... > pkg: https://pkg.FreeBSD.org/FreeBSD:12:amd64/;latest/meta.txz: Not Found That URL is bad. If I remove the semicolon before 'latest', it works: https://pkg.FreeBSD.org/FreeBSD:12:amd64/latest/meta.txz My guess is that you have a bad configuration setting (?). Here is my machine: 2020-06-05 20:03:37 toor@vf1 ~/Dpchrist-Perl-b0_01063002/t # freebsd-version && uname -a 12.1-RELEASE-p5 FreeBSD vf1.tracy.holgerdanske.com 12.1-RELEASE-p5 FreeBSD 12.1-RELEASE-p5 GENERIC amd64 Here is my pkg.conf, which I have not modified. Compare it to yours: 2020-06-05 20:04:04 toor@vf1 ~/Dpchrist-Perl-b0_01063002/t # grep -v '#' /usr/local/etc/pkg.conf | grep . ALIAS : { all-depends: query %dn-%dv, annotations: info -A, build-depends: info -qd, cinfo: info -Cx, comment: query -i "%c", csearch: search -Cx, desc: query -i "%e", download: fetch, iinfo: info -ix, isearch: search -ix, prime-list: "query -e '%a = 0' '%n'", prime-origins: "query -e '%a = 0' '%o'", list: info -ql, noauto = "query -e '%a == 0' '%n-%v'", options: query -i "%n - %Ok: %Ov", origin: info -qo, provided-depends: info -qb, rall-depends: rquery %dn-%dv, raw: info -R, rcomment: rquery -i "%c", rdesc: rquery -i "%e", required-depends: info -qr, roptions: rquery -i "%n - %Ok: %Ov", shared-depends: info -qB, show: info -f -k, size: info -sq, } If that doesn't work, try the --debug option to pkg(8) and look for clues. David