#[SOLVED] Cant install packages in already installed arch.

1 messages ยท Page 1 of 1 (latest)

vestal cedar
#

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

void halo
#

does it say some mirrors were unable to be reached

vestal cedar
#

Not that i can see. Although it does mention ยซmirrorยป

jovial cosmos
#

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

vestal cedar
#

"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

void halo
#

i think systemd-resolve is what is used for DNS management on arch

vestal cedar
#

how should i "manage" DNS

#

i use iwctl for a wireless connection btw. if that clears up anything

viral shard
vestal cedar
#

first installation on this laptop

vestal cedar
viral shard
#

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
vestal cedar
#

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.

viral shard
#

Are you update to run pacman -Syu with ethernet?

vestal cedar
#

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.

void halo
#

do

#

sudo pacman -Syu

#

it needs to be ran as root

#

sudo elevates you to root for that command

viral shard
#

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

vestal cedar
#

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

viral shard
#

So with ethernet plugged in, install Network Manager by running sudo pacman -S networkmanager

void halo
#

why are you using iwctl directly over just using networkmaanger with iwd's backend?

viral shard
vestal cedar
#

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.

vestal cedar
#

Hoyl Shit it worked

void halo
#

glad to hear it

vestal cedar
#

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 ๐Ÿ˜„ ๐Ÿ˜„ ๐Ÿ˜„ ๐Ÿ˜„ ๐Ÿ˜„ ๐Ÿ˜„

void halo
#

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

viral shard
#

.n solved

junior rivetBOT
#

#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

vestal cedar
#

[SOLVED] Cant install packages in already installed arch.

last fable
#

iwd needs to be restarted after the configuration file is written

#

for systemd-resolved enable and start the service:

systemctl enable --now systemd-resolved