Error on upgrade command

Ubuntu Version:

25.04

Desktop Environment (if applicable):

Several of the above?

Problem Description:

This may be due to attempted fails at installing a USB WiFi adapter. I just want to gracefully clear this error and/or what is causing it.

Screenshots or Error Messages:

What I’ve Tried:

Don’t know where to begin.


We might be able to help you more if we had some idea of the hardware of your computer and also the USB wifi adapter that you are using.

Where did you get the driver package that you installed?
Is secure boot enabled or disabled and if enabled have you tried installing the driver with secure boot disabled?

With the adapter attached please run command inxi -Fzx and post the output back here.

There are many USB wifi adapters which are known to work without needing a new driver to be installed so don’t give up.

Finally have a look at the thread at https://askubuntu.com/questions/1545120/fenvi-ax300-aic8800-has-anyone-managed-to-get-this-adapter-working which may help.

1 Like

Dell OptiPlex 5090
It was a UGREEN WiFi Adapter for Desktop PC, AX900 USB WiFi 6 Adapter with 5GHz/2.4GHz Dual Band, Built-in Driver for Windows 10/11 ](https://www.amazon.com/dp/B0DK14GTR2)

From their website, in Chinesium.
Don’t know. No longer matters, I sent the adapter back.

I already sent it back to Amazon, as it is unsupported on Linux. So, I already gave up on this one. I really don’t have the time to fight this right now.

I have more info on the attempted install over here:

It no longer matters, as that adapter is gone. Someone posted a list of supported adapters somewhere, and I will try to pick one of those.

It is a shame that more of the probably common ones are not supported. This is why Windows and Apple continue to lead.

So, how do I clean this up?

If someone can help me back out of each of these errors, that would be great.
Thanks.

At this stage, we need to confirm what works or not.

Please run these commands and post the output separately wrapped in code tags.

Note, we only need the parts where errors are reported not the entire output.

sudo apt update

sudo apt upgrade

Thanks.

Results of “sudo apt update”:

Hit:1 Index of /ubuntu plucky InRelease
Hit:2 Index of /ubuntu plucky-updates InRelease
Hit:3 Index of /ubuntu plucky-backports InRelease
Hit:4 https://dl.winehq.org/wine-builds/ubuntu plucky InRelease
Hit:5 Index of /ubuntu plucky-security InRelease
All packages are up to date.

Results of “sudo apt upgrade”:

Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 0
1 not fully installed or removed.
Space needed: 0 B / 101 GB available

Continue? [Y/n]

second part of sudo apt upgrade:

Continue? [Y/n] y
Setting up aic8800d80fdrvpackage (0.1.0) …
udev done
device not exist
cp fw done
make -C /lib/modules/6.14.0-27-generic/build M=/usr/src/AIC8800/drivers/aic8800 ARCH=x86_64 CROSS_COMPILE= modules
make[1]: Entering directory ‘/usr/src/linux-headers-6.14.0-27-generic’
make[2]: Entering directory ‘/usr/src/AIC8800/drivers/aic8800’
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-14 (Ubuntu 14.2.0-19ubuntu2) 14.
2.0
You are using: gcc-14 (Ubuntu 14.2.0-19ubuntu2) 14.2.0
make[2]: Leaving directory ‘/usr/src/AIC8800/drivers/aic8800’
make[1]: Leaving directory ‘/usr/src/linux-headers-6.14.0-27-generic’
mkdir -p /lib/modules/6.14.0-27-generic/kernel/drivers/net/wireless/aic8800
install -p -m 644 aic_load_fw/aic_load_fw.ko /lib/modules/6.14.0-27-generic/ker
nel/drivers/net/wireless/aic8800/
install -p -m 644 aic8800_fdrv/aic8800_fdrv.ko /lib/modules/6.14.0-27-generic/k
ernel/drivers/net/wireless/aic8800/
/sbin/depmod -a 6.14.0-27-generic
insmod: ERROR: could not insert module /usr/src/AIC8800/drivers/aic8800/aic_load
_fw/aic_load_fw.ko: Key was rejected by service
insmode aic_load_fw failed, install aic8800 wifi driver failed
dpkg: error processing package aic8800d80fdrvpackage (–configure):
installed aic8800d80fdrvpackage package post-installation script subprocess ret
urned error exit status 1
Errors were encountered while processing:
aic8800d80fdrvpackage
Error: Sub-process /usr/bin/dpkg returned an error code (1)

This topic was automatically closed after 30 days. New replies are no longer allowed.