From owner-freebsd-ports@freebsd.org Mon Feb 22 10:35:35 2016 Return-Path: Delivered-To: freebsd-ports@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 CE791AB028F for ; Mon, 22 Feb 2016 10:35:35 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from mail.lafn.org (static-71-177-216-148.lsanca.fios.verizon.net [71.177.216.148]) by mx1.freebsd.org (Postfix) with ESMTP id 40CE310AF; Mon, 22 Feb 2016 10:35:35 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from [10.0.1.12] (unknown [10.0.1.12]) by mail.lafn.org (Postfix) with ESMTPSA id 20940114C333; Mon, 22 Feb 2016 02:35:35 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) Subject: Re: pkg upgrade issue From: Doug Hardie In-Reply-To: <20160222101311.GC47829@ivaldir.etoilebsd.net> Date: Mon, 22 Feb 2016 02:35:34 -0800 Cc: freebsd-ports@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <336FFFC1-1A2B-4BE7-BF04-800B0F5D28CB@lafn.org> References: <377B2F9B-BC80-41E4-8C78-F5BEB5E4BE31@lafn.org> <20160222101311.GC47829@ivaldir.etoilebsd.net> To: Baptiste Daroussin X-Mailer: Apple Mail (2.3112) X-Virus-Scanned: clamav-milter 0.98.7 at mail X-Virus-Status: Clean X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 10:35:35 -0000 > On 22 February 2016, at 02:13, Baptiste Daroussin = wrote: >=20 > On Sun, Feb 21, 2016 at 10:03:14PM -0800, Doug Hardie wrote: >> On a FreeBSD 9.3 P33 system, I don't seem to be able to upgrade = packages: >>=20 >> sermons# pkg upgrade >> Updating repository catalogue >> pkg: = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest//re= po.txz: File unavailable (e.g., file not found, no access) >>=20 > Can you show the output of pkg -vv please? >=20 > I'm more interested in the lines below "Repositories:" I copied /usr/local/etc/pkg.conf from another 9.3 system that works: sermons# pkg -vv pkg: Invalid configuration format, ignoring the configuration file version: 1.0.11 abi: freebsd:9:x86:64 db dir: /var/db/pkg cache dir: /var/cache/pkg ports dir: /usr/ports Log into syslog: yes Assume always yes: no Repository: none Removing /usr/local/etc/pkg.conf (original status): sermons# pkg -vv version: 1.0.11 abi: freebsd:9:x86:64 db dir: /var/db/pkg cache dir: /var/cache/pkg ports dir: /usr/ports Log into syslog: yes Assume always yes: no Repository: none sermons# pkg update Updating repository catalogue pkg: PACKAGESITE is not defined. PACKAGESITE was defined in ~/.cshrc as: setenv PACKAGESITE = ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/ That was removed for the above test. It was present for the previously = report pkg output. As I remember this system was updated to 9.x when there were issues with = the package system being rebuilt and a workaround was needed. I no = longer recall where all the pieces of that were.