From nobody Thu Jun 30 12:11:38 2022 X-Original-To: freebsd-net@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 8DD7B8A92D9 for ; Thu, 30 Jun 2022 12:11:41 +0000 (UTC) (envelope-from SRS0=82T2=XF=klop.ws=ronald-lists@realworks.nl) Received: from smtp-relay-int.realworks.nl (smtp-relay-int.realworks.nl [194.109.157.24]) (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 4LYcd848CLz4d0B for ; Thu, 30 Jun 2022 12:11:40 +0000 (UTC) (envelope-from SRS0=82T2=XF=klop.ws=ronald-lists@realworks.nl) Date: Thu, 30 Jun 2022 14:11:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=klop.ws; s=rw2; t=1656591098; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=QmMGt8lypiWP7FOWB0bM8JJuQ2uoIbZ94uIopuMe+BE=; b=eGPEyVGo5++320bGxsC0/G9knxv7sMRaX/bbb4yKqXTx+u5/k7gvzjXQHAKpcTbWaT0d1h P806lckF6XNbt9MdHyKQtLXPLWNa64cCDujRmQkakZRz9qiPLAETiud6uPBQ9z3P7MN8Yk EIP8QekX02CfaUG0nKsIKIX2Zu50Ro0p9ZZCNnUyGLrZ9y3/7cs5cftuHZPKXjglgeM2Sv Pl3LQyig8gbv0KyCSZTXky+6Aei3jeYk+K0Cfv60RxmjzDp8rmSp6XsLe4KTD2R64HKsN4 9F5TnbcHJQiKb62LdH+E1JEWV6DMwPOqxOZDcpEJD4zNg7QTBCNinUXEPar9sw== From: Ronald Klop To: rahul deshmukh Cc: freebsd-net@freebsd.org Message-ID: <1535044696.418.1656591098439@localhost> In-Reply-To: References: <235822063.14884.1656537461299@localhost> Subject: Re: missing everything under /usr/local List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_417_1171164099.1656591098323" X-Mailer: Realworks (613.97.a0c3c70) Importance: Normal X-Priority: 3 (Normal) X-Rspamd-Queue-Id: 4LYcd848CLz4d0B X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=klop.ws header.s=rw2 header.b=eGPEyVGo; dmarc=pass (policy=quarantine) header.from=klop.ws; spf=pass (mx1.freebsd.org: domain of "SRS0=82T2=XF=klop.ws=ronald-lists@realworks.nl" designates 194.109.157.24 as permitted sender) smtp.mailfrom="SRS0=82T2=XF=klop.ws=ronald-lists@realworks.nl" X-Spamd-Result: default: False [-2.16 / 15.00]; ARC_NA(0.00)[]; FORGED_SENDER(0.30)[ronald-lists@klop.ws,SRS0=82T2=XF=klop.ws=ronald-lists@realworks.nl]; R_DKIM_ALLOW(-0.20)[klop.ws:s=rw2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:194.109.157.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; URI_COUNT_ODD(1.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[klop.ws:+]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_HAM_SHORT(-0.96)[-0.962]; DMARC_POLICY_ALLOW(-0.50)[klop.ws,quarantine]; MLMMJ_DEST(0.00)[freebsd-net]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_COUNT_ZERO(0.00)[0]; MIME_TRACE(0.00)[0:+,1:+,2:~]; MID_RHS_NOT_FQDN(0.50)[]; ASN(0.00)[asn:3265, ipnet:194.109.0.0/16, country:NL]; FROM_NEQ_ENVFROM(0.00)[ronald-lists@klop.ws,SRS0=82T2=XF=klop.ws=ronald-lists@realworks.nl] X-ThisMailContainsUnwantedMimeParts: N ------=_Part_417_1171164099.1656591098323 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable =20 Van: rahul deshmukh Datum: donderdag, 30 juni 2022 07:44 Aan: Ronald Klop CC: freebsd-net@freebsd.org Onderwerp: Re: missing everything under /usr/local >=20 > Yes i tried it was stuck on bootstrapping PKG from... and it didn't moved= further though internet was working not sure what's wrong with virtualbox,= so I have tried from qemu and it created required folder structure and was= able to install packages. Thank you! Interesting. I use jails a lot. And often the jail starts with an empty /usr/local. See the trace below. So I don't know what happened to your virtualbox install. If you still want= to solve the issue it helps if you copy-paste the output of some commands = in your mail. If the process seems stuck you can press ctrl-t to get some information on = what the process is waiting for. That is valuable information to put in the= mail to the list. Regards, Ronald. =20 root@jail14clone:/usr/local # ls -al total 9 drwxr-xr-x 2 root wheel 2 Jun 30 14:00 . drwxr-xr-x 14 root wheel 14 Aug 10 2021 .. root@jail14clone:/usr/local # pkg install bash 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:14:aarch64/latest= , please wait... Verifying signature with trusted certificate pkg.freebsd.org.2013102301... = done [jail14clone] Installing pkg-1.17.5_1... Newer FreeBSD version for package pkg: To ignore this error set IGNORE_OSVERSION=3Dyes - package: 1400062 - running kernel: 1400032 Ignore the mismatch and continue? [y/N]: y [jail14clone] Extracting pkg-1.17.5_1: 100% Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Updating database digests format: 100% The following 4 package(s) will be affected (of 0 checked): New packages to be INSTALLED: bash: 5.1.16 gettext-runtime: 0.21 indexinfo: 0.3.1 readline: 8.1.2 Number of packages to be installed: 4 The process will require 11 MiB more space. 2 MiB to be downloaded. Proceed with this action? [y/N]: y [jail14clone] [1/4] Fetching bash-5.1.16.pkg: 100% 2 MiB 1.6MB/s 00= :01 =20 [jail14clone] [2/4] Fetching indexinfo-0.3.1.pkg: 100% 6 KiB 6.0kB/s = 00:01 =20 [jail14clone] [3/4] Fetching readline-8.1.2.pkg: 100% 380 KiB 389.0kB/s = 00:01 =20 [jail14clone] [4/4] Fetching gettext-runtime-0.21.pkg: 100% 176 KiB 180.6k= B/s 00:01 =20 Checking integrity... done (0 conflicting) [jail14clone] [1/4] Installing indexinfo-0.3.1... [jail14clone] [1/4] Extracting indexinfo-0.3.1: 100% [jail14clone] [2/4] Installing readline-8.1.2... [jail14clone] [2/4] Extracting readline-8.1.2: 100% [jail14clone] [3/4] Installing gettext-runtime-0.21... [jail14clone] [3/4] Extracting gettext-runtime-0.21: 100% [jail14clone] [4/4] Installing bash-5.1.16... [jail14clone] [4/4] Extracting bash-5.1.16: 100% >=20 > On Thu, 30 Jun, 2022, 2:47 am Ronald Klop, wrote: >>=20 >> Did you try it? >> =20 >> From the manual page: >> =E2=80=9C The first time invoked, pkg will bootstrap >> the real pkg(8) from a remote repository=E2=80=9D >>=20 >> =20 >>=20 >> =20 >> Van: rahul deshmukh >> Datum: 29 juni 2022 20:33 >> Aan: Ronald Klop >> CC: freebsd-net@freebsd.org >> Onderwerp: Re: missing everything under /usr/local >>>=20 >>> Since there is no pkg.conf I don=E2=80=99t think so I will be able to i= nstall packages. Though I can create one, but this never happened with new = install. >>> =20 >>> On Wed, 29 Jun 2022 at 10:52 PM, Ronald Klop wro= te: >>>>=20 >>>> It will get content when you install packages.=20 >>>> =20 >>>> For example: >>>> pkg install bash=20 >>>> =20 >>>> Regards, >>>> Ronald >>>> =20 >>>> Van: rahul deshmukh >>>> Datum: 29 juni 2022 18:54 >>>> Aan: freebsd-net@freebsd.org >>>> Onderwerp: missing everything under /usr/local >>>>>=20 >>>>> Hi, >>>>> =20 >>>>> I installed 13.1 on virtualbox and there is nothing under /usr/local >>>>> =20 >>>>> root@general:/usr/local # pwd >>>>> /usr/local >>>>> root@general:/usr/local # ls -la >>>>> total 9 >>>>> drwxr-xr-x 2 root wheel 2 May 12 13:45 . >>>>> drwxr-xr-x 16 root wheel 16 May 12 14:13 .. >>>>> root@general:/usr/local # >>>>> =20 >>>>> root@general:/usr/local # uname -a >>>>> FreeBSD general 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148= -fc952ac2212 GENERIC amd64 >>>>> =20 >>>>> Am I missing anything? >>>>> -- >>>>> Thank you >>>>> --------------------- >>>>> Rahul Deshmukh >>>>=20 >>>>=20 >>>> =20 >>>=20 >>> -- >>> Regards, >>> Rahul Deshmukh >>=20 >>=20 >> =20 >=20 ------=_Part_417_1171164099.1656591098323 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable  

Van: rahul deshmukh <rahul.dshmkh1@gmail.com>
Datum: donderdag, 30 juni 2022 07:44
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: freebsd-net@freebsd.org
Onderwerp: Re: missing everything under /usr/local

Yes i tried it was stuck on bootstrapping PKG from... and it didn't mo= ved further though internet was working not sure what's wrong with virtualb= ox, so I have tried from qemu and it created required folder structure and = was able to install packages. Thank you!


Interesting.

I use jails a lot. And often the jail starts with an empty /usr/local.
See the trace below.
So I don't know what happened to your virtualbox install. If you still want= to solve the issue it helps if you copy-paste the output of some commands = in your mail.

If the process seems stuck you can press ctrl-t to get some information on = what the process is waiting for. That is valuable information to put in the= mail to the list.

Regards,
Ronald.
 
root@jail14clone:/usr/local # ls -al
total 9
drwxr-xr-x   2 root  wheel   2 Jun 30 14:00 .
drwxr-xr-x  14 root  wheel  14 Aug 10  2021 ..

root@jail14clone:/usr/local # pkg install bash
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:14:aarch64/latest=
, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... =
done
[jail14clone] Installing pkg-1.17.5_1...
Newer FreeBSD version for package pkg:
To ignore this error set IGNORE_OSVERSION=3Dyes
- package: 1400062
- running kernel: 1400032
Ignore the mismatch and continue? [y/N]: y
[jail14clone] Extracting pkg-1.17.5_1: 100%
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
The following 4 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
    bash: 5.1.16
    gettext-runtime: 0.21
    indexinfo: 0.3.1
    readline: 8.1.2

Number of packages to be installed: 4

The process will require 11 MiB more space.
2 MiB to be downloaded.

Proceed with this action? [y/N]: y
[jail14clone] [1/4] Fetching bash-5.1.16.pkg: 100%    2 MiB   1.6MB/s    00=
:01   =20
[jail14clone] [2/4] Fetching indexinfo-0.3.1.pkg: 100%    6 KiB   6.0kB/s  =
  00:01   =20
[jail14clone] [3/4] Fetching readline-8.1.2.pkg: 100%  380 KiB 389.0kB/s   =
 00:01   =20
[jail14clone] [4/4] Fetching gettext-runtime-0.21.pkg: 100%  176 KiB 180.6k=
B/s    00:01   =20
Checking integrity... done (0 conflicting)
[jail14clone] [1/4] Installing indexinfo-0.3.1...
[jail14clone] [1/4] Extracting indexinfo-0.3.1: 100%
[jail14clone] [2/4] Installing readline-8.1.2...
[jail14clone] [2/4] Extracting readline-8.1.2: 100%
[jail14clone] [3/4] Installing gettext-runtime-0.21...
[jail14clone] [3/4] Extracting gettext-runtime-0.21: 100%
[jail14clone] [4/4] Installing bash-5.1.16...
[jail14clone] [4/4] Extracting bash-5.1.16: 100%


 
On Thu, 30 Jun, 2022, 2:47 am Ronald Klop, <ronald-lists@klop.ws> wrote:
Did you try it?
 
From the manual page:
=E2=80=9C  The first time invoked= , pkg will bootstrap
     the real pkg(8) from a remote re=
pository=E2=80=9D

 

 

Van: rahul deshmukh <rahul.dshmkh1@gmail.com>
Datum: 29 juni 2022 20:33
Aan: Ronald Klop <ronald-lists@klop.ws>
CC: freebsd-net@freebsd.org
Onderwerp: Re: missing everything under /usr/local
=

Since there is no pkg.conf I don=E2=80=99t think so I will be able to = install packages. Though I can create one, but this never happened with new= install.
 
On Wed, 29 Jun 2022 at 10:52 PM, Ronald Klop <= ronald-lists@klop= .ws> wrote:
It will get content when you install packages. 
 
For example:
pkg install bash 
 
Regards,
Ronald
 

Van: rahul deshmukh <rahul.dshmkh1@gmail.com>
Datum: 29 juni 2022 18:54
Aan: freebsd-net@freebsd.org
Onderwerp: missing everything under /usr/local

Hi,
 
I installed 13.1 on virtualbox and there is nothing under /usr/local
 
root@general:/usr/local # pwd
/usr/local
root@general:/usr/local # ls -la
total 9
drwxr-xr-x   2 root  wheel   2 May 12 13:45 .
drwxr-xr-x  16 root  wheel  16 May 12 14:13 ..
root@general:/usr/local #
 
root@general:/usr/local # uname -a
FreeBSD general 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952= ac2212 GENERIC amd64
 
Am I missing anything?
--
Thank you
---------------------
Rahul Deshmukh


 
--
Regards,
Rahul Deshmukh


 
------=_Part_417_1171164099.1656591098323--