You are not logged in.
Pages: 1
Topic closed
Hi!
I just had a wierd problem with Pacman : when I typed
pacman -Syuit said that it was unable to get core.db.tar.gz and so on for other repos.
Then, I found a post that said the person had uninstalled pacman using
pacman -R pacmanWell, I tried to do by downloading the tarred package, then extracted it then :
./configure --prefix=/usr/bin --exec-prefix=/usr/bin && make && make install && make cleanNow, when I type pacman -Syu, it returns :
error: no usable package repositories configured.Here are my config files :
/etc/pacman.conf
#
# /etc/pacman.conf
#
# See the pacman manpage for option directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
DBPath = /var/lib/pacman/
CacheDir = /var/cache/pacman/pkg/
LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Server = ftp://ftp.archlinux.org/core/os/i686
# 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
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
# Unstable is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[unstable]
#Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgsand /etc/aacman.d/mirrorlist
#
# 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
# - 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
# NOTE: ftp.linux.kiev.ua only has the i686 arch and not x86_64
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/i686What's the problem? Thank you!
Last edited by valandil (2008-03-13 12:52:19)
Offline
well how do you remove the package manager and then expect to reinstall it with the same package manager???
Check me out on twitter!!! twitter.com/The_Ringmaster
Offline
This line is wrong anyway:
[core]
Server = ftp://ftp.archlinux.org/core/os/i686
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlistYou don't need the "Server" entry.
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
I'm not sure why you're building pacman by hand, but your configure line is wrong if you want it to use the same configs as the pacman package in our repos.
Take a look at the relevant lines from the PKGBUILD:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
make || return 1
make DESTDIR=$startdir/pkg install || return 1You probably wouldn't want to use DESTDIR, but the configure line should be of interest.
Offline
Thanks guys, it worked.
However, now pacman returns this to pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.archlinux.org : No address record
error: failed retrieving file 'core.db.tar.gz' from locke.suu.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from mirrors.unixheads.org : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp-linux.cc.gatech.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from mirror.cs.vt.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from mirrors.easynews.com : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.ibiblio.org : No address record
error: failed retrieving file 'core.db.tar.gz' from holmes.umflint.edu : No address record
error: failed retrieving file 'core.db.tar.gz' from mirror.neotuli.net : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.linux.kiev.ua : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.archlinux.org : No address record
error: failed retrieving file 'extra.db.tar.gz' from locke.suu.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from mirrors.unixheads.org : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp-linux.cc.gatech.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from mirror.cs.vt.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from mirrors.easynews.com : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.ibiblio.org : No address record
error: failed retrieving file 'extra.db.tar.gz' from holmes.umflint.edu : No address record
error: failed retrieving file 'extra.db.tar.gz' from mirror.neotuli.net : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.linux.kiev.ua : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.archlinux.org : No address record
error: failed retrieving file 'community.db.tar.gz' from locke.suu.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from mirrors.unixheads.org : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp-linux.cc.gatech.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from mirror.cs.vt.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from mirrors.easynews.com : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.ibiblio.org : No address record
error: failed retrieving file 'community.db.tar.gz' from holmes.umflint.edu : No address record
error: failed retrieving file 'community.db.tar.gz' from mirror.neotuli.net : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.linux.kiev.ua : No address recordOffline
No address record? Can you ping yahoo.com? Is /etc/resolv.conf set up properly?
Offline
I actually can access this forum and post this message with my wireless network access in a Future Shop. Anyway, here's resolv.conf :
# Generated by dhcpcd for interface wlan0
search public.futureshop.com
nameserver 10.188.100.4Offline
I changed to the wireless network to a wired network without any other result than those previously mentioned.
I firstly uninstalled Pacman for that very reason; it did not seem to be able to install packages anymore. What could the problem be?
Offline
Problem solved !
I uncommented the first few lines in pacman.conf and now it works. There problably was a problem with the protocol used to download the packages...
Anyway, thanks for you guys for the help!
Offline
"No address record"
For some reason.
It only read/used my first DNS server in my
/etc/resolv.conf
Which was wrong.
Offline
Please don't necro-bump: https://wiki.archlinux.org/index.php/Fo … Bumping.27
Closing
Online
Pages: 1
Topic closed