Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

"Cogito ergo I'm right and you're wrong." -- Blair Houghton


devel / comp.unix.bsd.freebsd.misc / pkg after upgrading to FreeBSD 14.0

SubjectAuthor
* pkg after upgrading to FreeBSD 14.0Winston
+* Re: pkg after upgrading to FreeBSD 14.0Winston
|+- Re: pkg after upgrading to FreeBSD 14.0Louis Epstein
|`* Re: pkg after upgrading to FreeBSD 14.0Jesse Rehmer
| `- Re: pkg after upgrading to FreeBSD 14.0Winston
`* Re: pkg after upgrading to FreeBSD 14.0Graham Perrin
 `* Re: pkg after upgrading to FreeBSD 14.0Winston
  `- Re: pkg after upgrading to FreeBSD 14.0Winston

1
pkg after upgrading to FreeBSD 14.0

<ydbkbhjos6.fsf@UBEblock.psr.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=455&group=comp.unix.bsd.freebsd.misc#455

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wbe...@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: pkg after upgrading to FreeBSD 14.0
Date: Sat, 25 Nov 2023 20:18:01 -0500
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <ydbkbhjos6.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="7a0d75a7d7500ebbadea021744c94210";
logging-data="3156727"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX194b0OhF1X2cbyNqJZ7zvpl"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:1VZCGkVANMBQuoGZ7z8ybrW1z1w=
sha1:zPUAHyAsgyzUQI9vWrfLP+b4zTI=
Mail-Copies-To: never
 by: Winston - Sun, 26 Nov 2023 01:18 UTC

I upgraded a system from 13.2 to 14.0.
As a normal part of a major release upgrade, I do pkg upgrade [-f]
after the second install reboot.

This time, however, I got:

pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended

Unfortunately,
# pkg bootstrap -f
got
pkg: pkg(7) bootstrapper not found at /usr/sbin/pkg

(because, indeed, there is no /usr/sbin/pkg; it probably ought to be
/usr/local/sbin/pkg).

Reinstalling pkg itself with "pkg upgrade -f pkg" appears to have fixed
the problem, "pkg bootstrap -f" not needed.
-WBE

Re: pkg after upgrading to FreeBSD 14.0

<yd7cm5joav.fsf@UBEblock.psr.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=456&group=comp.unix.bsd.freebsd.misc#456

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wbe...@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pkg after upgrading to FreeBSD 14.0
Date: Sat, 25 Nov 2023 20:28:24 -0500
Organization: A noiseless patient Spider
Lines: 6
Message-ID: <yd7cm5joav.fsf@UBEblock.psr.com>
References: <ydbkbhjos6.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="7a0d75a7d7500ebbadea021744c94210";
logging-data="3157885"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/T8il/8NYYrFEul2a7kjg"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:mO6LG+hQ/nmYQWBZitK67rWv06A=
sha1:ueEPdhdyPh2rplHj9PUJaavD8Yc=
Mail-Copies-To: never
 by: Winston - Sun, 26 Nov 2023 01:28 UTC

That does raise the question: If there's no /usr/sbin/pkg,
how is one expected to install pkg initially?
Or does pkg itself uninstall /usr/sbin/pkg and related files
once pkg has been fully installed?
Or did reinstalling pkg mess up my system? :)
-WBE

Re: pkg after upgrading to FreeBSD 14.0

<uk0rn4$k62$1@reader2.panix.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=466&group=comp.unix.bsd.freebsd.misc#466

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.main.lekno.ws!not-for-mail
From: le...@main.lekno.ws (Louis Epstein)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pkg after upgrading to FreeBSD 14.0
Date: Mon, 27 Nov 2023 01:34:28 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <uk0rn4$k62$1@reader2.panix.com>
References: <ydbkbhjos6.fsf@UBEblock.psr.com> <yd7cm5joav.fsf@UBEblock.psr.com>
Injection-Date: Mon, 27 Nov 2023 01:34:28 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="main.lekno.ws:12.144.5.2";
logging-data="20674"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.2-20221225 ("Pittyvaich") (FreeBSD/13.2-RELEASE-p4 (amd64))
 by: Louis Epstein - Mon, 27 Nov 2023 01:34 UTC

Winston <wbe@ubeblock.psr.com.invalid> wrote:
> That does raise the question: If there's no /usr/sbin/pkg,
> how is one expected to install pkg initially?
> Or does pkg itself uninstall /usr/sbin/pkg and related files
> once pkg has been fully installed?
> Or did reinstalling pkg mess up my system? :)
> -WBE

I never install a .0 version...

-=-=-
The World Trade Center towers MUST rise again,
at least as tall as before...or terror has triumphed.

Re: pkg after upgrading to FreeBSD 14.0

<uk13gr$1jp7$1@nnrp.usenet.blueworldhosting.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=467&group=comp.unix.bsd.freebsd.misc#467

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!news.furie.org.uk!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED!not-for-mail
From: jesse.re...@blueworldhosting.com (Jesse Rehmer)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pkg after upgrading to FreeBSD 14.0
Date: Mon, 27 Nov 2023 03:47:39 -0000 (UTC)
Organization: BWH Usenet (https://usenet.blueworldhosting.com)
Message-ID: <uk13gr$1jp7$1@nnrp.usenet.blueworldhosting.com>
References: <ydbkbhjos6.fsf@UBEblock.psr.com> <yd7cm5joav.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=fixed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 27 Nov 2023 03:47:39 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com;
logging-data="53031"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Usenapp for MacOS
Cancel-Lock: sha1:1I1PTDm84pCLwQ7a0uTJCGYEiPM= sha256:zkGpzCNNOU2NcWz7NO/NwmwJNpXryiJDFZwvyImP7qA=
sha1:RfEJzUoBZcHhgYGJ6k+eKGsFNwU= sha256:kdspKBfkTwdueOPvhY3kZuNP4E9mIO5ibCtEdGHPCcM=
X-Usenapp: v1.27.2/d - Full License
 by: Jesse Rehmer - Mon, 27 Nov 2023 03:47 UTC

On Nov 25, 2023 at 7:28:24 PM CST, "Winston" <wbe@UBEBLOCK.psr.com.invalid>
wrote:

> That does raise the question: If there's no /usr/sbin/pkg,
> how is one expected to install pkg initially?
> Or does pkg itself uninstall /usr/sbin/pkg and related files
> once pkg has been fully installed?
> Or did reinstalling pkg mess up my system? :)
> -WBE

If you do not have /usr/sbin/pkg (there should be one following an upgrade),
you can try:

/usr/local/sbin/pkg-static install -f pkg

If you do have /usr/sbin/pkg, but it throws an error following an upgrade you
can try:

/usr/sbin/pkg bootstrap -f

Re: pkg after upgrading to FreeBSD 14.0

<yd34wrkb1m.fsf@UBEblock.psr.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=468&group=comp.unix.bsd.freebsd.misc#468

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wbe...@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pkg after upgrading to FreeBSD 14.0
Date: Mon, 27 Nov 2023 00:41:41 -0500
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <yd34wrkb1m.fsf@UBEblock.psr.com>
References: <ydbkbhjos6.fsf@UBEblock.psr.com>
<yd7cm5joav.fsf@UBEblock.psr.com>
<uk13gr$1jp7$1@nnrp.usenet.blueworldhosting.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="a0ddce944a761228d5d2db680dc1234a";
logging-data="3844413"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vAJsP9CCa6ESvxs4FYEoh"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:t7QjfOKV1i6sWIQaYcy2X/6NT/s=
sha1:dLnBXQ5K2ru7McDiXyvpHItBD+c=
Mail-Copies-To: never
 by: Winston - Mon, 27 Nov 2023 05:41 UTC

I posted:
>> That does raise the question: If there's no /usr/sbin/pkg,
>> how is one expected to install pkg initially?
>> Or does pkg itself uninstall /usr/sbin/pkg and related files
>> once pkg has been fully installed?
>> Or did reinstalling pkg mess up my system? :)
>> -WBE

In case you didn't see my earlier post, pkg itself had suggested I run
"pkg bootstrap -f". Doing that tried to run /usr/sbin/pkg, which is
how I discovered its absence.

Jesse Rehmer <jesse.rehmer@blueworldhosting.com> replied:
> If you do not have /usr/sbin/pkg (there should be one following an upgrade),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I thought that, too, which is why I was surprised at finding it missing.

> you can try:
>
> /usr/local/sbin/pkg-static install -f pkg

Oh, /usr/local/sbin/pkg and pkg-static were already installed,
and they were the ones that tried, and failed, to run /usr/sbin/pkg
to do the "pkg bootstrap -f".
-WBE

Re: pkg after upgrading to FreeBSD 14.0

<ul1ubm$2831q$1@dont-email.me>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=476&group=comp.unix.bsd.freebsd.misc#476

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: grahampe...@gmail.com (Graham Perrin)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pkg after upgrading to FreeBSD 14.0
Date: Sat, 9 Dec 2023 14:41:58 +0000
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <ul1ubm$2831q$1@dont-email.me>
References: <ydbkbhjos6.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 9 Dec 2023 14:41:58 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0687f0ebc128900044059d43edc653f0";
logging-data="2362426"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cyy4UYUAb0fEPVqb07DVykMXrF48p80w="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:y1CkdI0RlIREkvdPrZQyp+h5N6Q=
Content-Language: en-US
In-Reply-To: <ydbkbhjos6.fsf@UBEblock.psr.com>
 by: Graham Perrin - Sat, 9 Dec 2023 14:41 UTC

On 26/11/2023 01:18, Winston wrote:

> I upgraded a system from 13.2 to 14.0.

Did you perform the minor update before the major upgrade?

> As a normal part of a major release upgrade, I do pkg upgrade [-f]
> after the second install reboot.
>
> This time, however, I got:
>
> pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended
>
> Unfortunately,
> # pkg bootstrap -f
> got
> pkg: pkg(7) bootstrapper not found at /usr/sbin/pkg
>
> (because, indeed, there is no /usr/sbin/pkg; it probably ought to be
> /usr/local/sbin/pkg).
>
> Reinstalling pkg itself with "pkg upgrade -f pkg" appears to have fixed
> the problem, "pkg bootstrap -f" not needed.
> -WBE

Re: pkg after upgrading to FreeBSD 14.0

<ydjzpnxsjh.fsf@UBEblock.psr.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=477&group=comp.unix.bsd.freebsd.misc#477

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wbe...@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pkg after upgrading to FreeBSD 14.0
Date: Sat, 09 Dec 2023 11:13:54 -0500
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <ydjzpnxsjh.fsf@UBEblock.psr.com>
References: <ydbkbhjos6.fsf@UBEblock.psr.com> <ul1ubm$2831q$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="c3c9917bc24e21245df619dfdc7809c4";
logging-data="2390644"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+/Uc4ZF37TCgLtMXxzehrK"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:86hNQAFkaN5KVSe7vPJJ3LctNm4=
sha1:Smpj9lt2aWomA/Ics0Z7FVKWlk0=
Mail-Copies-To: never
 by: Winston - Sat, 9 Dec 2023 16:13 UTC

I previously wrote:
>> I upgraded a system from 13.2 to 14.0.

Graham Perrin <grahamperrin@gmail.com> asked:
> Did you perform the minor update before the major upgrade?

Not sure which minor update you mean:

* 13.2-RELEASE-p5 was running at the time of the update, which
should have been the latest 13.2 available at that time.
[There have been security patches to 13.2 and 14.0 since then,
so it's not the latest 13.2 today.]

* pkg was 1.20.9 before 14.0 and the same after installing 14.0
and running "pkg upgrade -f pkg".

>> As a normal part of a major release upgrade, I do pkg upgrade [-f]
>> after the second install reboot.

>> This time, however, I got:
>> pkg: Warning: Major OS version upgrade detected. Running "pkg bootstrap -f" recommended

>> Unfortunately,
>> # pkg bootstrap -f
>> got
>> pkg: pkg(7) bootstrapper not found at /usr/sbin/pkg
>> (because, indeed, there is no /usr/sbin/pkg; it probably ought to be
>> /usr/local/sbin/pkg).

>> Reinstalling pkg itself with "pkg upgrade -f pkg" appears to have fixed
>> the [warning message] problem, "pkg bootstrap -f" not needed.

Update: I just checked backups: The file /usr/sbin/pkg did not exist
before the upgrade to 14.0 either, so this is not an issue of the
upgrade to 14.0 deleting it. The issue if the combination of
/usr/local/sbin/pkg issuing that Warning AND /usr/local/sbin/pkg
trying to run /usr/sbin/pkg as part of doing "pkg bootstrap -f".
As I noted, "pkg upgrade -f pkg" worked to silence the warning.
-WBE

Re: pkg after upgrading to FreeBSD 14.0

<ydfs0bxse3.fsf@UBEblock.psr.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=478&group=comp.unix.bsd.freebsd.misc#478

  copy link   Newsgroups: comp.unix.bsd.freebsd.misc
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: wbe...@UBEBLOCK.psr.com.invalid (Winston)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: pkg after upgrading to FreeBSD 14.0
Date: Sat, 09 Dec 2023 11:17:08 -0500
Organization: A noiseless patient Spider
Lines: 3
Message-ID: <ydfs0bxse3.fsf@UBEblock.psr.com>
References: <ydbkbhjos6.fsf@UBEblock.psr.com> <ul1ubm$2831q$1@dont-email.me>
<ydjzpnxsjh.fsf@UBEblock.psr.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="c3c9917bc24e21245df619dfdc7809c4";
logging-data="2390644"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19qZVc7/zFR/CNEJM5T8xMW"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:8Q+OcntU9hFCn2YSpFBDa0MKOik=
sha1:/gz2pYTGOa6xMwJrx9z/1+BesJ0=
Mail-Copies-To: never
 by: Winston - Sat, 9 Dec 2023 16:17 UTC

Typo:
> The issue if the combination of
should be: ^^ is


devel / comp.unix.bsd.freebsd.misc / pkg after upgrading to FreeBSD 14.0

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor