Hello everybody. I am new in arch linux i do not understand all things and i am having trouble with installing NVIDIA driver. I dont know what to do. My friend said i should find help on forum.
Here is my problem:
Waiting for user input…
Starting
Installing video-nvidia-390xx-dkms…
error: could not open file /var/lib/pacman/local/0ad-a24.b-1/desc: No such file or directory
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-390xx-dkms/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases…
error: failed to update core (unable to lock database)
error: failed to update extra (unable to lock database)
error: failed to update community (unable to lock database)
error: failed to update multilib (unable to lock database)
error: failed to update chaotic-aur (unable to lock database)
error: failed to synchronize all databases
Error: pacman failed!
Error: script failed!
Good morning. I followed steps that u send me. I dont know what i did bad. I tried to figure it out. But nothing changed. What did i do wrong?
sudo touch /var/lib/pacman/local/0ad-a24.b-1/desc
[sudo] password for marti432:
╭─marti432@PC in ~ took 4s
╰─λ sudo pacman -S /var/lib/pacman/local/0ad-a24.b-1/desc
error: target not found: /var/lib/pacman/local/0ad-a24.b-1/desc
warning: '/var/lib/pacman/local/0ad-a24.b-1/desc' is a file, did you mean -U/--upgrade instead of -S/--sync?
sudo pacman -S /var/lib/pacman/local/0ad-a24.b-1/file
error: target not found: /var/lib/pacman/local/0ad-a24.b-1/file
warning: '/var/lib/pacman/local/0ad-a24.b-1/file' is a file, did you mean -U/--upgrade instead of -S/--sync?
Hello Guys, i am the friend he(TheMartin) was talking about. He has hybrid graphics intel and nvidia he was trying to install the bumblebee offload driver but that was not working for some conflict files that i was trying to remove and replace them for him but he got the pacman failed error first it was the database lock error which i fixed for him using sudo rm /var/lib/pacman/db.lck command. It was downloading for a while but it said that there are corrupt files so my solution for him is to reinstall the whole garuda linux and set his graphics to discrete in bios so garuda will install the drivers automaticly hopefully without errors. I am posting this here so if there is another solution you can help us.
Well yes but he wants the have games to run on the nvidia gpu as default. And he can't install even nvidia driver without bumblebee so i think my solution could work the best but tell me what do you think about it.