[Bug 263208] beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip. Updating FreeBSD repository catalogue...
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 263208] beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip. Updating FreeBSD repository catalogue..."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 263208] beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip. Updating FreeBSD repository catalogue..."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 263208] beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip. Updating FreeBSD repository catalogue..."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 263208] beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip. Updating FreeBSD repository catalogue..."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 263208] beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip. Updating FreeBSD repository catalogue..."
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 263208] beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip. Updating FreeBSD repository catalogue..."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Apr 2022 20:04:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263208
Bug ID: 263208
Summary: beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip.
Updating FreeBSD repository catalogue...
Product: Base System
Version: CURRENT
Hardware: Any
URL: https://github.com/freebsd/freebsd-src/blob/main/tools
/build/beinstall.sh
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs@FreeBSD.org
Reporter: grahamperrin@gmail.com
From
<https://www.freebsd.org/cgi/man.cgi?query=beinstall.sh&sektion=8&manpath=FreeBSD>:
> NO_PKG_UPGRADE (default: "")
> If not empty, "pkg upgrade" will be skipped.
I tried three non-empty values:
yes
YES
"YES"
In each case, it appeared that an upgrade routine began (and failed).
----
root@mowa219-gjp4-8570p-freebsd:/usr/src # /usr/src/tools/build/beinstall.sh
KERNCONF=GENERIC-NODEBUG NO_PKG_UPGRADE="YES"
Successfully mounted 14.0-CURRENT-20220409.165943 at /tmp/beinstall.NeKrL7/mnt
Mounted 14.0-CURRENT-20220409.165943 to /tmp/beinstall.NeKrL7/mnt, performing
install/update ...
--------------------------------------------------------------
>>> Install check kernel
--------------------------------------------------------------
--------------------------------------------------------------
>>> Installing kernel GENERIC-NODEBUG on Sun Apr 10 20:55:09 BST 2022
--------------------------------------------------------------
…
Skipping untrusted certificate
/usr/share/certs/trusted/thawte_Primary_Root_CA_-_G3.pem
(/etc/ssl/untrusted/ba89ed3b.0)
Scanning /usr/local/share/certs for certificates...
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
Updating poudriere repository catalogue...
pkg: file:///usr/local/poudriere/data/packages/main-default/meta.txz: No such
file or directory
repository poudriere has no meta file, using default settings
pkg: file:///usr/local/poudriere/data/packages/main-default/packagesite.pkg: No
such file or directory
pkg: file:///usr/local/poudriere/data/packages/main-default/packagesite.txz: No
such file or directory
Unable to update repository poudriere
Error updating repositories!
Cleaning up ...
Rsyncing back newly saved packages...
sending incremental file list
sent 51 bytes received 12 bytes 126.00 bytes/sec
total size is 0 speedup is 0.00
umount -f /tmp/beinstall.NeKrL7/mnt/usr/src
/tmp/beinstall.NeKrL7/mnt/usr/obj/usr/src/amd64.amd64
/tmp/beinstall.NeKrL7/mnt/dev /tmp/beinstall.NeKrL7/mnt
error: Unable to update pkg
root@mowa219-gjp4-8570p-freebsd:/usr/src #
----
% pkg -vv | grep -e url -e enabled
url :
"pkg+http://pkg0.pkt.freebsd.org/FreeBSD:14:amd64/latest",
enabled : yes,
url :
"https://alpha.pkgbase.live/current/FreeBSD:14:amd64/latest",
enabled : no,
url : "file:///usr/local/poudriere/data/packages/main-default",
enabled : yes,
%
--
You are receiving this mail because:
You are the assignee for the bug.