Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Apr 2022 20:04:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263208] beinstall.sh NO_PKG_UPGRADE="YES" seems to not skip. Updating FreeBSD repository catalogue...
Message-ID:  <bug-263208-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263208

            Bug ID: 263208
           Summary: beinstall.sh NO_PKG_UPGRADE=3D"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=3Dbeinstall.sh&sektion=3D8&manpa=
th=3DFreeBSD>:=20

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

I tried three non-empty values:=20

    yes
    YES
    "YES"

In each case, it appeared that an upgrade routine began (and failed).=20

----

root@mowa219-gjp4-8570p-freebsd:/usr/src # /usr/src/tools/build/beinstall.sh
KERNCONF=3DGENERIC-NODEBUG NO_PKG_UPGRADE=3D"YES"
Successfully mounted 14.0-CURRENT-20220409.165943 at /tmp/beinstall.NeKrL7/=
mnt
Mounted 14.0-CURRENT-20220409.165943 to /tmp/beinstall.NeKrL7/mnt, performi=
ng
install/update ...
--------------------------------------------------------------
>>> Install check kernel
--------------------------------------------------------------
--------------------------------------------------------------
>>> Installing kernel GENERIC-NODEBUG on Sun Apr 10 20:55:09 BST 2022
--------------------------------------------------------------
=E2=80=A6
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 su=
ch
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 #=20

----

% 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-defau=
lt",
    enabled         : yes,
%

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-263208-227>