[Bug 263208] beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip. Updating FreeBSD repository catalogue...

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Apr 2022 20:04:58 UTC

            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
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: grahamperrin@gmail.com


>      NO_PKG_UPGRADE (default: "")
> 	     If	not empty, "pkg	upgrade" will be skipped.

I tried three non-empty values: 


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
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
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/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             :
    enabled         : yes,
    url             :
    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.