Re: `poudriere -b latest` on 15.0-RELEASE: Not fetching as remote repository is unavailable.

Nuno Teixeira <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <CAFDf7U+mgY9b-2uFhtjrVc_Si-RkJH0f2x-NuqCVK8GRUhAWfQ@mail.gmail.com>
Hello Robert,

It looks that this is a poudriere problem.

The error "pkg+:// implies SRV mirror type" could be fixed by changing
poudriere.conf, removing pkg+:

# The branch will be appended to the URL:
#PACKAGE_FETCH_URL=pkg+https://pkg.FreeBSD.org/\${ABI}
+ PACKAGE_FETCH_URL=https://pkg.FreeBSD.org/\${ABI}

Other change needs to be done in poudriere common.sh (due to 13.5 using
'FreeBSD' as ports repo and 14.3/15.0: using 'FreeBSD-ports')

if ! JNETNAME="n" injail env ASSUME_ALWAYS_YES=yes \
            PACKAGESITE="${packagesite:?}" \
-            ${pkg_bin} update -f -r FreeBSD; then
+           ${pkg_bin} update -f; then
                msg "Package fetch: Not fetching as remote repository is
unavailable."
                rm -f "${missing_pkgs}"
                return 0
        fi

Status is at:

All repositories are up to date.
[00:00:28] Package fetch: Not fetching due to remote pkg being newer than
local: 2.4.2
2.4.2_1 vs 2.4.2_1

Part of problem is at: https://github.com/freebsd/poudriere/issues/1238

Cheers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.