You are not logged in.

#1 2009-12-18 18:15:34

evilzore
Member
Registered: 2009-12-18
Posts: 6

pacman [error: * not found in sync db]

Hello, i tried install mysql with pacman like pacman -S mysql
but it said me some dependencies are corrupt.
So i synchronized repository with pacman -Sy
but now it cant find a package (error: 'mysql' : not found in sync db). So i thought i can create pkgbuild from source then.. but i cant download abs sad (i uncommented all repository in '/etc/pacman.d/mirrorlist' but nothing changed)
here is screen: (i tried 'pacman -Syy' too)
17pacman-whts-wrong.png
It is running in vmware and internet works fine.
Thank for your help smile

Offline

#2 2009-12-18 18:38:29

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: pacman [error: * not found in sync db]

If you check in /etc/pacman.d/, do you have a file called "mirrorlist.pacnew"?  The mirrorlist seems to have been updated, and generating a new mirrorlist solved a similar problem for me.  To see if this solves your problem, so the following:

sudo mv /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
sudo -s
rankmirrors /etc/pacman.d/mirrorlist.pacnew > /etc/pacman.d/mirrorlist
exit #signs you out of root shell

Then run:

sudo pacman -Syy

And see if that solves your problem.

This will move your mirrorlist file to mirrorlist.bak (just in case the problem lies elsewhere), and sudo -s will log you in as root, so that you can run the rankmirrors program (will choose the fastest pacman mirrors for you), and then diverts the results into a new mirrorlist file (which is why the root permissions are required).  If this doesn't solve your problem, you can undo your changes by issuing the first command (sudo mv), with the two paths swapped (mirrorlist.bak first, the mirrorlist).

Hope that helps,
Lswest

Last edited by lswest (2009-12-18 18:39:53)


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#3 2009-12-18 19:01:53

evilzore
Member
Registered: 2009-12-18
Posts: 6

Re: pacman [error: * not found in sync db]

smile sadfully i have no 'mirrorlist.pacnew' in '/etc/pacman.d/'. But i have there mirrorlist~ so i tried it instead. But i noticed all repositories are commented tongue so i uncommented it but problem continue neutral but i dont knew about rankmirrors now i will use it next time smile

Offline

#4 2009-12-18 20:52:08

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: pacman [error: * not found in sync db]

evilzore wrote:

smile sadfully i have no 'mirrorlist.pacnew' in '/etc/pacman.d/'. But i have there mirrorlist~ so i tried it instead. But i noticed all repositories are commented tongue so i uncommented it but problem continue neutral but i dont knew about rankmirrors now i will use it next time smile

If you do a:

sudo pacman -Syy

(force refresh of database), does the problem persist?  If it does, can you go to the mirrorlist, choose the first mirror listed there (as that's what pacman will use), and copy the URL into firefox (replacing, of course, the "$repo" variable with "extra", since that's the repo mysql is in), and check that the mysql package is actually present on the server.  If not, comment that server and try the next.

Hope that helps,
Lswest

Also, if the problem isn't solved with either of the two suggestions above, could you post the entirety of your mirrorlist file in your next reply?


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#5 2009-12-19 17:40:30

evilzore
Member
Registered: 2009-12-18
Posts: 6

Re: pacman [error: * not found in sync db]

yes i forced synchronizing with database (pacman -Syy) but nothing changed.. but i looked to the first repositary from the mirrorlist and mysql is there.. but only my pacman doesnt see it :(
here is my pacman.conf

# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository 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
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload

#
# 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
#   - URLs will have $repo replaced by the name of the current repo
#
# 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.
#
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

[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

#[community-testing]
## 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

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

and here is /etc/pacman.d/mirrorlist

 Server list generated by rankmirrors on 2009-12-18
#
# Arch Linux repository mirrorlist
# Generated on 2009-06-16
#

# Australia
Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
Server = http://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686
Server = ftp://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
Server = http://ftp.iinet.net.au/pub/archlinux/$repo/os/i686
Server = ftp://mirror.internode.on.net/pub/archlinux/$repo/os/i686
Server = http://mirror.internode.on.net/pub/archlinux/$repo/os/i686
Server = ftp://mirror.pacific.net.au/linux/archlinux/$repo/os/i686
Server = http://mirror.pacific.net.au/linux/archlinux/$repo/os/i686

# Austria
Server = ftp://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686
Server = http://gd.tuwien.ac.at/opsys/linux/archlinux/$repo/os/i686

# Belgium
Server = ftp://ftp.belnet.be/packages/archlinux/$repo/os/i686
Server = http://ftp.belnet.be/mirror/archlinux.org/$repo/os/i686

# Brazil
Server = ftp://archlinux.c3sl.ufpr.br/archlinux/$repo/os/i686
Server = http://archlinux.c3sl.ufpr.br/$repo/os/i686
Server = ftp://ftp.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
Server = http://www.las.ic.unicamp.br/pub/archlinux/$repo/os/i686
Server = http://pet.inf.ufsc.br/mirrors/archlinux/$repo/os/i686

# Bulgaria
Server = http://archlinux.igor.onlinedirect.bg/$repo/os/i686

# Canada
Server = ftp://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/i686
Server = http://mirror.csclub.uwaterloo.ca/archlinux/$repo/os/i686
Server = ftp://mirrors.portafixe.com/archlinux/$repo/os/i686
Server = http://mirrors.portafixe.com/archlinux/$repo/os/i686

# Chile
Server = ftp://mirror.archlinux.cl/$repo/os/i686

# Czech Republic
Server = ftp://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686
Server = http://ftp.sh.cvut.cz/MIRRORS/arch/$repo/os/i686

# Denmark
Server = ftp://ftp.klid.dk/archlinux/$repo/os/i686

# Estonia
Server = ftp://ftp.estpak.ee/pub/archlinux/$repo/os/i686
Server = http://ftp.estpak.ee/pub/archlinux/$repo/os/i686

# Finland
Server = ftp://mirror.archlinux.fi/$repo/os/i686
Server = http://mirror.archlinux.fi/$repo/os/i686

# France
Server = http://mir.archlinux.fr/$repo/os/i686
Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/i686
Server = ftp://mir2.archlinuxfr.org/archlinux/$repo/os/i686
Server = http://mir1.archlinuxfr.org/archlinux/$repo/os/i686
Server = http://mir2.archlinuxfr.org/archlinux/$repo/os/i686
Server = ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/i686
Server = http://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/$repo/os/i686
Server = ftp://ftp.free.fr/mirrors/ftp.archlinux.org/$repo/os/i686
Server = ftp://ftp.rez-gif.supelec.fr/Linux/archlinux/$repo/os/i686

# Germany
Server = ftp://ftp.archlinuxppc.org/i686/$repo/os/i686
Server = ftp://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
Server = http://ftp5.gwdg.de/pub/linux/archlinux/$repo/os/i686
Server = ftp://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/i686
Server = http://ftp.hosteurope.de/mirror/ftp.archlinux.org/$repo/os/i686
Server = ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/i686
Server = http://ftp-stud.hs-esslingen.de/pub/Mirrors/archlinux/$repo/os/i686
Server = ftp://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/i686
Server = http://ftp.spline.inf.fu-berlin.de/mirrors/archlinux/$repo/os/i686
erver = ftp://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686
Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686
Server = ftp://ftp.uni-bayreuth.de/pub/linux/archlinux/$repo/os/i686
Server = http://ftp.uni-bayreuth.de/linux/archlinux/$repo/os/i686
Server = ftp://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/i686
Server = http://ftp.uni-kl.de/pub/linux/archlinux/$repo/os/i686
Server = ftp://ftp.wh-stuttgart.net/archlinux/$repo/os/i686

# Great Britain
Server = ftp://mirror.lividpenguin.com/pub/archlinux/$repo/os/i686
Server = http://mirror.lividpenguin.com/pub/archlinux/$repo/os/i686
Server = http://www.mirrorservice.org/sites/ftp.archlinux.org/$repo/os/i686
Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/i686
# Greece
Server = ftp://ftp.ntua.gr/pub/linux/archlinux/$repo/os/i686
Server = http://ftp.ntua.gr/pub/linux/archlinux/$repo/os/i686
Server = ftp://ftp.otenet.gr/pub/linux/archlinux/$repo/os/i686
Server = http://ftp.otenet.gr/linux/archlinux/$repo/os/i686

# Hungary
Server = ftp://ftp.mfa.kfki.hu/pub/mirrors/ftp.archlinux.org/$repo/os/i686

# Indonesia
Server = ftp://archlinux.cbn.net.id/pub/archlinux/$repo/os/i686
erver = http://archlinux.cbn.net.id/$repo/os/i686
Server = ftp://mirror.unej.ac.id/archlinux/$repo/os/i686
Server = http://mirror.unej.ac.id/archlinux/$repo/os/i686

# Ireland
Server = ftp://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/i686
Server = http://ftp.heanet.ie/mirrors/ftp.archlinux.org/$repo/os/i686

# Israel
Server = http://mirror.isoc.org.il/pub/archlinux/$repo/os/i686

# Italy
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
erver = http://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686

# Japan
Server = ftp://ftp.yz.yamagata-u.ac.jp/pub/linux/archlinux/$repo/os/i686
Server = http://ftp.yz.yamagata-u.ac.jp/pub/linux/archlinux/$repo/os/i686

# Latvia
Server = http://archlinux.goodsoft.lv/$repo/os/i686

# Lithuania
Server = ftp://atviras.lt/archmirror/$repo/os/i686
Server = http://atviras.lt/archmirror/$repo/os/i686
# Netherlands
Server = ftp://mirror.leaseweb.com/archlinux/$repo/os/i686
Server = http://mirror.leaseweb.com/archlinux/$repo/os/i686
Server = ftp://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/i686
Server = http://ftp.nluug.nl/pub/metalab/distributions/archlinux/$repo/os/i686
Server = ftp://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/i686
Server = http://ftp.surfnet.nl/pub/os/Linux/distr/archlinux/$repo/os/i686

# New Caledonia
Server = ftp://archlinux.nautile.nc/archlinux/$repo/os/i686
Server = http://archlinux.nautile.nc/archlinux/$repo/os/i686
# Norway
Server = ftp://mirror.archlinux.no/$repo/os/i686
Server = http://mirror.archlinux.no/$repo/os/i686

# Poland
Server = ftp://mirror.icis.pcz.pl/archlinux/$repo/os/i686
Server = ftp://ftp.piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
Server = http://piotrkosoft.net/pub/mirrors/ftp.archlinux.org/$repo/os/i686
Server = ftp://ftp.pwsz.elblag.pl/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://ftp.pwsz.elblag.pl/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://unix.net.pl/archlinux.org/$repo/os/i686

# Portugal
Server = ftp://cesium.di.uminho.pt/pub/archlinux/$repo/os/i686
Server = http://cesium.di.uminho.pt/pub/archlinux/$repo/os/i686
Server = http://darkstar.ist.utl.pt/archlinux/$repo/os/i686
Server = ftp://ftp.nux.ipb.pt/pub/dists/archlinux/$repo/os/i686
Server = http://ftp.nux.ipb.pt/pub/dists/archlinux/$repo/os/i686

# Romania
Server = ftp://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/i686
Server = http://ftp.iasi.roedu.net/mirrors/archlinux.org/$repo/os/i686

# Russia
Server = http://archlinux.freeside.ru/$repo/os/i686
Server = ftp://mirror.svk.su/archlinux/$repo/os/i686
Server = http://mirror.svk.su/archlinux/$repo/os/i686
Server = http://mirror.yandex.ru/archlinux/$repo/os/i686

# Sweden
Server = ftp://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/i686
Server = http://ftp.ds.hj.se/pub/os/linux/archlinux/$repo/os/i686
Server = ftp://ftp.gigabit.nu/$repo/os/i686
Server = http://ftp.gigabit.nu/$repo/os/i686

# Switzerland
Server = ftp://archlinux.puzzle.ch/$repo/os/i686
Server = http://archlinux.puzzle.ch/$repo/os/i686
# Turkey
Server = ftp://ftp.linux.org.tr/archlinux/$repo/os/i686

# Ukraine
Server = ftp://archlinux.hell.org.ua/archlinux/$repo/os/i686
Server = http://archlinux.hell.org.ua/archlinux/$repo/os/i686
Server = ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/i686
Server = http://ftp.linux.kiev.ua/pub/Linux/ArchLinux/$repo/os/i686

# United States
Server = http://mirror.archlinux.com.ve/$repo/os/i686
Server = http://archlinux.unixheads.org/$repo/os/i686
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = http://mirror.cs.vt.edu/pub/ArchLinux/$repo/os/i686
Server = ftp://mirrors.easynews.com/linux/archlinux/$repo/os/i686
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/i686
Server = ftp://ftp.archlinux.org/$repo/os/i686
Server = http://mirrors.gigenet.com/archlinux/$repo/os/i686
Server = ftp://ftp.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://www.gtlib.gatech.edu/pub/linux/distributions/archlinux/$repo/os/i686
Server = ftp://mirrors.hosef.org/archlinux/$repo/os/i686
Server = http://mirrors.hosef.org/archlinux/$repo/os/i686
Server = ftp://ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
Server = http://distro.ibiblio.org/pub/linux/distributions/archlinux/$repo/os/i686
Server = ftp://locke.suu.edu/linux/dist/archlinux/$repo/os/i686
Server = ftp://mirror.rit.edu/archlinux/$repo/os/i686
Server = http://mirror.rit.edu/archlinux/$repo/os/i686
Server = http://schlunix.org/archlinux/$repo/os/i686
Server = http://mirror.sourceshare.org/archlinux/$repo/os/i686
Server = http://archlinux.umflint.edu/$repo/os/i686
Server = http://mirror.umoss.org/archlinux/$repo/os/i686

# Venezuela
Server = http://mirror2.archlinux.com.ve/$repo/os/i686

# Vietnam
Server = ftp://202.78.230.5/archlinux/$repo/os/i686
Server = ftp://ftp.indochinalinux.com/archlinux/$repo/os/i686
Server = ftp://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/i686
Server = http://mirror-fpt-telecom.fpt.net/archlinux/$repo/os/i686

Offline

#6 2009-12-20 22:51:01

evilzore
Member
Registered: 2009-12-18
Posts: 6

Re: pacman [error: * not found in sync db]

Ok i moved tongue i several synchronized a repository and time to time tried install mysql and WHOA it says me new notice.. BUT new problem appeared.. so i thought maybe somebody do something with it and it will work properly soon.. anyway if not i place an image what really happened smile
image.php?id=z36ktvvr7rkr&kk=-452216148

Offline

#7 2009-12-20 23:36:39

evilzore
Member
Registered: 2009-12-18
Posts: 6

Re: pacman [error: * not found in sync db]

Finally it is working smile i tried comment all Australian servers but im not sure if problem was there.. its working so im happy now smile

Offline

Board footer

Powered by FluxBB