outpaddling / desktop-installer

Quickly configure a FreeBSD or NetBSD desktop system
BSD 2-Clause "Simplified" License
54 stars 7 forks source link

desktop installer errors #24

Closed halfagascan closed 2 years ago

halfagascan commented 2 years ago

clean install of freebsd 13.0-RELEASE FreeBSD 13.0-RELEASE #0 releng/13.0-n244733-ea31abc261f: Fri Apr 9 04:24:09 UTC 2021 install desktop-installer according to your instructions, no ports tree errors: Press return to continue... Installing src tree... /usr/local/sbin/auto-install-base-components: 13.0-RELEASE: not found Fetching ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/13.0-RELEASE/src.txz... fetch: ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/amd64/13.0-RELEASE/src.txz: File unavailable (e.g., file not found, no access)

outpaddling commented 2 years ago

What version of auto-admin is installed? This issue was recently fixed and should not be happening with 0.7.9.

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261386

I was able to reproduce the problem using the quarterly (2022Q1) package, which is 0.7.8. I'll commit a fix to the quarterly ports branch shortly.

outpaddling commented 2 years ago

Slight delay in getting the quarterly package fixed. The problem is in /usr/local/sbin/auto-install-base-components. If you apply the following fix, it should work:

-           if `uname -r` | fgrep -q RELEASE; then
+           if uname -r | fgrep -q RELEASE; then
outpaddling commented 2 years ago

Fix has been committed to 2022Q1 ports. The binary package should be updated within a few days (at least for amd64 and probably aarch64, not sure about 2nd tier platforms). Thanks for the report!

outpaddling commented 2 years ago

It looks like package builds are delayed due to build cluster upgrades, so this fix hasn't made it into the binary packages yet. For now, you can work around it by installing the WIP port before running desktop-installer:

pkg install auto-admin
auto-freebsd-wip-checkout
wip-reinstall-port auto-admin
wip-reinstall-port desktop-installer
desktop-installer

Apologies for the broken quarterly package. I failed to test fully before the Jan 1 branch. This is unusual, as I generally give auto-admin and desktop-installer a lot of attention to prevent regressions.

outpaddling commented 2 years ago

Build farm has caught up and everything is working out-of-the-box again with binary packages for both quarterly and latest selections. Thanks again for the heads-up and I apologize for the mishap. Making desktop-installer trouble-free is my highest priority and I have updated my commit procedures to prevent a repeat of this error.

grahamperrin commented 2 years ago

@halfagascan comparable to the closure here in GitHub, you can (should) mark your topic as Solved in FreeBSD Forums.

https://forums.freebsd.org/posts/554378 "You can add the Solved prefix …"