From nobody Wed Jan 31 07:48:36 2024 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TPvN12zgrz58gw8 for ; Wed, 31 Jan 2024 07:50:25 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from wout4-smtp.messagingengine.com (wout4-smtp.messagingengine.com [64.147.123.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TPvN10nndz3wfH for ; Wed, 31 Jan 2024 07:50:25 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; none Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 823643200906; Wed, 31 Jan 2024 02:50:23 -0500 (EST) Received: from imap44 ([10.202.2.94]) by compute2.internal (MEProxy); Wed, 31 Jan 2024 02:50:23 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1706687422; x=1706773822; bh=RZN107h3aiE6qHQHYqNL3vZLlc8luZhg Yh0b063EO6M=; b=TK+36DG+5k+eCVSRj+pUnPxqa7nkXuV626WmBVdYwsd4xTzG TlF8gsdOM6KPCGiVSPRUGUsKB+w6uWqXhn3RQJP7j/gQVERBp7dqGCOIAHLAiAIk 3mKGX+UQx/IrzArlxsI5K1yStF4yKVoQUp0vDviNWnS2FSQGLkbRrmI4gIp0NJkg iGyM7iS/PTns4NqBfAOr3G84JRoEVla6AfAKR/IHvuBVlZhecaIfQHK5sdhZDXAi bBdYyDaLQWIFmRLTsA9tE8e7+oJ221OYgzgVsrHvtHrs1YK+TuV8wrko+BJ9vFa0 OD7pEiBcXFJZpvRpo/NWodnLvkcx/HeU3fCKPQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1706687422; x= 1706773822; bh=RZN107h3aiE6qHQHYqNL3vZLlc8luZhgYh0b063EO6M=; b=H ZEzPFmh6eh+w/tvtajlf3QZCHss/KZ5RAJm+UX9HLNbGovKiOvgN1hJOcW2RRsuq 803po+1isxjFqMhuo9L5oscJ0tx7Nq977uf742ZGa41PF6YTb8f1ou5sw9CH/98T 9wVhGbQqrP3JTLEqKQ50UnUFP0Sg7aX4Kkrwm3gQyYJzmed/fCT5VegoVBmBzDJx MdZkjkeleErsea4lgqOaxMgAbzqTdQUuRh9ZaCme0/3/R/QnUI+E/CRognsjSFlt hTXowAK+F1pKw1bQ81IqSYnRXb9PoTXppX3k/+h2JMVF2mn/Le7NkXGQWSkGF8+E fqJ8fVIgHdKU71PRSndsg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrfedtkedgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpedf ffgrvhgvucevohhtthhlvghhuhgsvghrfdcuoegutghhsehskhhunhhkfigvrhhkshdrrg htqeenucggtffrrghtthgvrhhnpeekffevgffgieehhedvudfgvdffudeilefgfeektdfh jedttddtteehteffuddtudenucffohhmrghinhepfhhrvggvsghsugdrohhrghenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegutghhsehskhhu nhhkfigvrhhkshdrrght X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A5BDD36A0076; Wed, 31 Jan 2024 02:50:22 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Message-Id: In-Reply-To: <20240131061508.5nttnygaqrwvm6xi@yosemite.mars.lan> References: <20240131061508.5nttnygaqrwvm6xi@yosemite.mars.lan> Date: Wed, 31 Jan 2024 07:48:36 +0000 From: "Dave Cottlehuber" To: "Paul M Foster" Cc: freebsd-questions Subject: Re: Unable to git clone ports collection Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4TPvN10nndz3wfH X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29838, ipnet:64.147.123.0/24, country:US] On Wed, 31 Jan 2024, at 06:15, Paul M Foster wrote: > Folks: > > I'm following the docs at docs.freebsd.org. There's a line which dicta= tes: > > git clone https://git.freebsd.org/ports.git /usr/ports > > This results in a redirection error. The error: > > Cloning into '/usr/ports' > fatal: unable to update url base from redirection: > asked for: > https://git.freebsd.org/ports.git/info/refs?service=3Dgit-upload-pack > redirect: https://cgit.freebsd.org/ports > > Nothing is downloaded at /usr/ports and in fact the directory doesn't > exist. On a fresh server, this seems to work just fine (here in EU at least) and that's the same URL I use for fetching daily from ports tree. > git clone -v https://git.freebsd.org/ports.git /tmp/ports Cloning into '/tmp/ports'... POST git-upload-pack (175 bytes) POST git-upload-pack (gzip 7002 to 3523 bytes) remote: Enumerating objects: 6084351, done. remote: Counting objects: 100% (936/936), done. remote: Compressing objects: 100% (120/120), done. ^C=E2=8F=8E =20 So I'm guessing either temporary glitch, or your local mirror isn't happy? re-try with: env GIT_CURL_VERBOSE=3D1 GIT_TRACE=3D1 git clone -v \ https://git.freebsd.org/ports.git /usr/ports and report back anything interesting. NB I think the internal git url is https://cgit.freebsd.org/ports.git (a= t least I need that to commit & push my changes back via ssh), but the one you use= d seems entirely legit to me. A+ Dave