You are not logged in.

#1 2009-08-17 02:02:33

wlgyyk
Member
Registered: 2008-10-24
Posts: 5

problem with pacman

Ah...
type " sudo pacman -Sy"
then I got:

:: Synchronizing package databases...
error: failed retrieving file 'archiso-live.db.tar.gz' from arch-live.isawsome.net : Connection reset by peer
error: failed to update archiso-live (Connection reset by peer)

I'm not sure if I had done sth wrong with /etc/pacman.conf or /etc/pacman.d/mirrorlist

Offline

#2 2009-08-17 02:11:56

Profjim
Member
From: NYC
Registered: 2008-03-24
Posts: 658

Re: problem with pacman

Look at your /etc/pacman.conf.

Underneath the "# REPOSITORIES" line, are these lines present? Are any other unquoted lines present?

# 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

Offline

#3 2009-08-17 02:21:07

wlgyyk
Member
Registered: 2008-10-24
Posts: 5

Re: problem with pacman

This is what my pacman.conf look like:

#
# /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
#IgnorePkg   = catalyst catalyst-utils virtualbox-modules virtualbox-ose
#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.
#

#[chaox-stable]
#Server = http://repo.chaox.net/stable

#[chaox-broken]
#Server = http://repo.chaox.net/broken

[archiso-live]
#Server = http://arch-live.isawsome.net/testing/
Server = http://arch-live.isawsome.net/packages/

# 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

#[edgy]
#Server = http://kapsi.fi/~ighea/arch/edgy/

[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

#[arch-games]
#Server = http://twilightlair.net/files/arch/games/i686

# kdemod current repo
#[kdemod-core]
#Server = http://kdemod.ath.cx/repo/core/i686

#[larch5]
#Server = ftp://ftp.berlios.de/pub/larch/larch5.3/i686

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

I can't see any porblems with it. I offline-installed archiso-live several days ago and today is the first day to connect to Internet.

and this is my mirrorlist file:

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


#China
Server = http://mirrors.163.com/archlinux/$repo/os/i686

Offline

#4 2009-08-17 02:28:10

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: problem with pacman

did you try a pacman -Syy?

Offline

#5 2009-08-17 02:29:32

wlgyyk
Member
Registered: 2008-10-24
Posts: 5

Re: problem with pacman

problem resolved.
Thanks...

Offline

#6 2009-08-17 02:33:46

wlgyyk
Member
Registered: 2008-10-24
Posts: 5

Re: problem with pacman

Acecero wrote:

did you try a pacman -Syy?

I don't know why it was worng and then fine again.

However, after I opened pacman.conf and mirrorlist in leafpad and looked for a while to find if there's sth wrong, pacman -Sy again, and the problems resolved itself?!

funny.

Or because I'm not a expert user? anyway, i will learn more about arch. :-)

Offline

#7 2009-08-17 05:13:19

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: problem with pacman

It could have been a temporary network or server problem with the archiso-live repo server.

Offline

Board footer

Powered by FluxBB