Score:0

Ubuntu 18.04 Kernel update to 5.13

cn flag

I am trying to update kernel in Ubuntu 18.04 to 5.13 for having my wifi working? Currently I am seeing that "No WIFI Adapter Found" in settings so I think I would need Mediatek 7961 driver. But from previous posts, I see that updating to kernel 5.13 fixes the problem. When I tried to update I am seeing the following error:

ASUS@ASUS-ROG-Zephyrus:~/Downloads/kernel$ sudo dpkg -i *.deb
[sudo] password for yash:
(Reading database ... 195667 files and directories currently installed.)
Preparing to unpack linux-headers-5.13.0-051300_5.13.0-051300.202106272333_all.deb ...
Unpacking linux-headers-5.13.0-051300 (5.13.0-051300.202106272333) over (5.13.0-051300.202106272333) ...
Selecting previously unselected package linux-headers-5.13.0-051300-generic.
Preparing to unpack linux-headers-5.13.0-051300-generic_5.13.0-051300.202106272333_amd64.deb ...
Unpacking linux-headers-5.13.0-051300-generic (5.13.0-051300.202106272333) ...
Preparing to unpack linux-image-unsigned-5.13.0-051300-generic_5.13.0-051300.202106272333_amd64.deb ...
Unpacking linux-image-unsigned-5.13.0-051300-generic (5.13.0-051300.202106272333) over (5.13.0-051300.202106272333) ...
Preparing to unpack linux-modules-5.13.0-051300-generic_5.13.0-051300.202106272333_amd64.deb ...
Unpacking linux-modules-5.13.0-051300-generic (5.13.0-051300.202106272333) over (5.13.0-051300.202106272333) ...
Setting up linux-headers-5.13.0-051300 (5.13.0-051300.202106272333) ...
dpkg: dependency problems prevent configuration of linux-headers-5.13.0-051300-generic:
 linux-headers-5.13.0-051300-generic depends on libc6 (>= 2.33); however:
  Version of libc6:amd64 on system is 2.27-3ubuntu1.4.

dpkg: error processing package linux-headers-5.13.0-051300-generic (--install):
 dependency problems - leaving unconfigured
Setting up linux-modules-5.13.0-051300-generic (5.13.0-051300.202106272333) ...
Setting up linux-image-unsigned-5.13.0-051300-generic (5.13.0-051300.202106272333) ...
Processing triggers for linux-image-unsigned-5.13.0-051300-generic (5.13.0-051300.202106272333) ...
/etc/kernel/postinst.d/dkms:
 * dkms: running auto installation service for kernel 5.13.0-051300-generic

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
'make' -j16 KVER=5.13.0-051300-generic...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl8821ce: v5.5.2_34066.20200325 not found
Error! Bad return status for module build on kernel: 5.13.0-051300-generic (x86_64)
Consult /var/lib/dkms/rtl8821ce/v5.5.2_34066.20200325/build/make.log for more information.
   ...done.
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.13.0-051300-generic
I: The initramfs will attempt to resume from /dev/nvme0n1p9
I: (UUID=8061ea19-dfa3-48b3-a664-858c1fb1bfcd)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.13.0-051300-generic
Found initrd image: /boot/initrd.img-5.13.0-051300-generic
Found linux image: /boot/vmlinuz-5.4.0-86-generic
Found initrd image: /boot/initrd.img-5.4.0-86-generic
Found linux image: /boot/vmlinuz-5.4.0-84-generic
Found initrd image: /boot/initrd.img-5.4.0-84-generic
Found Windows Boot Manager on /dev/nvme0n1p1@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
Errors were encountered while processing:
 linux-headers-5.13.0-051300-generic

I would appreciate any feedback on how to update to kernel 5.13 or how to install Mediatek 7961 driver. Thanks!

user535733 avatar
cn flag
Does your wifi work properly with a pre-release 20.10 Live USB's "Try Ubuntu" environment? That's one very easy, risk-free way to check if kernel 5.13 will truly accomplish what you want.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.