You are not logged in.

#1 2008-03-01 21:38:03

Jargs
Member
Registered: 2008-03-01
Posts: 13

pacman not working...

I installed Arch and the internet works, when i type "pacman -Syu" it works, but when i try and serach for any package using "pacman -Ss" it returns nothing, and when i try and install packages using "pacman -S", it says "cannot be found in sync db". Any help? Thanks.

Offline

#2 2008-03-01 21:55:44

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: pacman not working...

can you post your /etc/pacman.conf and /etc/pacman.d/mirrorlist? make sure you got a repo and server uncommented!

Offline

#3 2008-03-01 22:00:17

Jargs
Member
Registered: 2008-03-01
Posts: 13

Re: pacman not working...

#
# /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]
# 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
#
# 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
# - 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

Offline

#4 2008-03-01 22:11:36

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: pacman not working...

So what happens if you do a pacman -Syy?
Are there any files under /var/lib/pacman/sync/

Offline

#5 2008-03-01 22:14:41

Jargs
Member
Registered: 2008-03-01
Posts: 13

Re: pacman not working...

under sync there are 3 folders (core, community and extra) with nothing in them. I will go and check what pacman -Syy does now...

Offline

#6 2008-03-01 22:38:25

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: pacman not working...

yeah, I hope that solves your problem...
somehow you don't have a database, normally /var/lib/pacman/sync/repos/ are full of folder from each package with descriptions and other install files...

Offline

#7 2008-03-01 22:44:30

Jargs
Member
Registered: 2008-03-01
Posts: 13

Re: pacman not working...

Ah yes "pacman -Syy" seemed to do the trick, thank you for that, but is it a problem that i didn't have files in /var/lib/pacman/sync/repos/?

Offline

#8 2008-03-01 22:57:29

Majorix
Member
Registered: 2008-01-31
Posts: 96

Re: pacman not working...

If it was a clean install and you touched nothing, it is most likely a bug and you should report it. There is a section for bugs at the top menu.

Offline

#9 2008-03-02 10:13:59

Jack B
Member
Registered: 2006-06-27
Posts: 107
Website

Re: pacman not working...

Also, I see in your mirror that you are using the archlinux server by default (pacman basically works it's way down the list in mirrorlist until it connects).  That server is throttled, and will go very slowly.  Try moving a mirror that's near you to the top of the file.
Jack

Offline

#10 2008-03-02 11:35:55

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: pacman not working...

Have a look up here to learn more on setting the right mirrors for your configuration:
http://wiki.archlinux.org/index.php/Beg … mirrorlist
It makes a big difference speedwise!

Offline

#11 2008-03-02 12:10:33

Jargs
Member
Registered: 2008-03-01
Posts: 13

Re: pacman not working...

Yes i have a new problem now http://bbs.archlinux.org/viewtopic.php?id=44790 :S

Offline

Board footer

Powered by FluxBB