You are not logged in.

#1 2012-10-24 10:07:15

t4711
Member
Registered: 2012-10-12
Posts: 21

Installing X fails

I've now tried twice (last weekend and today) to install X on a plain text Arch Linux setup. Both attempts failed.

Following the beginner's cheatsheet and being not much more than an intelligent ape I did this:

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

This downloaded a dozen files or so and then spat out many 404's to the effect that xorg-server-common-1.12.4-1 can't be found on any of the mirrors.

I thought that perhaps the mirrors were in the process of being updated so I repeated the whole exercise today. Same result.

Any ideas?

Offline

#2 2012-10-24 10:10:55

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: Installing X fails

Choose a different mirror:

https://wiki.archlinux.org/index.php/Mirror

And always, after changing your mirror, do:

sudo pacman -Syy

Before trying to download any packages.  You don't need "sudo" if you're already at a root prompt.

Last edited by headkase (2012-10-24 10:11:47)

Offline

#3 2012-10-24 10:15:43

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Installing X fails

The beginners guide assumes that you have followed all previous steps. You haven't - specifically, you have not updated your system.

Offline

#4 2012-10-24 10:34:36

t4711
Member
Registered: 2012-10-12
Posts: 21

Re: Installing X fails

tomk wrote:

The beginners guide assumes that you have followed all previous steps. You haven't - specifically, you have not updated your system.

You're jumping to conclusions here. I did update the system as instructed in the beginner's guide with

# pacman -Syu

Or are you implying that I have to update the system every other day or even daily, hourly...?

headkase wrote:

Choose a different mirror:

https://wiki.archlinux.org/index.php/Mirror

And always, after changing your mirror, do:

sudo pacman -Syy

As I wrote the package wasn't found not only on my main mirror but on any other mirror. I have now issued both your and tomk's pacman command and so far the install looks good.

Offline

#5 2012-10-24 10:39:09

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: Installing X fails

Once you synchronize with pacman you can query your local database for a package:

pacman -Ss package-name

Replace "package-name" with the one you're looking for.  You should either get a result with a version or no output at all.  If no output then either that package name is split into different actual packages or it doesn't exist in your local database.

A package query does not need root.

Offline

#6 2012-10-24 14:41:52

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,097

Re: Installing X fails


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2012-10-24 14:47:10

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Installing X fails

Just want to make sure... you are connected to the internet, yeah?`

Offline

#8 2012-10-25 12:19:05

t4711
Member
Registered: 2012-10-12
Posts: 21

Re: Installing X fails

WonderWoofy wrote:

Just want to make sure... you are connected to the internet, yeah?`

Well, I am an idiot sometimes but I try to avoid to be that stupid. Simply skimming my OP would've answered that:

t4711 wrote:

This downloaded a dozen files or so and then spat out many 404's to the effect that xorg-server-common-1.12.4-1 can't be found on any of the mirrors.

Anyway, either or both of

# pacman -Syu
# pacman -Syy

solved the problem. (I now have X and Xfce up and running though the latter is a bit too heavy for my liking. I'll have to check other DEs/WMs.)

It would be a great idea and certainly help complete Linux and Arch newbies like me (who nevertheless RTFM) if the beginner's guide carried a BIG FLASHING HINT warning people to always update via -Syu before installing something. I did a -Syu during the install (as instructed by the beginner's guide) but I had not realised that this should be done before any new install.

So far I gotta say that Arch has been great. There are some small niggles with the beginner's guide and some rough edges but it is possible to install and use the system without any prior knowledge of Linux. Having said that, much (perhaps too much) of the material online assumes that the user has at least some Linux background. Believe it or not, even some technically advanced people don't.

My 2 cent.

Offline

#9 2012-10-25 12:38:48

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Installing X fails

Xorg has recently been updated to 1.13. Your local package databases were out of date, so they still had 1.12 listed. Since Xorg had been updated to 1.13, these files were no longer on the server, which was why you recieved 404 errors.

99% of the time when you see that error, it just means you need to -Syu.

Offline

#10 2012-10-25 16:04:59

t4711
Member
Registered: 2012-10-12
Posts: 21

Re: Installing X fails

t4711 wrote:

It would be a great idea and certainly help complete Linux and Arch newbies like me (who nevertheless RTFM) if the beginner's guide carried a BIG FLASHING HINT warning people to always update via -Syu before installing something. I did a -Syu during the install (as instructed by the beginner's guide) but I had not realised that this should be done before any new install.

Answering myself.  I've searched the forums and read some more posts re various pacman woes... these problems seem to be pretty widespread.

Perhaps a short section should be added to the beginner's guide, outlining the pacman basics and a few important caveats. After all, pacman is the one tool everyone will have to use, sooner or later. I used it blindly some days after I had installed the system and promptly ran into trouble.

Offline

#11 2012-10-25 18:59:38

pulce
Member
From: Italy
Registered: 2011-02-14
Posts: 64

Re: Installing X fails

t4711 wrote:

It would be a great idea and certainly help complete Linux and Arch newbies like me (who nevertheless RTFM) if the beginner's guide carried a BIG FLASHING HINT warning people to always update via -Syu before installing something. I did a -Syu during the install (as instructed by the beginner's guide) but I had not realised that this should be done before any new install.

So far I gotta say that Arch has been great. There are some small niggles with the beginner's guide and some rough edges but it is possible to install and use the system without any prior knowledge of Linux. Having said that, much (perhaps too much) of the material online assumes that the user has at least some Linux background. Believe it or not, even some technically advanced people don't.

My 2 cent.

Beginner's Guide already has multiple references to pacman wiki page and also highly recommends reading it (and it only takes few minutes). Also, I think the BIG FLASHING HINT thing is incompatible with the Arch Way.

Offline

#12 2012-10-25 19:09:18

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Installing X fails

FYI the beginners guide is not meant to tell you everything - its purpose is to help people who are new to Arch achieve a basic running system.

In your particular case, the "Configure pacman" section recommends reading the man page and some pacman-related wiki pages.

Offline

#13 2012-10-25 19:27:07

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Installing X fails

t4711 wrote:

I've searched the forums and read some more posts re various pacman woes... these problems seem to be pretty widespread.

These "problems" may appear to be widespread, but your sample includes only those people who post their problems on the forum. People who read the man page, or wiki, or forum, and don't have problems don't post. Pulce is correct that BIG FLASHING HINT is not really what Arch is about, and some people already complain that the Beginners' Guide has too much extraneous information in it. Now that you've learned how to update, you won't make the same mistake again, will you? smile

Last edited by 2ManyDogs (2012-10-25 19:27:58)

Offline

Board footer

Powered by FluxBB