From nobody Mon Mar 06 07:57:55 2023 X-Original-To: ports@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 4PVWCb1xgJz3wZpY for ; Mon, 6 Mar 2023 07:58:03 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.116.210]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4PVWCZ6FXNz3wlt; Mon, 6 Mar 2023 07:58:02 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.huji.ac.il; s=57791128; h=To:References:Message-Id:Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version:Content-Type; bh=vU9QrPrQn+GHAFoL/dg+aEC3XayRwhLAbZCW2Na6acA=; b=H9crwgkj7idgmyCgTYBUeZLz44oIqXB7vs4Y+4glQ01tfCRtpHWY5P6poM/0Rpl7DwaYFlQahUMeZc/y4oTMCNTa/vM/nION6LEHU/jw9GeVuGbL4JIrclJqbxVhjpPJWhAJWUxlkeTJkVVRpUFUNYetMB1qtjqtBkE9Rm8i1A1geKaXjoiCXZruKY0aKo9hRV/1dzLqm7SdxxoLsKhcGRompEZg08aUnpgXOmdY9g8sfLIISyb/5ZGONTYiyVb/4jpLYR5/hfSngpW4wkETUxYocRHwXBHXQDvM7fNQvtqIkhGT3tvGttpceeGIY/HQpqSqfNNP82LFC2NWQb4U/Q==; Received: from bach.cs.huji.ac.il ([132.65.80.20] helo=smtpclient.apple) by kabab.cs.huji.ac.il with esmtp id 1pZ5jH-0001JR-8t; Mon, 06 Mar 2023 09:57:55 +0200 Content-Type: text/plain; charset=utf-8 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.2\)) Subject: Re: pkg writing to / From: Daniel Braniss In-Reply-To: <20230306075245.7srq6vzblzxil37u@aniel.nours.eu> Date: Mon, 6 Mar 2023 09:57:55 +0200 Cc: freebsd-ports Content-Transfer-Encoding: quoted-printable Message-Id: <4D6D62EA-B271-4D00-BF02-9C4E34E5E54A@cs.huji.ac.il> References: <40ED6A0D-68BD-4A05-A9A6-9AE48153AB06@cs.huji.ac.il> <20230306075245.7srq6vzblzxil37u@aniel.nours.eu> To: Baptiste Daroussin X-Mailer: Apple Mail (2.3696.120.41.1.2) X-Rspamd-Queue-Id: 4PVWCZ6FXNz3wlt X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:378, ipnet:132.64.0.0/15, country:IL] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N is this true also for =E2=80=98pky update=E2=80=99? the /compat was a problem, it was a symlink /usr/local/compat and for some reason the mkdir = /compat/linux failed, i did as root =E2=80=98mkdir /usr/local/compat/linux=E2=80=99, and linux = installed ok. danny > On 6 Mar 2023, at 09:52, Baptiste Daroussin wrote: >=20 > On Sun, Mar 05, 2023 at 09:37:32AM +0200, Daniel Braniss wrote: >> Hi, >> how can I tell pkg not to write to /? in my case sometimes / >> is mounted ro, and so for example pkg update failed, or >> / - which is usually- kept as small as possible gets filled up, eg=20 >> by /.pkgtemp.compat.xxxxx/linux >>=20 >> thanks, >> danny >>=20 >>=20 > This is because you don't have a /compat on your / but you are trying = to > install a package that installs files under /compat >=20 > Bapt