You are not logged in.

#1 2017-04-17 00:59:24

aarvalo
Member
Registered: 2017-04-17
Posts: 6

[SOLVED] Problems with pacman installing xorg.

Hi everyone!

I successfully installed Arch on my pc, and now i want to install a Desktop Environment, but when I type:

pacman -S xorg-server xorg-server-utils xorg-xinit

then a number between 1 and 3 and then y to confirm, it throws a lot of errors for about a minute and doesn't install anything. What should i do?

Last edited by aarvalo (2017-04-17 19:36:05)

Offline

#2 2017-04-17 01:01:54

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] Problems with pacman installing xorg.

Well, we can't guess the errors and knowing the errors is kind of essential to be able to help you. My first guess is your mirrors, but it's hard to tell.

Last edited by dockland (2017-04-17 12:05:07)


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#3 2017-04-17 01:07:04

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,520
Website

Re: [SOLVED] Problems with pacman installing xorg.

Mod note: moved to Newbie Corner


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2017-04-17 01:14:34

aarvalo
Member
Registered: 2017-04-17
Posts: 6

Re: [SOLVED] Problems with pacman installing xorg.

dockland wrote:

Well, we can't guess the errors and knowing the errors is kind of essential to be able to help you. My first guess is your mirrors, but it's hard to tell.

this repeated lots of times:

error: failed retrieving file '(file name)' from (mirror) : Could not resolve host: (mirror again)

and then finally this:


error: failed to update community (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)

Last edited by aarvalo (2017-04-17 01:22:27)

Offline

#5 2017-04-17 01:20:31

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] Problems with pacman installing xorg.

aarvalo wrote:

this repeated lots of times:

error: failed retrieving file '(file name)' from (mirror) : Could not resolve host: (mirror again)

Post complete logs/output/versions/error messages
List_of_applications#Pastebin_clients see the tip box for how to paste from the console ( assuming you have a working network connection )
Please repeat Network_configuration#Check_the_connection to check.

Offline

#6 2017-04-17 01:35:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Problems with pacman installing xorg.

How did you install Arch if you can't connect to any mirrors?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2017-04-17 05:08:18

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,770

Re: [SOLVED] Problems with pacman installing xorg.

aarvalo,  You say you have successfully installed Arch.  Let us explore that for a moment.  My assumption is that you have installed from the boot medium using the chroot and had network available to you then.  I also gather you managed to set up the boot loader, and were able to reboot into your system.

Now, you do not have network access.  What kind of network have you? (wired, wireless)   How are you controlling it?  (netctl, networkmanager, systemd-network)

Also, unless you know exactly what you are doing, do not run pacman -S package1 package2 ....  You really, really want pacman -Syu package1 package2 ...


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2017-04-17 16:47:36

aarvalo
Member
Registered: 2017-04-17
Posts: 6

Re: [SOLVED] Problems with pacman installing xorg.

Post complete logs/output/versions/error messages
List_of_applications#Pastebin_clients see the tip box for how to paste from the console ( assuming you have a working network connection )
Please repeat Network_configuration#Check_the_connection to check.

when I write:

ping www.google.com

it returns:

ping: www.google.com: Name or service not known

and when I write:

ping 8.8.8.8

it returns:

connect: Network is unreachable

I have wired network.

Offline

#9 2017-04-17 16:55:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,770

Re: [SOLVED] Problems with pacman installing xorg.

What is the output of ip addr    ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2017-04-17 18:12:26

svnset
Member
Registered: 2016-07-31
Posts: 75

Re: [SOLVED] Problems with pacman installing xorg.

You have not answered to important questions from ewaller...
What are you using to connect to your wired network? Common mistake before rebooting fresh install: Have you enabled the service of whatever you use?
Eg.

systemctl enable dhcpcd

when you use dhcpcd.


After one has played a vast quantity of notes and more notes,
it is simplicity that emerges as the crowning reward of art. - Chopin

Offline

#11 2017-04-17 18:20:46

aarvalo
Member
Registered: 2017-04-17
Posts: 6

Re: [SOLVED] Problems with pacman installing xorg.

ewaller wrote:

What is the output of ip addr    ?

1: lo: <LOOPBACK,UP,LOWER_UP> mtu65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host lo
        valid_lft forever preferred_lft forever
2: enp0s18: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:e0:4d:26:34:32 brd ff:ff:ff:ff:ff:ff

Offline

#12 2017-04-17 18:24:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Problems with pacman installing xorg.

jasonwryan wrote:

How did you install Arch if you can't connect to any mirrors?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#13 2017-04-17 18:24:55

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [SOLVED] Problems with pacman installing xorg.

Have you enabled the required services?


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#14 2017-04-17 18:25:47

aarvalo
Member
Registered: 2017-04-17
Posts: 6

Re: [SOLVED] Problems with pacman installing xorg.

svnset wrote:

You have not answered to important questions from ewaller...
What are you using to connect to your wired network? Common mistake before rebooting fresh install: Have you enabled the service of whatever you use?
Eg.

systemctl enable dhcpcd

when you use dhcpcd.

I think I didn't do that before rebooting, what should I do know?

Offline

#15 2017-04-17 18:33:54

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] Problems with pacman installing xorg.

aarvalo wrote:

I think I didn't do that before rebooting, what should I do know?

Installation_guide#Network_configuration

Offline

#16 2017-04-17 18:56:56

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: [SOLVED] Problems with pacman installing xorg.

aarvalo wrote:
svnset wrote:

You have not answered to important questions from ewaller...
What are you using to connect to your wired network? Common mistake before rebooting fresh install: Have you enabled the service of whatever you use?
Eg.

systemctl enable dhcpcd

when you use dhcpcd.

I think I didn't do that before rebooting, what should I do know?

Go back and read the installation guide. Particularly the section about configuring the installed system. Don't be a help vampire.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#17 2017-04-17 19:30:34

aarvalo
Member
Registered: 2017-04-17
Posts: 6

Re: [SOLVED] Problems with pacman installing xorg.

Now I configured it correctly and got it to work, thanks to all of you guys.
PD: I'm new to the forum and I don't know how to set a thread as solved.

Last edited by aarvalo (2017-04-17 19:35:26)

Offline

#18 2017-04-17 19:33:29

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: [SOLVED] Problems with pacman installing xorg.

You can mark the thread as solved by editing the first post and prepending the tag [SOLVED] to the title in the "Subject" field.

Offline

Board footer

Powered by FluxBB