From nobody Thu Jun 30 14:06:19 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 BCC0C8B5F55 for ; Thu, 30 Jun 2022 14:06:37 +0000 (UTC) (envelope-from rahul.dshmkh1@gmail.com) Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LYg9m5kgQz4pX0 for ; Thu, 30 Jun 2022 14:06:36 +0000 (UTC) (envelope-from rahul.dshmkh1@gmail.com) Received: by mail-ej1-x62b.google.com with SMTP id ay16so39255792ejb.6 for ; Thu, 30 Jun 2022 07:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ZkAWgjC9Iu5C4WCnid/8ms7MGglTYYuHToBeBrOk6DY=; b=qpX/NU0dsUG8YnHY51hNzM0yYqp9JQ8iFo8glyXo2REAaiyqYSjsyVLQnKgvrciwzT P2QWiRv6zYMlUDPv2BtP1xPaAg9WFel1xdvU8gT5Yb3ZSdTGwc4houeSyRBcvmwUIF9m 9tDX8tOwdoVWBzShqlY6k7XJyws3cMLPtIwkH4vq7PWOe7VILHhUV305O31DJ8CCKl7H +Jvb5Vs3Aa+iMN9DLELruWJSeYKRC/FrP2PwXRLyMVvuc5Xc1Lhf4VzPqiq84LX2UMW0 pCRUWbwfkTaLvRTuqoGYvFUxM3nWIXA589GOAU1VQL2M81+Al8WgwKzuoIpLhamyIYPC halw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ZkAWgjC9Iu5C4WCnid/8ms7MGglTYYuHToBeBrOk6DY=; b=RUP6OgdkUyMVmrS6s20aTgGVSa92jy2Pkt9WHAeBpaGkW+r7jQ0BcLQUqB/+h8rBXh gcaRSaiGDkSpU936u3Mlbe0SX6ORGHv714HlOEZ5z5Z1Ho2UPofcIcAhJIjEPawKJbYy I42486JK6+NCmKbZBEY1fjb9Dh5JDarcAeObkY/1khGn2nWz0Jvj2729iJzDv5w5GHiH FnAeISnL8JDggZgFHBwhkxHn3MDxEUlpwnHfI2NWN97IC3wpI10Dv1ibOwEkvS/k1XI9 J+7fjFKODQmtXpcEZYuzmXBaHRXbbOYQFBm/rqXckNnATPkrec+/jgyPBEI1r0C0LggE gqAg== X-Gm-Message-State: AJIora+mO58+QAeU0AZz9eCm82QNVomrBXoOxKb7Kx3RV5mUqhN3Dsn9 ud75BFvvdKexibIYAeSuDxaN4xzZXaE13aP1z3HcQKeHMn/b X-Google-Smtp-Source: AGRyM1uHITMljOYN05OlgATHRUeMXhFQEtoLb2MsrmYxPNBebRzFVsa/5ts35MUeWPnIzimCKaur8y/yBE8befmAGhc= X-Received: by 2002:a17:907:970b:b0:726:9af5:c7c7 with SMTP id jg11-20020a170907970b00b007269af5c7c7mr8575969ejc.417.1656597989961; Thu, 30 Jun 2022 07:06:29 -0700 (PDT) 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 References: <235822063.14884.1656537461299@localhost> <1535044696.418.1656591098439@localhost> In-Reply-To: <1535044696.418.1656591098439@localhost> From: rahul deshmukh Date: Thu, 30 Jun 2022 19:36:19 +0530 Message-ID: Subject: Re: missing everything under /usr/local To: Ronald Klop Cc: freebsd-net@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ba335a05e2aac69a" X-Rspamd-Queue-Id: 4LYg9m5kgQz4pX0 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b="qpX/NU0d"; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rahuldshmkh1@gmail.com designates 2a00:1450:4864:20::62b as permitted sender) smtp.mailfrom=rahuldshmkh1@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(1.00)[1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::62b:from]; MLMMJ_DEST(0.00)[freebsd-net]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N --000000000000ba335a05e2aac69a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I have tried to reproduce, but today it worked flawlessly. not sure what the cause was yesterday. but next time i have "control + t" to verify. root@freebsd02:~ # pkg bootstrap 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:13:amd64/quarterl= y, please wait... load: 0.37 cmd: pkg 902 [sbwait] 2.89r 0.00u 0.05s 0% 6996k mi_switch+0xc2 sleepq_catch_signals+0x2e6 sleepq_wait_sig+0x9 _sleep+0x1f2 sbwait+0x4c soreceive_generic+0x2b4 soreceive+0x44 dofileread+0x81 sys_read+0xbc amd64_syscall+0x10c fast_syscall_common+0xf8 Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done Installing pkg-1.17.5_1... Extracting pkg-1.17.5_1: 100% Thank you Ronald. Much appreciated your help. :) On Thu, Jun 30, 2022 at 5:41 PM Ronald Klop wrote: > > > *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 > > 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 wa= s > 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 o= n > what the process is waiting for. That is valuable information to put in t= he > 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/late= st, 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 > [jail14clone] [2/4] Fetching indexinfo-0.3.1.pkg: 100% 6 KiB 6.0kB/s= 00:01 > [jail14clone] [3/4] Fetching readline-8.1.2.pkg: 100% 380 KiB 389.0kB/s = 00:01 > [jail14clone] [4/4] Fetching gettext-runtime-0.21.pkg: 100% 176 KiB 180.= 6kB/s 00:01 > 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, 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 remo= te repository=E2=80=9D >> >> >> >> >> >> *Van:* rahul deshmukh >> *Datum:* 29 juni 2022 20:33 >> *Aan:* Ronald Klop >> *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 in= stall >> packages. Though I can create one, but this never happened with new inst= all. >> >> On Wed, 29 Jun 2022 at 10:52 PM, Ronald Klop >> wrote: >> >>> It will get content when you install packages. >>> >>> For example: >>> pkg install bash >>> >>> Regards, >>> Ronald >>> >>> >>> *Van:* rahul deshmukh >>> *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-fc952ac2212 GENERIC amd64 >>> >>> Am I missing anything? >>> -- >>> Thank you >>> --------------------- >>> Rahul Deshmukh >>> >>> >>> >>> >>> >> -- >> Regards, >> Rahul Deshmukh >> >> >> >> >> > --=20 Thank you --------------------- Rahul Deshmukh --000000000000ba335a05e2aac69a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have tried to reproduce, but today it worked flawle= ssly. not sure what the cause was yesterday. but next time i have "con= trol=C2=A0+ t" to verify.

root@freebsd02:~ # = pkg bootstrap
The package management tool is not yet installed on your s= ystem.
Do you want to fetch and install it now? [y/N]: y
Bootstrappin= g pkg from pkg+http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly, please wait...
= load: 0.37 =C2=A0cmd: pkg 902 [sbwait] 2.89r 0.00u 0.05s 0% 6996k
mi_swi= tch+0xc2 sleepq_catch_signals+0x2e6 sleepq_wait_sig+0x9 _sleep+0x1f2 sbwait= +0x4c soreceive_generic+0x2b4 soreceive+0x44 dofileread+0x81 sys_read+0xbc = amd64_syscall+0x10c fast_syscall_common+0xf8
Verifying signature with tr= usted certificate pkg.freebsd.org.2013102301... done
Installing pkg-1.17= .5_1...
Extracting pkg-1.17.5_1: 100%

Thank you= Ronald. Much appreciated your help. :)

On Thu, Jun 30, 2022 at = 5:41 PM Ronald Klop <ronald-list= s@klop.ws> wrote:
=C2=A0

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 moved further though internet was working not sure what's wrong with = virtualbox, so I have tried from qemu and it created required folder struct= ure 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 comma= nds 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.
=C2=A0
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/la=
test, 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%


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

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.
=C2=A0
On Wed, 29 Jun 2022 at 10:52 PM, Ronald Klop <= ronald-lists@klop= .ws> wrote:
It will get content when you install packages.=C2=A0
=C2=A0
For example:
pkg install bash=C2=A0
=C2=A0
Regards,
Ronald
=C2=A0

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,
=C2=A0
I installed 13.1 on virtualbox and there is nothing under /usr/local
=C2=A0
root@general:/usr/local # pwd
/usr/local
root@general:/usr/local # ls -la
total 9
drwxr-xr-x =C2=A0 2 root =C2=A0wheel =C2=A0 2 May 12 13:45 .
drwxr-xr-x =C2=A016 root =C2=A0wheel =C2=A016 May 12 14:13 ..
root@general:/usr/local #
=C2=A0
root@general:/usr/local # uname -a
FreeBSD general 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952= ac2212 GENERIC amd64
=C2=A0
Am I missing anything?
--
Thank you
---------------------
Rahul Deshmukh


=C2=A0
--
Regards,
Rahul Deshmukh


=C2=A0


--
Thank you
---------------------
Ra= hul Deshmukh
--000000000000ba335a05e2aac69a--