From owner-freebsd-arm@freebsd.org Fri Jun 17 16:21:33 2016 Return-Path: Delivered-To: freebsd-arm@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 5D686A7748F for ; Fri, 17 Jun 2016 16:21:33 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A68D22296 for ; Fri, 17 Jun 2016 16:21:32 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 8fc81fa4-34a7-11e6-ac92-3142cfe117f2 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound1.eu.mailhop.org (Halon Mail Gateway) with ESMTPSA; Fri, 17 Jun 2016 16:21:35 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u5HGLQ0K008025; Fri, 17 Jun 2016 10:21:26 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1466180486.34556.7.camel@freebsd.org> Subject: Re: pkg failing on cubox-hummingboard-alpha3? From: Ian Lepore To: Russell Haley , freebsd-arm Date: Fri, 17 Jun 2016 10:21:26 -0600 In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2016 16:21:33 -0000 On Thu, 2016-06-16 at 23:24 -0700, Russell Haley wrote: > On Thu, Jun 16, 2016 at 10:35 PM, Russell Haley > wrote: > > Hello, > > > > Is pkg supposed to work on alpha3? > > > > root@imx6:~ # pkg > > The package management tool is not yet installed on your system. > > Do you want to fetch and install it now? [y/N]: y > > Bootstrapping pkg from > > pkg+http://pkg.FreeBSD.org/FreeBSD:11:armv6/latest, please wait... > > Verifying signature with trusted certificate > > pkg.freebsd.org.2013102301... done > > pkg: failed to extract pkg-static: Can't create > > '/usr/local/sbin/pkg-static' > > > > I found the archive here: > > http://pkg.freebsd.org/FreeBSD:11:armv6/latest/Latest/ > > > Okay, some how after portsnap fetch extract I get a different error: > > root@imx6:~ # pkg update > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from > pkg+http://pkg.FreeBSD.org/FreeBSD:11:armv6/latest, please wait... > Verifying signature with trusted certificate > pkg.freebsd.org.2013102301... done > pkg-static: Cannot open /(null): Not a directory > Installing pkg-1.8.3... > the most recent version of pkg-1.8.3 is already installed > root@imx6:~ # pkg install vim > The package management tool is not yet installed on your system. > Do you want to fetch and install it now? [y/N]: y > Bootstrapping pkg from > pkg+http://pkg.FreeBSD.org/FreeBSD:11:armv6/latest, please wait... > Verifying signature with trusted certificate > pkg.freebsd.org.2013102301... done > pkg-static: Cannot open /(null): Not a directory > Installing pkg-1.8.3... > the most recent version of pkg-1.8.3 is already installed > > > and just an endless loop like that. > > Thanks, > > Russ There was a commit yesterday to increase the size of /tmp, which was related to pkg needing more space. I wonder if that's what you're running into? I think they upped it to 50m, but that doesn't seem like a big enough /tmp for everyday use to me (but apparently it's big enough for pkg). Try increasing the /tmp size in /etc/fstab. -- Ian