You are not logged in.
Pages: 1
I get this error when I try to "pacman -Syy" or "pacman -Syu"
:: Synchronizing package databases...
error: failed to synchronize core:
error: failed to synchronize extra:
error: failed to synchronize commutity:
error: failed to synchronize any databases
I'm pretty sure my network is up, I can ping www.google.com
I originally tried to use the example
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
#[unstable]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
when that didn't work I tried "nano /etc/pacman.d/mirrorlist" only to get a newfile. Apparently mirrorlist does not exist. I then tried it "Include = /etc/pacman.d/" in all my lines, wherein I still get the "error: failed to synchronize *"
Should I have anything specific in those lines? what about my mirrorlist, what should it look like.
note: I'm using x86_64 version.
Last edited by Demios (2008-06-10 16:22:53)
Offline
Here is the mirrorlist currently in SVN from Pacman:
http://repos.archlinux.org/viewvc.cgi/p … iew=markup
So basically just put any Server = "whatever server you want here" line in it.
Offline
You can reuse that mirrorlist from svn, but you have to substitute the @carch@ just like the PKGBUILD does :
sed -i -e "s/@carch@/${CARCH}/g" ${startdir}/pkg/etc/pacman.d/mirrorlist
So for x86_64, you can do this after copying the file to the correct place :
sed -i -e "s/@carch@/x86_64/g" /etc/pacman.d/mirrorlist
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
You can reuse that mirrorlist from svn, but you have to substitute the @carch@ just like the PKGBUILD does :
sed -i -e "s/@carch@/${CARCH}/g" ${startdir}/pkg/etc/pacman.d/mirrorlistSo for x86_64, you can do this after copying the file to the correct place :
sed -i -e "s/@carch@/x86_64/g" /etc/pacman.d/mirrorlist
I was going to copy http://repos.archlinux.org/viewvc.cgi/p … iew=markup
Am I supposed to be doing something different?
Offline
shining wrote:You can reuse that mirrorlist from svn, but you have to substitute the @carch@ just like the PKGBUILD does :
sed -i -e "s/@carch@/${CARCH}/g" ${startdir}/pkg/etc/pacman.d/mirrorlistSo for x86_64, you can do this after copying the file to the correct place :
sed -i -e "s/@carch@/x86_64/g" /etc/pacman.d/mirrorlistI was going to copy http://repos.archlinux.org/viewvc.cgi/p … iew=markup
Am I supposed to be doing something different?
Yes, you are supposed to do as I said!
First copy it to the correct place, then run that sed rule.
pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))
Offline
Couldn't you just reinstall pacman since mirrorlist is supposed to be part of the package?
Offline
Pages: 1