You are not logged in.

#1 2008-04-10 23:56:06

Guanta
Member
Registered: 2008-04-10
Posts: 6

pacman - error: failed to synchronize any databases

Hi,

So, I don't use Arch very often, well I use it often, but I don't update it regularly. So when I wanted to make a System Update. I got this massege. After that I installed the new pacman version manually. But still the same Problem.

pacman -Syu
:: Synchronizing package databases...
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.hosteurope.de : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp5.gwdg.de : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.uni-bayreuth.de : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.archlinuxppc.org : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.tu-chemnitz.de : No address record
error: failed retrieving file 'core.db.tar.gz' from ftp.uni-kl.de : No address record
error: failed to synchronize core: No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.hosteurope.de : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp5.gwdg.de : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.uni-bayreuth.de : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.archlinuxppc.org : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.tu-chemnitz.de : No address record
error: failed retrieving file 'extra.db.tar.gz' from ftp.uni-kl.de : No address record
error: failed to synchronize extra: No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.hosteurope.de : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp5.gwdg.de : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.uni-bayreuth.de : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.archlinuxppc.org : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.tu-chemnitz.de : No address record
error: failed retrieving file 'community.db.tar.gz' from ftp.uni-kl.de : No address record
error: failed to synchronize community: No address record
error: failed to synchronize any databases

My internet works fine. I can ping the mirrors. And my pacman.conf is the original one. I only added these two lines:

NoUpgrade = etc/passwd etc/group etc/shadow
NoUpgrade = etc/fstab

I really have no idea now any more. Perhaps it's really easy and I just don't get it.
Help me plz!

Offline

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

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: pacman - error: failed to synchronize any databases

Pacman changed recently.  Instead of having a separate mirror file for each repo, there is just one.  Your pacman.conf is trying to update the old way, which doesn't work any more.

You probably have a file in /etc named pacman.conf.pacnew.  Copy any changes you made (options or special repos you've added) from your pacman.conf to pacman.conf.pacnew, then rename that file pacman.conf.  That should fix it.

Offline

#3 2008-04-11 05:16:59

jb
Member
From: Florida
Registered: 2006-06-22
Posts: 466

Re: pacman - error: failed to synchronize any databases

Here's some links to the latest pacman and its dependencies.  Download them and do a pacman -U  lib* then a pacman -U pacman-3.1.4-1-i686.pkg.tar.gz

pacman
libarchive
libdownload

Oh and be sure to copy over the new repo listings from the .pacnew to pacman.conf


...

Offline

#4 2008-04-11 14:04:53

Guanta
Member
Registered: 2008-04-10
Posts: 6

Re: pacman - error: failed to synchronize any databases

ok, sorry. I described it perhaps wrong. I already did all these. I have the new pacman.conf. I only added the two lines. And I already installed the new versions of pacman, libarchive and libdownload. But still the same... Do I have to configure something else?

Offline

#5 2008-04-12 01:13:33

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: pacman - error: failed to synchronize any databases

Please post your pacman.conf.

Do you have a file named mirrorlist in /etc/pacman.d?

Offline

#6 2008-04-12 02:55:40

Guanta
Member
Registered: 2008-04-10
Posts: 6

Re: pacman - error: failed to synchronize any databases

#
# /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
NoUpgrade = etc/passwd etc/group etc/shadow
NoUpgrade = etc/fstab
#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]
# Add your preferred servers here, they will be used first
#Server = ftp://ftp.hosteurope.de/mirror/ftp.arch … re/os/i686
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 yes I have a mirrorlist in /etc/pacman.d

Offline

#7 2008-04-12 03:13:01

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: pacman - error: failed to synchronize any databases

Guanta wrote:

No address record

Only similar thread is this one.

$ nslookup ftp.hosteurope.de | grep Addr
Address: 80.237.136.138

NoUpgrade must be ONE single, long line.

Offline

#8 2008-04-12 03:34:59

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: pacman - error: failed to synchronize any databases

@brebs - I have NoUpgrade on more than one line (just like Guanta's) and it works fine.

Offline

#9 2008-04-12 03:43:45

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: pacman - error: failed to synchronize any databases

Hmm. Either pacman's behaviour has changed in the last few months, or your first NoUpgrade's entries are covered by entries in pkgbuilds anyway, or I'm wrong smile

Offline

#10 2008-04-12 03:46:06

Guanta
Member
Registered: 2008-04-10
Posts: 6

Re: pacman - error: failed to synchronize any databases

if I uncomment the NoUpgrade lines it doesn't change anything, also if I comment in the other lines (but this shouldn't change anything...)

nslookup ftp.hosteurope.de | grep Addr
Address:    192.168.0.1#53
Address: 80.237.136.138

Seems to be correct.

Last edited by Guanta (2008-04-12 03:55:40)

Offline

#11 2008-04-12 03:55:19

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: pacman - error: failed to synchronize any databases

See if wget works manually:

wget ftp://mirrors.uk2.net/pub/archlinux/community/os/i686/855resolution-0.4-5.pkg.tar.gz

Offline

#12 2008-04-12 03:56:33

Guanta
Member
Registered: 2008-04-10
Posts: 6

Re: pacman - error: failed to synchronize any databases

jep, works fine. So I have to sleep some hours (here it is 6am)...

Last edited by Guanta (2008-04-12 03:59:35)

Offline

#13 2008-04-19 21:38:49

Guanta
Member
Registered: 2008-04-10
Posts: 6

Re: pacman - error: failed to synchronize any databases

Hoi,

does nobody has another idea?
I don't want to install arch completely new...

Peace,
Guanta

Offline

#14 2008-06-29 17:06:25

mapr
Member
Registered: 2008-06-29
Posts: 20

Re: pacman - error: failed to synchronize any databases

Bit old, but.... From this http://lists.scratchbox.org/pipermail/s … 00906.html figured out that:

http://wiki.archlinux.org/index.php/Avahi
and the part:
"hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4"
caused wget not to function in my case... Back to the "files dns" and works again for me.

And after checking forums:
http://bbs.archlinux.org/viewtopic.php?id=38237
http://bbs.archlinux.org/viewtopic.php?id=47724

Last edited by mapr (2008-06-29 17:06:57)

Offline

#15 2008-07-15 15:36:31

ferrelas
Member
Registered: 2008-07-14
Posts: 2

Re: pacman - error: failed to synchronize any databases

I have almost exactly the same problem. The only difference is that I do pacman.static -Sy -r /mnt/newarch, I don't have the 'no update' lines in the config file (the rest of it is exactly the same tho), and I only get the error for 'communnity.db.tar.gz'. I'm following the install from existing linux guide to install from the System Rescue cd (live cd), since the regular install cd doesn't boot. I already have the 'files dns' stuff in the file, wget works properly, and I can ping the servers, what to do now?

Offline

#16 2008-07-15 16:10:37

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: pacman - error: failed to synchronize any databases

Is it because you aren't using an absolute path? Try the directories with a / in front of them?

Offline

#17 2008-07-15 16:40:25

ferrelas
Member
Registered: 2008-07-14
Posts: 2

Re: pacman - error: failed to synchronize any databases

And where am I using non-absolute paths? "/mnt/newarch" seems absolute to me.

Offline

#18 2008-07-15 18:22:21

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: pacman - error: failed to synchronize any databases

ferrelas wrote:

And where am I using non-absolute paths? "/mnt/newarch" seems absolute to me.

I was addressing the OT

NoUpgrade = etc/passwd etc/group etc/shadow
NoUpgrade = etc/fstab

Last edited by heleos (2008-07-15 18:23:23)

Offline

Board footer

Powered by FluxBB