Post B61euZ5pxE5baPAavY by grahamperrin@bsd.cafe
(DIR) More posts by grahamperrin@bsd.cafe
(DIR) Post #B61dYCT1ITSt5UmkJk by mwl@io.mwl.io
0 likes, 0 repeats
(Edit to add: I am an idiot, this host was never pkgbasified, but leaving for the edification of others)Weird #FreeBSD #pkgbase thing. #sysadmin I updated my hosts from 14->15 with freebsd-update, then ran pkgbaseify and switched to pkgbase. No problem.My jails & bhyves update, no problem.# freebsd-version15.0-RELEASE-p8The bare metal install?# freebsd-version15.0-RELEASE-p4# pkg upgrade -r FreeBSD-baseUpdating FreeBSD-base repository catalogue...FreeBSD-base repository is up to date.FreeBSD-base is up to date.Checking for upgrades (1 candidates): 100%Processing candidates (1 candidates): 100%Checking integrity... done (0 conflicting)Your packages are up to date.So it finds packages, but there's nothing to update? #headdesk
(DIR) Post #B61e3uJmJIEe49a7rU by lw@bsd.cafe
0 likes, 0 repeats
@mwl could you please show the output of% pkg reposand% pkg query -e '%o ~ base/*' '%n %v'
(DIR) Post #B61eqQuIRqkP2TnlOi by mwl@io.mwl.io
0 likes, 0 repeats
@lw that second command -- holy crap this machine isn't pkgbasified! that's it THANK YOU! :flan_facepalm:
(DIR) Post #B61euZ5pxE5baPAavY by grahamperrin@bsd.cafe
0 likes, 0 repeats
@mwl freebsd-version -kru ; uname -mvKUAlso, <https://bokut.in/freebsd-patch-level-table/#releng/15.0> might help.
(DIR) Post #B61fPZTiZXD7l37nzU by grahamperrin@bsd.cafe
0 likes, 0 repeats
@mwl if truly never pkgbasified, then how and when was the FreeBSD-base repo enabled? I'm curious. ls /etc/pkgls /usr/local/etc/pkg/reposβ and then let's think about the contents of the files.
(DIR) Post #B61fkpTGJ5yjRJ33GS by mwl@io.mwl.io
0 likes, 0 repeats
@grahamperrin I set it up, then decided to do the jails first, but never looped back to finish. entirely my fault.# ls /etc/pkg/FreeBSD.conf# ls /usr/local/etc/pkg/repos/FreeBSD.confBut now I'm at the latest pkgbasify wanting pkg 2.7+ and my hosts having 2.6.2. Fortunately I have an older pkgbasify.
(DIR) Post #B61g7T3bo5gsaJqOCe by grahamperrin@bsd.cafe
0 likes, 1 repeats
@mwl you can install the latest pkg using its https URL, if you want.
(DIR) Post #B61gTF8EGJX5laO8pc by mwl@io.mwl.io
0 likes, 0 repeats
actually ran pkgbasify on the bare metal install and wow, things worked much better. #headdesk I'd like to blame this fiasco on self-employment, but I'm also this dumb when employed.
(DIR) Post #B61hvvjrXm87yLEa1I by Keltounet@mastodon.social
0 likes, 0 repeats
@mwl ENOGELATO triggered
(DIR) Post #B61kjUeGjqeaLCNYno by lw@bsd.cafe
0 likes, 0 repeats
@mwl be careful, if you enable FreeBSD-base but don't install the packages (with pkgbasify), installing a port may decide to "help" you by installing some base packages that will overwrite your non-pkgbase installation, including config files.
(DIR) Post #B61mdKjWtDxVlD1vKS by grahamperrin@bsd.cafe
0 likes, 0 repeats
@mwl you're not an idiot π I think you helped me to discover a bug: <https://github.com/freebsd/pkg/issues/2671> β and if that bug is invalid, then I'm the idiot π