I am running Ubuntu 24.04 on a MacBook Air 4. After an update I lost all connection to the internet. I do not have a USB to Ethernet adapter, so I cannot connect the device directly.
I have used two different USB WiFi adapters prior to the update for testing purposes, but now neither of them are recognized by my computer when plugged in.
sudo apt update comes back with failed to fetch errors.
sudo apt upgrade comes back with various errors while attempting to build modules. Will attach a screenshot with this post.
I understand some of these errors are from the USB wifi adapters driver installations themselves, but I would just like my onboard wifi to work.
I'm very inexperienced with explaining Linux issues, but would be glad to supply any other information necessary to tackle this headache.
Results of sudo apt upgrade :
Results of ip a and lsusb :
I attempted the suggestion, but will post my results. git clone failed because it could not resolve host.
Results of git clone and sudo dkms status :


