Skip to content

Instantly share code, notes, and snippets.

View grahamperrin's full-sized avatar

Graham Perrin grahamperrin

View GitHub Profile
@grahamperrin
grahamperrin / 2025-04-20-19-08-gg2.5pro-experimental.md
Last active April 22, 2025 11:24
General troubleshooting advice for FreeBSD

Seeking the best unofficial resources

I fed a forty-word paragraph to Google Gemini 2.5 Pro (Experimental) on the evening of Sunday 20th April. Twenty of the forty:

Where can I find general troubleshooting advice for FreeBSD? Emphasis on: general. … I'm looking for the best unofficial resources. Thanks.

Gemini offered a 508-word response. I:

  1. reduced it to around 330 (not counting * or as words)
  2. added a link to the third edition (2018) of Absolute FreeBSD
@grahamperrin
grahamperrin / 2025-04-13-01-59-partial-typescript.txt
Created April 18, 2025 09:48
A FreeBSD pkg session, 2025-04-13 01:59 – GhostBSD 25.01-R14.2p2 (an incomplete record, copied from termbin.com)
This file has been truncated, but you can view the full file.
Script started on Sun Apr 13 01:59:44 2025
You have mail.
root@mowa219-gjp4-ghostbsd-14-vm:~ # echo $SHELL
/bin/csh
root@mowa219-gjp4-ghostbsd-14-vm:~ # date ; uptime
Sun Apr 13 01:59:52 BST 2025
1:59AM up 3 mins, 1 user, load averages: 0.14, 0.24, 0.12
root@mowa219-gjp4-ghostbsd-14-vm:~ # ghostbsd-version
@grahamperrin
grahamperrin / 2025-04-12-20-16-typescript.txt
Last active April 18, 2025 09:40
A FreeBSD pkg session, 2025-04-12 20:16 – pkg 2.0.5 (locked), GhostBSD 24.10.1
Script started on Sat Apr 12 20:16:09 2025
You have mail.
root@mowa219-gjp4-ghostbsd-14-vm:~ # echo $SHELL
/bin/csh
root@mowa219-gjp4-ghostbsd-14-vm:~ # date ; uptime
Sat Apr 12 20:16:19 BST 2025
8:16PM up 14 mins, 1 user, load averages: 0.34, 0.15, 0.08
root@mowa219-gjp4-ghostbsd-14-vm:~ # ghostbsd-version
24.10.1
root@mowa219-gjp4-ghostbsd-14-vm:~ # freebsd-version -kru
@grahamperrin
grahamperrin / 2025-04-13-12-15-typescript.txt
Last active April 18, 2025 09:03
A FreeBSD pkg session, 2025-04-13 12:15 – pkg 2.0.5 (locked), GhostBSD 25.01-R14.2p2
Script started on Sun Apr 13 12:15:30 2025
You have mail.
root@mowa219-gjp4-ghostbsd-14-vm:~ # echo $SHELL
/bin/csh
root@mowa219-gjp4-ghostbsd-14-vm:~ # date ; uptime
Sun Apr 13 12:15:40 BST 2025
12:15PM up 2 mins, 1 user, load averages: 0.24, 0.16, 0.07
root@mowa219-gjp4-ghostbsd-14-vm:~ # ghostbsd-version
25.01-R14.2p2
root@mowa219-gjp4-ghostbsd-14-vm:~ # freebsd-version -kru
@grahamperrin
grahamperrin / 2025-04-13-08-18-typescript.txt
Last active April 18, 2025 09:04
A FreeBSD pkg session, 2025-04-13 08:18 – pkg 2.0.5 (locked), GhostBSD 24.10.1
Script started on Sun Apr 13 08:18:53 2025
You have mail.
root@mowa219-gjp4-ghostbsd-14-vm:~ # echo $SHELL
/bin/csh
root@mowa219-gjp4-ghostbsd-14-vm:~ # date ; uptime
Sun Apr 13 08:19:04 BST 2025
8:19AM up 8 mins, 1 user, load averages: 0.13, 0.08, 0.02
root@mowa219-gjp4-ghostbsd-14-vm:~ # pkg -v
@grahamperrin
grahamperrin / wine-freebsd-i386-wine-pkg-current-amd64.txt
Created January 12, 2025 04:35
Wine on FreeBSD: upgrading ~/.i386-wine-pkg on FreeBSD 15.0-CURRENT on AMD64 – not on i386
grahamperrin:~ % echo $SHELL
/bin/tcsh
grahamperrin:~ % uname -mKU
amd64 1500030 1500030
grahamperrin:~ % setenv ABI FreeBSD:15:i386
grahamperrin:~ % /usr/bin/time -h pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false --rootdir /home/grahamperrin/.i386-wine-pkg upgrade --fetch-only --quiet --yes --repository FreeBSD-ports-i386
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
1m3.60s real 7.07s user 1.75s sys
grahamperrin:~ % pkg -o ABI_FILE=/usr/lib32/libc.so.7 -o INSTALL_AS_USER=true -o RUN_SCRIPTS=false -r /home/grahamperrin/.i386-wine-pkg upgrade -F -r FreeBSD-ports-i386 Updating FreeBSD-ports-i386 repository catalogue...
@grahamperrin
grahamperrin / 2024-12-22_0730-mac-typescript.txt
Created December 22, 2024 18:30
2024-12-22 FreeBSD pkgbase upgrade from 14.2-RELEASE to 15.0-CURRENT, part two
Script started on Sun Dec 22 07:30:24 2024
You have mail.
root@fourteen-pkgbase:~ # echo $SHELL
/bin/tcsh
root@fourteen-pkgbase:~ # date ; uptime
Sun Dec 22 07:30:30 GMT 2024
7:30AM up 6 mins, 2 users, load averages: 0.21, 0.12, 0.05
root@fourteen-pkgbase:~ # echo $EDITOR
vi
root@fourteen-pkgbase:~ # grep nano /etc/csh.cshrc
@grahamperrin
grahamperrin / 2024-12-22_0646-mac-typescript.txt
Last active December 22, 2024 18:29
2024-12-22 FreeBSD pkgbase upgrade from 14.2-RELEASE to 15.0-CURRENT, part one
Script started on Sun Dec 22 06:45:49 2024
You have mail.
root@fourteen-pkgbase:~ # echo $SHELL
/bin/tcsh
root@fourteen-pkgbase:~ # date ; uptime
Sun Dec 22 06:46:01 GMT 2024
6:46AM up 1:18, 1 user, load averages: 0.20, 0.33, 0.39
root@fourteen-pkgbase:~ # freebsd-version -kru ; uname -aKU
@grahamperrin
grahamperrin / 2024-12-19_18-57_chroot-typescript.txt
Created December 19, 2024 21:18
2024-12-19 18:57 chroot typescript
This file has been truncated, but you can view the full file.
Script started on Thu Dec 19 18:57:07 2024
root@pkg:~ # echo $SHELL
/bin/csh
root@pkg:~ # bectl list -c creation
BE Active Mountpoint Space Created
13.3r - - 53.3M 2024-07-20 15:42
14.1r NR / 6.77G 2024-12-19 16:57
13.3-RELEASE-p8_2024-12-19_172054 - - 2.11M 2024-12-19 17:20
@grahamperrin
grahamperrin / 2024-12-19_16-56_14.1r-chroot-typescript-partial.txt
Created December 19, 2024 21:16
2024-12-19 16:56 14.1r chroot typescript, partial
This file has been truncated, but you can view the full file.
Script started on Thu Dec 19 16:56:18 2024
root@pkg:~ # echo $SHELL
/bin/csh
root@pkg:~ # date ; uptime
Thu Dec 19 16:56:29 GMT 2024
4:56PM up 19 mins, 1 user, load averages: 0.14, 0.25, 0.23
root@pkg:~ # freebsd-version -kru ; uname -aKU