You are not logged in.
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
It showed a list of failures.
Can't offer much advice without knowing what those failures were.
thayer williams ~ cinderwick.ca
Offline
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. :D
Offline
@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
I probably won't be able to help, but anyone that can will need more information. Good luck.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
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.
Last edited by asmodaous (2008-09-18 23:15:05)
Offline
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
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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
it's exactly how Xyne described.
Last edited by asmodaous (2008-09-19 00:51:56)
Offline
/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
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
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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I just found out i don't have anything in the mirrorlist and yea i am taking everything by hand.
Offline
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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
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
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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
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
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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
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.
Anyway, pacman -U from /var/cahe/pacman/pkg/ should work if he cannot sync.
Offline
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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
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)
Offline
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)
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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
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)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
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 Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Np. Here is a little supplemental info.
Offline
@ 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