Install a driver for Nineplus USB WiFi Adapter 802.11AC 1200 (rtl88x2bu)

Preparing...
Checking dependencies...
Running pre-transaction hooks...
Remove DKMS modules
Removing rtl88x2bu-dkms-git (5.13.1.r189.12cfcd8-1)...
Transaction successfully finished.

Preparing...
Cloning rtl88x2bu-dkms-git build files...
Generating rtl88x2bu-dkms-git information...
Checking rtl88x2bu-dkms-git dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building rtl88x2bu-dkms-git...
==> Making package: rtl88x2bu-dkms-git 5.13.1.r189.12cfcd8-1 (Sat 12 Aug 2023 03:52:34 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating RTL88x2BU-Linux-Driver git repo...
==> Validating source files with sha256sums...
    RTL88x2BU-Linux-Driver ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of RTL88x2BU-Linux-Driver git repo...
Cloning into 'RTL88x2BU-Linux-Driver'...
done.
==> Starting pkgver()...
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "rtl88x2bu-dkms-git"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: rtl88x2bu-dkms-git 5.13.1.r189.12cfcd8-1 (Sat 12 Aug 2023 03:52:41 PM EDT)
==> Cleaning up...

Checking keyring...
Checking integrity...
Loading packages files...
Checking file conflicts...
Checking available disk space...
Installing rtl88x2bu-dkms-git (5.13.1.r189.12cfcd8-1)...
Running post-transaction hooks...
Arming ConditionNeedsUpdate...
Install DKMS modules
==> ERROR: Missing boot kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing bin kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing lib kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing tmp kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing usr kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing lost+found kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing mnt kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing lib64 kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing sbin kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing desktopfs-pkgs.txt kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing etc kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing srv kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing run kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing proc kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing home kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing opt kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing rootfs-pkgs.txt kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing root kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing dev kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing sys kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
==> ERROR: Missing var kernel headers for module rtl88x2bu/5.13.1.r189.12cfcd8.
Transaction successfully finished.

Moderator edit: In the future, please use proper formatting: [HowTo] Post command output and file content as formatted text