You are not logged in.

#1 2008-03-11 12:16:12

valandil
Member
Registered: 2008-03-11
Posts: 60

(solved) repositories configured after removal/installation of Pacman

Hi!

I just had a wierd problem with Pacman : when I typed

pacman -Syu

it 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 pacman

Well, 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 clean

Now, 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/custompkgs

and /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/i686

What's the problem? Thank you!

Last edited by valandil (2008-03-13 12:52:19)

Offline

#2 2008-03-11 17:09:04

theringmaster
Member
From: Air Force
Registered: 2007-07-16
Posts: 581
Website

Re: (solved) repositories configured after removal/installation of Pacman

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

#3 2008-03-11 17:17:04

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: (solved) repositories configured after removal/installation of Pacman

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/mirrorlist

You 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

#4 2008-03-11 17:21:21

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: (solved) repositories configured after removal/installation of Pacman

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 1

You probably wouldn't want to use DESTDIR, but the configure line should be of interest.

Offline

#5 2008-03-11 19:21:00

valandil
Member
Registered: 2008-03-11
Posts: 60

Re: (solved) repositories configured after removal/installation of Pacman

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 record

Offline

#6 2008-03-11 19:25:12

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: (solved) repositories configured after removal/installation of Pacman

No address record?  Can you ping yahoo.com?  Is /etc/resolv.conf set up properly?

Offline

#7 2008-03-11 20:38:28

valandil
Member
Registered: 2008-03-11
Posts: 60

Re: (solved) repositories configured after removal/installation of Pacman

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.4

Offline

#8 2008-03-12 20:09:57

valandil
Member
Registered: 2008-03-11
Posts: 60

Re: (solved) repositories configured after removal/installation of Pacman

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

#9 2008-03-13 12:51:27

valandil
Member
Registered: 2008-03-11
Posts: 60

Re: (solved) repositories configured after removal/installation of Pacman

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

#10 2010-12-05 19:38:08

isaksen
Member
Registered: 2010-01-09
Posts: 8

Re: (solved) repositories configured after removal/installation of Pacman

"No address record"
For some reason.
It only read/used my first DNS server in my
/etc/resolv.conf
Which was wrong.

Offline

#11 2010-12-05 20:37:06

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 12,872
Website

Re: (solved) repositories configured after removal/installation of Pacman


Arch + dwm   •   Mercurial repos

Registered Linux User #482438

Online

Board footer

Powered by FluxBB