Solved question about "pkg upgrade " in freebsd15.1 pkgbase ?

hi all:
today i have run "pkg upgrade " in freebsd15.1 pkgbase ...got below error... i have never used linux-base in freebsd. why today , i need it in freebsd15.1 ?
1783904760647.png
 
If you expand the "required for running" list here, is there anything you have installed that has been upgraded?

 
sorry, i have never used linux-base in my freebsd , so i donnot want to install it and kldload linux64 ... so what i can do freebsd15.1 pkg upgrade ?
 
Delete it then, pkg delete linux_base-rl9; pkg autoremove
thanks. i have never installed linux-base-rl9 . so i cannot find this pkg and delete it in my system... do you have some way to turn pkg base to freebsd-update ? thanks.
 
do you have some way to turn pkg base to freebsd-update ?
There is no supported transformation path from a packaged base install ( "pkgbase" ) to a distribution set based base install ( that is: that uses freebsd-update(8) to upgrade the base install). It has been mentioned by Colin Percival (the release engineer) that the current freebsd-update(8), a sh(8) script, may be transformed into a new version that performs the upgrade of base packages ( basically using pkg(8) under the hood).

On a packaged base 15.x-RELEASE base install, you can select a specific remote repository:
  • pkg upgrade -r FreeBSD-base - upgrade base packages only
  • pkg upgrade -r FreeBSD-ports - upgrade packages from the ports tree only - not kmods packages
  • pkg upgrade -r FreeBSD-base - upgrade kmods packages from the ports tree only
___
P.S.
pkg upgrade -r FreeBSD
On the 15 branch there is no remote repository labelled FreeBSD
 
i have used bectl return to 15.1 freebsd-update . pkgbase will be better after 3 years. now in my production ENV , i don't use pkgbase ..
this time pkg upgrade will make awesome WM broken . so i stop pkg upgrade . thanks close this topic .
 
hi, all. problem was solved with awesome WM broken...

1. the claude-code will used linux-base . so pkg remove claude-code in freebsd15.1
2. awesome broken solved in below step ..
View attachment 26753
Open the file /usr/local/share/awesome/lib/awful/spawn.lua with root privileges (e.g., sudo nano /usr/share/awesome/lib/awful/spawn.lua).
Find the line that says local Gio = lgi.Gio.

Directly below it, add the following line:
local GioUnix = lgi.GioUnix

Find and replace all instances of Gio.UnixInputStream with GioUnix.InputStream.
They likely appear in two places where read_lines is called, looking like Gio.UnixInputStream.new(...).
Change them to GioUnix.InputStream.new(...) .
After making these changes, save the file and restart AwesomeWM
 
Back
Top