my problem is that i get error messages when running "sudo pacman -S plasma sddm" . I also get somewhat the same error messages when running "sudo pacman -Syyu" . (( The last line of error is as follows " error: failed to synchronise all databases (failed to retrieve some files)" if further information is needed just ask ๐ Thanks for ur time
#[SOLVED] Cant install packages in already installed arch.
1 messages ยท Page 1 of 1 (latest)
does it say some mirrors were unable to be reached
Not that i can see. Although it does mention ยซmirrorยป
ping 8.8.8.8 and ping archlinux.org pretty please
If both fail your connectivity is busted somehow, if the 1st works and the 2nd fails then it's DNS
"ping 8.8.8.8" worked fine giving me back 64 bytes. running "ping archlinux.org" gave me "ping: archlinux.org: Temporary failure in name reselution" . is this the DNS u were talking about? PS: i wrote "ping archlinux.org" correctly
how should i "manage" DNS
i use iwctl for a wireless connection btw. if that clears up anything
Has your network ever worked on this installation?
first installation on this laptop
first installation on this laptop
Did you enable Network Management in the iwd config?
If you haven't, you can do this by editing /etc/iwd/main.conf and adding
[General]
EnableNetworkConfiguration=true
i have added it already, with "sudo nano /etc/iwd/main.conf". ( trying without sudo gave me a red message that "is unwritable in it" ) . so i have already added it. PS : I tried plugging ethernet cable and got connection to "archlinux.org" after 1-2 minutes. if that information helps.
it seems like the problem to connecting to archlinux.org is only with wireless connectivity.
Are you update to run pacman -Syu with ethernet?
running "pacman -Syu" gave me "error: you cannot perform this operation unless you are root". I tried this with ethernet cable and got the same error message.
do
sudo pacman -Syu
it needs to be ran as root
sudo elevates you to root for that command
Just so you know, any command that edits system files and things like that need to be run as the root user, so you'll need to run them with sudo or use some other method of being root
i ran "sudo pacman -Syu" with ethernet cable and got "there is nothing to do" right after ": : Starting full system upgrade"
running "sudo pacman -Syu" without cable gave me the same error messages as always
You could try using a different network software like Network Manager and see if that makes any difference
So with ethernet plugged in, install Network Manager by running sudo pacman -S networkmanager
why are you using iwctl directly over just using networkmaanger with iwd's backend?
Once you've done this, disable and stop iwd with systemctl disable --now iwd (--now just means to also stop it), and enable and start Network Manager with systemctl enable --now NetworkManager
i have disabled and enabled the suggested software i will now look at a tut on how NetworkManager works and try to connect my self to wifi. i might brb.
i dont know tbh i just stumbled upon it first i think, and i suppose i thought it was easy t use.
Hoyl Shit it worked
glad to hear it
i am now downloading plasma and sddm. using NetworkManager really helped. Thank you people so much. I now have wifi thanks to you. getting wifi connectivity has really been a big obstacle with setting up linux. Thank you again ๐ ๐ ๐ ๐ ๐ ๐
just in future now that you're on network manager if you do want the iwd backend later (it is more reliable) you can set it in its conf file
.n solved
#17680 ๐ฃ If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: http://0x0.st/8Rt9.png
Thank you
[SOLVED] Cant install packages in already installed arch.
for future reference a dhcp client is needed, and a resolver, to use iwd
https://wiki.archlinux.org/title/Iwd#Enable_built-in_network_configuration
https://wiki.archlinux.org/title/Systemd-resolved
iwd needs to be restarted after the configuration file is written
for systemd-resolved enable and start the service:
systemctl enable --now systemd-resolved