You are not logged in.

#1 2008-09-18 22:14:00

drzanju92
Member
Registered: 2008-09-18
Posts: 7

problem with installing xorg

I tried to install it but it didn't work. It showed a list of failures. The pacman is up to date, I tired updating the system but I can't  because i get the same problem. I got the 2008.06 iso.

Offline

#2 2008-09-18 22:16:58

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: problem with installing xorg

drzanju92 wrote:

It showed a list of failures.

Can't offer much advice without knowing what those failures were.


thayer williams ~ cinderwick.ca

Offline

#3 2008-09-18 22:56:42

asmodaous
Member
From: Austin, TX
Registered: 2008-07-29
Posts: 19

Re: problem with installing xorg

make sure you install pacman -S libgl first, then pacman -S xorg, then pacman -S mesa. install them in that order then Xorg -configure and configure your xorg.org with nano.

After that move it "cp /root/xorg.conf.new /etc/X11/xorg.conf" if you have nvidia install pacman -S nvidia-96xx or nvidia depending on your card then nvidia-xconfig. That is how it worked for me. Also do the same with ATI if you have the card just follow the directions. But make sure you first do the first steps in that order.  cool:D

Offline

#4 2008-09-18 23:05:33

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: problem with installing xorg

@asmodaous
You don't need libgl if you use nvidia or ati drivers (correct me if I'm wrong).

@drzanju92
Are you following the beginner's guide for installing xorg? http://wiki.archlinux.org/index.php/Beg … figuring_X
If yes, which steps have you done and exactly what errors are you getting?
If no, start over and follow the guide wink

I probably won't be able to help, but anyone that can will need more information. Good luck.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#5 2008-09-18 23:13:40

asmodaous
Member
From: Austin, TX
Registered: 2008-07-29
Posts: 19

Re: problem with installing xorg

Xyne you are right...lol, but how i do it is I install libgl and then once I install nvidia or ati it will tell that it conflicts with libgl and remove it. I am still a noob and don't know all the short cuts but i'm learning.    big_smile

Last edited by asmodaous (2008-09-18 23:15:05)

Offline

#6 2008-09-19 00:38:26

drzanju92
Member
Registered: 2008-09-18
Posts: 7

Re: problem with installing xorg

Yes, I was following the beginners guide. I put in the command pac -s xorg  and it will tell me error: "xorg" : not found in sync db. That is the farthest  I have gotten.

Offline

#7 2008-09-19 00:50:07

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: problem with installing xorg

Be careful with case. You wrote that you entered the command

pac -s xorg

but you must mean

pacman -S xorg

Double-check that you entered the second command above exactly that way. If it still doesn't work, open the file /etc/pacman.conf and check that you have the following lines there:

[extra]
Include = /etc/pacman.d/mirrorlist

Make sure that they are not commented (i.e. not preceded by a "#"). If you do not have those lines, add them.

Then do this:

pacman -Sy
pacman -S xorg

If that doesn't work, open /etc/pacman.d/mirrorlist and move a different mirror to the top of the file, then try the above 2 commands again.

Last edited by Xyne (2008-09-19 00:52:29)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#8 2008-09-19 00:50:36

asmodaous
Member
From: Austin, TX
Registered: 2008-07-29
Posts: 19

Re: problem with installing xorg

it's exactly how Xyne described.

Last edited by asmodaous (2008-09-19 00:51:56)

Offline

#9 2008-09-19 01:57:33

drzanju92
Member
Registered: 2008-09-18
Posts: 7

Re: problem with installing xorg

/etc/pacman.conf had the two lines. I put in pacman -Sy  and it gave me the list of failures again. Last one saying something about not being found in the sync db.

Offline

#10 2008-09-19 02:06:44

asmodaous
Member
From: Austin, TX
Registered: 2008-07-29
Posts: 19

Re: problem with installing xorg

can you show us a screenshot of what you have in /etc/pacman.conf? 



I use......

[core]
# Add your preferred servers here, they will be used first
Server = http://mirrors.easynews.com/linux/archl … po/os/i686
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Server = http://mirrors.easynews.com/linux/archl … po/os/i686
Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Server = http://mirrors.easynews.com/linux/archl … po/os/i686
Include = /etc/pacman.d/mirrorlist

Last edited by asmodaous (2008-09-19 02:09:43)

Offline

#11 2008-09-19 02:19:00

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: problem with installing xorg

Open /etc/pacman.d/mirrorlist
You'll see several lines like this:

#Server = ftp://some.address.here/path/to/repo

Move one of the lines for a server near where you live to the top of the file, and delete "#".

Then try

pacman -Sy

and try to install again.


If that still doesn't work, enter this command and post the output here:

ls -1 /var/lib/pacman/sync/

if you see "extra" in the above, try this:

find /var/lib/pacman/sync/ -name desc -exec grep -li -P '^xorg$' {} \;

and post the output (you're probably taking notes by hand, so just write down the names after '/extra/' and before the numbers.


edit:
and double-check that you have this in pacman.conf:

[extra]
Include = /etc/pacman.d/mirrorlist

and not this

#[extra]
#Include = /etc/pacman.d/mirrorlist

Last edited by Xyne (2008-09-19 02:21:34)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#12 2008-09-19 02:23:43

drzanju92
Member
Registered: 2008-09-18
Posts: 7

Re: problem with installing xorg

I just found out i don't have anything in the mirrorlist and yea i am taking everything by hand.

Offline

#13 2008-09-19 02:33:00

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: problem with installing xorg

drzanju92 wrote:

I just found out i don't have anything in the mirrorlist and yea i am taking everything by hand.

Ok, you probably still have the pacman pkg in your cache, so try this to rebuild the mirrorlist:

cd /etc/pacman.d/
mv mirrorlist mirrorlist.bak
pacman -S pacman

That should recreate the mirrorlist. Open it and check that the mirrors are back. If that doesn't work, post your architecture so someone can give you a mirror link that you can enter manually.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#14 2008-09-19 02:55:36

drzanju92
Member
Registered: 2008-09-18
Posts: 7

Re: problem with installing xorg

Sorry but unexpected error with updating pacman, I use i686 ill have to continue this tomorrow i have to wake up for school early in the morning. thanks

Offline

#15 2008-09-19 03:10:03

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: problem with installing xorg

METHOD 1 Download the pacman pkg manually and extract the mirrorlist from it:

cd /tmp/
wget ftp://mirrors.unixheads.org/archlinux/core/os/i686/pacman-3.2.1-1-i686.pkg.tar.gz
tar -zxf pacman-3.2.1-1-i686.pkg.tar.gz
mv /tmp/etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist

Then edit the mirrorlist under /etc/pacman.d/ by moving mirrors near you to the top and uncommenting them, then do another "pacman -Sy"

METHOD 2
Grab a mirror near you from the list below, uncomment it and add it to your mirrorlist file, then update your sync database, download pacman, remove the mirrorlist, then install pacman again to rebuild it, then edit it to put your preferred mirrors at the top. If that still doesn't work, consider starting over with the install.

cd /etc/pacman.d/
echo 'Server = ftp://ftp.archlinux.org/$repo/os/i686' >mirrorlist
pacman -Sw pacman
mv mirrorlist mirrorlist.bak
pacman -S pacman
nano mirrorlist

Even if you get errors when you try "pacman -S pacman", check if it recreated the mirrorlist file in /etc/pacman.d/.

#
# Arch Linux repository mirrorlist
#

# United States
#Server = ftp://ftp.archlinux.org/$repo/os/i686
#Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
#Server = ftp://mirrors.unixheads.org/archlinux/$repo/os/i686
#Server = ftp://ftp-linux.cc.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
#Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
#Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
#Server = http://holmes.umflint.edu/archlinux/$repo/os/i686
#Server = http://mirror.neotuli.net/arch/$repo/os/i686

# South America
# - Brazil
#Server = http://archlinux.c3sl.ufpr.br/$repo/os/i686
#Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/i686
#Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/i686

# Europe
# - Austria
#Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686
# - Belgium
#Server = ftp://ftp.belnet.be/mirror/archlinux.org/$repo/os/i686
# - Czech Republic
#Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686
# - Estonia
#Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/i686
# - France
Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686
Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/i686
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/i686
Server = http://mir.archlinux.fr/$repo/os/i686
#Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/i686
# - Germany
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/i686
Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/i686
Server = ftp://ftp.archlinuxppc.org/i686/$repo/os/i686
Server = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686
Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/i686
# - Great Britain
#Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/i686
#Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/i686
#Server = http://archlinux.mirrors.uk2.net/$repo/os/i686
# - Greece
#Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/i686
# - Hungary
#Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/i686
# - Ireland
#Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/i686
# - Italy
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
# - Netherlands
#Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/i686
#Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/i686
# - Poland
#Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/i686
#Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
#Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
# - Portugal
#Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/i686
# - Romania
#Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/i686
# - Russia
#Server = ftp://mirror.yandex.ru/archlinux/$repo/os/i686
#Server = http://archlinux.freeside.ru/$repo/os/i686
# - Sweden
#Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/i686
#Server = ftp://ftp.gigabit.nu/$repo/os/i686
# - Switzerland
#Server = ftp://archlinux.puzzle.ch/$repo/os/i686
# - Turkey
#Server = http://server.elsistech.com/archlinux/$repo/os/i686
# - Ukraine
#Server = ftp://hell.org.ua/archlinux/$repo/os/i686
#Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/i686

# Asia
# - Israel
#Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/i686

# Australia
#Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/i686
#Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686

Last edited by Xyne (2008-09-19 03:19:34)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#16 2008-09-19 03:13:18

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: problem with installing xorg

Xyne wrote:

Ok, you probably still have the pacman pkg in your cache, so try this....pacman -S pacman.....

I think you are indicating that he should actually do:

cd /var/cache/pacman/pkg/

And then

pacman -U pacman<version>.pkg.tar.gz

Offline

#17 2008-09-19 03:22:14

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: problem with installing xorg

Misfit138 wrote:
Xyne wrote:

Ok, you probably still have the pacman pkg in your cache, so try this....pacman -S pacman.....

I think you are indicating that he should actually do:

cd /var/cache/pacman/pkg/

And then

pacman -U pacman<version>.pkg.tar.gz

I generally don't recommend using -U because then you have to remember to un-install it and re-install it from the repos. I tested what I wrote above locally by moving my mirrorlist, then running "pacman -S pacman" to re-install pacman and rebuild the list. It spat out errors about not finding the mirrorlist, but it was still able to retrieve and install the package from the cache, recreating the mirrorlist in the process.

Last edited by Xyne (2008-09-19 03:22:53)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#18 2008-09-19 13:12:48

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: problem with installing xorg

Xyne wrote:

I generally don't recommend using -U because then you have to remember to un-install it and re-install it from the repos. I tested what I wrote above locally by moving my mirrorlist, then running "pacman -S pacman" to re-install pacman and rebuild the list. It spat out errors about not finding the mirrorlist, but it was still able to retrieve and install the package from the cache, recreating the mirrorlist in the process.

You don't have to uninstall and re-install. Pacman will track the installed package, (in this case, pacman) and upgrade it as necessary, (when a newer version is found with -Syu) unless you IgnorePackage in pacman.conf. wink
Anyway, pacman -U from /var/cahe/pacman/pkg/ should work if he cannot sync.

Offline

#19 2008-09-19 15:17:10

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: problem with installing xorg

Thanks Misfit138

Another Archer told me that anything installed directly with -U needed to be handled manually.

@drzanju92
Do this then:

cd /etc/pacman.d/
mv mirrorlist mirrorlist.bak
pacman -U ftp://mirrors.unixheads.org/archlinux/core/os/i686/pacman-3.2.1-1-i686.pkg.tar.gz
pacman -Syu
pacman -S xorg

My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#20 2008-09-19 15:47:32

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: problem with installing xorg

Xyne wrote:

Thanks Misfit138

Another Archer told me that anything installed directly with -U needed to be handled manually.

If you install a customized package built with makepkg, you will need to manually track it. Installing from the pacman cache with pacman -U for a package from the official repo, sharing the same naming convention, etc. will not require any manual oversight.
pacman will automatically detect when a newer version is available. (Unless directed to ignore via IgnorePackage in pacman.conf)
smile

Offline

#21 2008-09-19 16:47:57

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: problem with installing xorg

Misfit138 wrote:

If you install a customized package built with makepkg, you will need to manually track it. Installing from the pacman cache with pacman -U for a package from the official repo, sharing the same naming convention, etc. will not require any manual oversight.
pacman will automatically detect when a newer version is available. (Unless directed to ignore via IgnorePackage in pacman.conf)
smile

Just to check then, if I create a local package and install it with -U, then decide to add an updated version of that package to a local repo using the same naming convention, pacman will detect it and handle it properly, correct?


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#22 2008-09-19 18:36:31

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: problem with installing xorg

Xyne wrote:
Misfit138 wrote:

If you install a customized package built with makepkg, you will need to manually track it. Installing from the pacman cache with pacman -U for a package from the official repo, sharing the same naming convention, etc. will not require any manual oversight.
pacman will automatically detect when a newer version is available. (Unless directed to ignore via IgnorePackage in pacman.conf)
smile

Just to check then, if I create a local package and install it with -U, then decide to add an updated version of that package to a local repo using the same naming convention, pacman will detect it and handle it properly, correct?

If the repo is listed in pacman.conf, yes.
Think about it: Pacman is directed by pacman.conf, and all PKGBUILDs in the ABS tree dictate dependencies through official repos, also listed within pacman.conf.
If it is a custom package from a custom PKGBUILD based on 3rd party sources or the AUR, then pacman will be unaware of it. (Though AUR helpers like yaourt can help you here.)
Pacman -U is merely a method of installing (actually removing then upgrading) a package. It is not what determines whether or how a package is tracked.

Offline

#23 2008-09-19 18:42:30

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: problem with installing xorg

Misfit138 wrote:

If the repo is listed in pacman.conf, yes.
Think about it: Pacman is directed by pacman.conf, and all PKGBUILDs in the ABS tree dictate dependencies through official repos, also listed within pacman.conf.
If it is a custom package from a custom PKGBUILD based on 3rd party sources or the AUR, then pacman will be unaware of it. (Though AUR helpers like yaourt can help you here.)
Pacman -U is merely a method of installing (actually removing then upgrading) a package. It is not what determines whether or how a package is tracked.

That is quite clear. I only thought it was handled differently because someone told me that it was and I had no reason to question a long-time user one week into using Arch. The basic explanation was that packages installed with -U were automatically ignored. Now I know that they're not, so thanks again.


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#24 2008-09-19 18:46:37

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: problem with installing xorg

Np. Here is a little supplemental info.

Offline

#25 2008-09-19 20:36:23

drzanju92
Member
Registered: 2008-09-18
Posts: 7

Re: problem with installing xorg

@ Xyne
I tried updating it from ftp://mirrors.unixheads.org/archlinux/c … pkg.tar.gz and it said:
error:config file /etc/pacman.d/mirrorlist could not be read
and
error: failed retrieving file 'pacman-3.2.1-1-i686.pkg.tar.gz' from mirrors.unixheads.org : Transient resolver failure

Offline

Board footer

Powered by FluxBB