Laptop Lenovo Ideapad Flex 5i with dual boot Manjaro/Windows 11
Wifi is enabled in Bios. Tried to update drivers but got errors. What am I doing wrong?
[davidd@Ideapad ~]$ pamac build rtw89-dkms-git
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Failed to read AUR data from /var/lib/pacman/sync/packages-meta-ext-v1.json.gz : Error opening file /var/lib/pacman/sync/packages-meta-ext-v1.json.gz: No such file or directory
Error: target not found: rtw89-dkms-git
Your topic about a key to enable wifi. But then you continue with building an aur package.
There is no corelation between the two.
The first is a hotkey on your keyboard.
The second is a known issue with a known fix
first issue
Be sure to disable Windows Fast Startup in Windows Power Management, as keeping it enabled may prevent devices from being recognized by Manjaro Linux - e.g. wireless network card.
second issue
First ensure your system is fully up-to-date
sudo pacman -Syu
Second use --force-refresh --aur to update the aur metadata
Model name: 12th Gen Intel(R) Core™ i3-1215U
CPU family: 6
Model: 154
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 1
Stepping: 4
CPU(s) scaling MHz: 16%
CPU max MHz: 4400.0000
CPU min MHz: 400.0000
BogoMIPS: 4993.00
I got the version and ran the command:
[davidd@Ideapad ~]$ sudo pacman -Syu base-devel linux5.15.178-headers
[sudo] password for davidd:
:: Synchronizing package databases…
core is up to date
extra is up to date
community is up to date
multilib is up to date
warning: base-devel-1-3 is up to date – reinstalling
error: target not found: linux5.15.178-headers
Nothing necessarily, but it’s what you didn’t do …
One thing I should point out here is not keeping up with system maintenance will eventually lead to issues. The community repository was deprecated well over a year ago.
I suspect
pacdiff -o
will reveal a few entries!
Could I also suggest posting the complete output of
inxi -zv8
… and highlighting the pasted output and clicking the </> buton at the top of the reply window (this formats it properly for the Forum), as this information will likely be useful for assistance.
It says my kernel is up-to-date. Yes, the machine is new. How would I get a later Kernel such as linux612?
I think the problem is that the wifi board in the laptop was designed only to work with windows. I have a dual boot system. The wifi works with Windows but not with Linux. So I’m getting a USB wifi adapter. But I’m not sure it will work with Linux either.
Either I’ll just have to experiment with adapters until I find on that is friendly with Linux or if someone already knows an adapter that is friendly with Linux – I’d like to know what that one is. Especially one that works right out of the box, I’m not experienced enough with Linux to compile the drivers and install them, unless I could get someone to help me with it.
(But I would rather go with the later Kernel unless a newer update would break the wifi…)
Your current kernel is no doubt up to date; it’s still supported and receiving security patches etc., but might not contain all the needed drivers/modules for your newer system.
The recommended way to install a new Kernel is e.g.:
sudo mhwd-kernel -i linux612
To list available and installed Kernels:
mhwd-kernel -l && mhwd-kernel -li
You might need to press Esc or SHIFT during boot to display the GRUB menu if it doesn’t usually show, in order to select the new Kernel.
This behaviour can be changed, if needed; it involves editing /etc/default/grub and assistance can be provided for this if needed.
The results of
cat /etc/default/grub
… will tell us what to suggest if the GRUB menu isn’t shown by default.
[davidd@Ideapad ~]$ sudo mhwd-kernel -i linux612
[sudo] password for davidd:
:: Synchronizing package databases...
core is up to date
extra 8.1 MiB 9.25 MiB/s 00:01 [###################################################] 100%
community is up to date
multilib is up to date
error: failed retrieving file 'community.db' from volico.mm.fcix.net : The requested URL returned error: 404
error: failed retrieving file 'community.db' from ohioix.mm.fcix.net : The requested URL returned error: 404
The following packages are out of date, please update your system first: firefox
Do you want to continue anyway? [y/N] n
You need to remove (or add # to the start of) the lines referring to “Community” in /etc/pacman.conf so it looks more like this:
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
[multilib]
Include = /etc/pacman.d/mirrorlist
Notice mine is missing those “Community” lines entirely, since I (carefully!) merged the pacnew which appeared at the time the repo was deprecated.
The Community repository have finally been removed. Yow will likely need to attend to a number of .pacnew files; you could do worse than to check