Date: Thu, 30 Jun 2022 19:36:19 +0530 From: rahul deshmukh <rahul.dshmkh1@gmail.com> To: Ronald Klop <ronald-lists@klop.ws> Cc: freebsd-net@freebsd.org Subject: Re: missing everything under /usr/local Message-ID: <CAFa7P3dMrSyzBZQN-0OTJbEp7=fv7eFmjN_80FCc_T5QiaDXqw@mail.gmail.com> In-Reply-To: <1535044696.418.1656591098439@localhost> References: <CAFa7P3ciT2yD_NcgFB-y4vprQTuhf5tZyv=r9DKRPLmWsYFpTQ@mail.gmail.com> <235822063.14884.1656537461299@localhost> <CAFa7P3fRE5twdWobXE6PwscY7FE=qVraUbc89788owYYmsL8yQ@mail.gmail.com> <1535044696.418.1656591098439@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <ronald-lists@klop.ws> wrote: > > > *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 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, <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) <https://www.freebsd.org/cgi/man.cgi?query=3Dpkg&se= ktion=3D8&apropos=3D0&manpath=3DFreeBSD+13.1-RELEASE+and+Ports> from a remo= te repository=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 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 <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-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 <div dir=3D"ltr"><div>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.</div><div><br></div><div>root@freebsd02:~ # = pkg bootstrap<br>The package management tool is not yet installed on your s= ystem.<br>Do you want to fetch and install it now? [y/N]: y<br>Bootstrappin= g pkg from pkg+<a href=3D"http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly= ">http://pkg.FreeBSD.org/FreeBSD:13:amd64/quarterly</a>, please wait...<br>= load: 0.37 =C2=A0cmd: pkg 902 [sbwait] 2.89r 0.00u 0.05s 0% 6996k<br>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<br>Verifying signature with tr= usted certificate pkg.freebsd.org.2013102301... done<br>Installing pkg-1.17= .5_1...<br>Extracting pkg-1.17.5_1: 100%</div><div><br></div><div>Thank you= Ronald. Much appreciated your help. :) <br> </div></div><br><div class=3D"= gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, Jun 30, 2022 at = 5:41 PM Ronald Klop <<a href=3D"mailto:ronald-lists@klop.ws">ronald-list= s@klop.ws</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style= =3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding= -left:1ex"><div>=C2=A0 <p><strong>Van:</strong> rahul deshmukh <<a href=3D"mailto:rahul.dshmkh1= @gmail.com" target=3D"_blank">rahul.dshmkh1@gmail.com</a>><br> <strong>Datum:</strong> donderdag, 30 juni 2022 07:44<br> <strong>Aan:</strong> Ronald Klop <<a href=3D"mailto:ronald-lists@klop.w= s" target=3D"_blank">ronald-lists@klop.ws</a>><br> <strong>CC:</strong> <a href=3D"mailto:freebsd-net@freebsd.org" target=3D"_= blank">freebsd-net@freebsd.org</a><br> <strong>Onderwerp:</strong> Re: missing everything under /usr/local</p> <blockquote style=3D"padding-right:0px;padding-left:5px;margin-left:5px;bor= der-left:2px solid rgb(0,0,0);margin-right:0px"> <div id=3D"gmail-m_-7995885913567270585P"> <div> <div id=3D"gmail-m_-7995885913567270585P.P.P"> <div>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!</div> </div> </div> </div> </blockquote> <br> <br> Interesting.<br> <br> I use jails a lot. And often the jail starts with an empty /usr/local.<br> See the trace below.<br> 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.<br> <br> 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.<br> <br> Regards,<br> Ronald.<br> =C2=A0 <pre>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+<a href=3D"http://pkg.FreeBSD.org/FreeBSD:14:aar= ch64/latest" target=3D"_blank">http://pkg.FreeBSD.org/FreeBSD:14:aarch64/la= test</a>, 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%</pre> <br> <br> =C2=A0 <blockquote style=3D"padding-right:0px;padding-left:5px;margin-left:5px;bor= der-left:2px solid rgb(0,0,0);margin-right:0px"> <div class=3D"gmail_quote"> <div class=3D"gmail_attr">On Thu, 30 Jun, 2022, 2:47 am Ronald Klop, <<a= href=3D"mailto:ronald-lists@klop.ws" target=3D"_blank">ronald-lists@klop.w= s</a>> wrote:</div> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> <div>Did you try it? <div>=C2=A0</div> <div>From the manual page:</div> <div>=E2=80=9C<span style=3D"font-size:1.1em">=C2=A0 The first time invoked= , </span><b style=3D"font-size:1.1em;color:rgb(153,102,0)">pkg</b><span sty= le=3D"font-size:1.1em"> will </span><span style=3D"font-size:1.1em;backgrou= nd-color:rgb(255,222,73);border-radius:1px">bootstrap</span> <pre style=3D"font-size:1.1em"> the real <a href=3D"https://www.freebsd= .org/cgi/man.cgi?query=3Dpkg&sektion=3D8&apropos=3D0&manpath=3D= FreeBSD+13.1-RELEASE+and+Ports" style=3D"color:rgb(153,0,0)" target=3D"_bla= nk">pkg(8)</a> from a remote repository=E2=80=9D</pre> <pre style=3D"font-size:1.1em">=C2=A0</pre> <pre style=3D"font-size:1.1em">=C2=A0</pre> <p><small><strong>Van:</strong> rahul deshmukh <<a href=3D"mailto:rahul.= dshmkh1@gmail.com" target=3D"_blank">rahul.dshmkh1@gmail.com</a>><br> <strong>Datum:</strong> 29 juni 2022 20:33<br> <strong>Aan:</strong> Ronald Klop <<a href=3D"mailto:ronald-lists@klop.w= s" target=3D"_blank">ronald-lists@klop.ws</a>><br> <strong>CC:</strong> <a href=3D"mailto:freebsd-net@freebsd.org" target=3D"_= blank">freebsd-net@freebsd.org</a><br> <strong>Onderwerp:</strong> Re: missing everything under /usr/local</small>= </p> <blockquote style=3D"margin-left:5px;border-left:3px solid rgb(204,204,204)= ;margin-right:0px;padding-left:5px"> <div id=3D"gmail-m_-7995885913567270585m_368990323801596258P"> <div> <div id=3D"gmail-m_-7995885913567270585m_368990323801596258P.P.P"> <div>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.</div> <div>=C2=A0 <div class=3D"gmail_quote"> <div class=3D"gmail_attr">On Wed, 29 Jun 2022 at 10:52 PM, Ronald Klop <= <a href=3D"mailto:ronald-lists@klop.ws" target=3D"_blank">ronald-lists@klop= .ws</a>> wrote:</div> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-= left:1px solid rgb(204,204,204);padding-left:1ex"> <div>It will get content when you install packages.=C2=A0 <div>=C2=A0</div> <div>For example:</div> <div>pkg install bash=C2=A0 <div>=C2=A0</div> <div>Regards,</div> <div>Ronald</div> </div> </div> <div> <div> <div>=C2=A0 <p><small><strong>Van:</strong> rahul deshmukh <<a href=3D"mailto:rahul.= dshmkh1@gmail.com" target=3D"_blank">rahul.dshmkh1@gmail.com</a>><br> <strong>Datum:</strong> 29 juni 2022 18:54<br> <strong>Aan:</strong> <a href=3D"mailto:freebsd-net@freebsd.org" target=3D"= _blank">freebsd-net@freebsd.org</a><br> <strong>Onderwerp:</strong> missing everything under /usr/local</small></p> <blockquote style=3D"margin-left:5px;border-left:3px solid rgb(204,204,204)= ;margin-right:0px;padding-left:5px"> <div id=3D"gmail-m_-7995885913567270585m_368990323801596258m_94717514296560= 3375P"> <div> <div id=3D"gmail-m_-7995885913567270585m_368990323801596258m_94717514296560= 3375P.P.P"> <div> <div>Hi,</div> <div>=C2=A0</div> <div>I installed 13.1 on virtualbox and there is nothing under /usr/local</= div> <div>=C2=A0</div> <div>root@general:/usr/local # pwd<br> /usr/local<br> root@general:/usr/local # ls -la<br> total 9<br> drwxr-xr-x =C2=A0 2 root =C2=A0wheel =C2=A0 2 May 12 13:45 .<br> drwxr-xr-x =C2=A016 root =C2=A0wheel =C2=A016 May 12 14:13 ..<br> root@general:/usr/local #</div> <div>=C2=A0</div> <div>root@general:/usr/local # uname -a<br> FreeBSD general 13.1-RELEASE FreeBSD 13.1-RELEASE releng/13.1-n250148-fc952= ac2212 GENERIC amd64</div> <div>=C2=A0</div> <div>Am I missing anything?</div> <div>-- <div>Thank you<br> ---------------------<br> Rahul Deshmukh</div> </div> </div> </div> </div> </div> </blockquote> <br> <br> =C2=A0</div> </div> </div> </blockquote> </div> </div> -- <div>Regards,<br> Rahul Deshmukh</div> </div> </div> </div> </blockquote> <br> <br> =C2=A0</div> </div> </blockquote> </div> </blockquote></div></blockquote></div><br clear=3D"all"><br>-- <br><div dir= =3D"ltr" class=3D"gmail_signature">Thank you<br>---------------------<br>Ra= hul Deshmukh</div> --000000000000ba335a05e2aac69a--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFa7P3dMrSyzBZQN-0OTJbEp7=fv7eFmjN_80FCc_T5QiaDXqw>