x11/kde - trying to run bothIs the meta package for X or for Wayland or both? Thanks
bat /var/log/Xorg.0.log | grep -i modes > gpu_driver_logs.txt
bat gpu_driver_logs.txt
/usr/local/etc/X11/xorg.conf.d/
sudo kldload i915kms # replace with your specific gpu
pkg query '%n' | awk 'BEGIN{n=0} {n++} END{print n " total"}'
pkg query '%n %R' | awk '$2=="FreeBSD-ports"{print $1}' > /root/ports.pkgs
wc -l /root/ports.pkgs
xargs -a /root/ports.pkgs pkg delete -y
root@bsd15:~ # pkg query '%o %R' | awk '$2=="FreeBSD-ports" {print $1}'
sysutils/beadm
sysutils/lsblk
root@bsd15:~ # man xargs | grep -- '-a'
-n number, --max-args=number
root@bsd15:~ # pkg query '%o %R' | awk '$2=="FreeBSD-ports" {print $1}' | xargs -n1 echo pkg delete -f -y
pkg delete sysutils/beadm
pkg delete sysutils/lsblk
xargs: invalid option -- a#> xargs -a /root/ports.pkgs pkg delete
I tested with the following commands and got a good result:I would get 'origin' instead.
Code:root@bsd15:~ # pkg query '%o %R' | awk '$2=="FreeBSD-ports" {print $1}' sysutils/beadm sysutils/lsblk
The xargs(1) command on FreeBSD does not support -a option:
Code:root@bsd15:~ # man xargs | grep -- '-a' -n number, --max-args=number
So I would use something like that instead:
Code:root@bsd15:~ # pkg query '%o %R' | awk '$2=="FreeBSD-ports" {print $1}' | xargs -n1 echo pkg delete -f -y pkg delete sysutils/beadm pkg delete sysutils/lsblk
Remove the echo(1) safety switch to make it work.
pkg query '%n %R' | awk '$2!="FreeBSD-base"{print $1}' | less
pkg query '%n %R' | awk '$2!="FreeBSD-base"{print $1}' | xargs pkg delete -n
pkg query '%n %R' | awk '$2!="FreeBSD-base"{print $1}' | xargs pkg delete -n
pkgbase(7):Remove third-party packages
DESCRIPTION
The FreeBSD base system may be installed as a set of pkg(8) packages,
which supersedes the traditional method of installing using tar(1)
archives.
All base packages have names beginning with the string "FreeBSD-", and
have an origin beginning with "base/*".
base/* or ^FreeBSD- as the discriminator. Given that the command line can handle quite a few bytes on the command line:# sysctl -d kern.argmax; sysctl -h kern.argmax
kern.argmax: Maximum bytes of argument to execve(2)
kern.argmax: 524288
base/*: pkg delete -n `pkg query -e '%o !~ base/*' '%o'` pkg delete -n $( pkg query -e '%o !~ base/*' '%o' )FreeBSD-ports and FreeBSD-ports-kmods, these will also be deleted.This is running in a native Arch Linux environment with virt-manager. It's actually new to me but is very intuitive and seamless to run.Do you use qemu-system-x86_64 or Virt-Manager ?
Maybe the discussion (beginning at #287) in this thread between T-Daemon, Erichans and I could be a reference for custom built kernel in pkgbase. It's not supported for the moment.So for a user who's not on pkgbase, will it automatically switch you to pkgbase when you upgrade to 15 or 16 later? How does this switchover happen for an existing installation?
I'm a bit curious. I thought there was meaning in the way things were at FreeBSD. Is there no longer meaning in the way things were done before pkgbase? It feels like there's meaning in having kernel NOT pkg based, where you just go to source, compile and bam - and can package it separately if you need to.
I'm sure this has already been discussed at length somewhere?