You are not logged in.

#1 2009-08-22 16:39:41

trend900
Member
Registered: 2009-01-17
Posts: 14

Sometimes Pacman stops downloading at 100%

Sometimes, while im updating the system, pacman stops downloading at 100% and does not continue to download the next package in the queue, just sits there doing nothing. I have to exit using ctrl+c, and start the update process again, then portage continues downloading the rest of the packages.

This only happens in the download phase. If im downloading a lot of packages (Installing KDE or something) this can happen 3 or 4 times

Sorry for my bad english

Last edited by trend900 (2009-08-22 16:41:37)

Offline

#2 2009-08-22 16:51:19

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Sometimes Pacman stops downloading at 100%

Hello trend900!

Can you show the /etc/pacman.conf and the related mirror files in /etc/pacman.d ?
I did 4 separate mirror file for the 4 repos, and each file contains only one mirror, and it works fine.

Offline

#3 2009-08-22 17:06:35

trend900
Member
Registered: 2009-01-17
Posts: 14

Re: Sometimes Pacman stops downloading at 100%

Sure

/etc/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)
#NoPassiveFtp
#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.
#

# 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

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

mirrorlist

#
# 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
#Server = 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
#Server = http://archlinux.mirrors.uk2.net/$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
#Server = 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
#Server = 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 = ftp://mirror.yandex.ru/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

#4 2009-08-23 02:55:02

Peasantoid
Member
Registered: 2009-04-26
Posts: 928
Website

Re: Sometimes Pacman stops downloading at 100%

trend900 wrote:

I have to exit using ctrl+c, and start the update process again, then portage continues downloading the rest of the packages.

tongue

Offline

#5 2009-08-23 05:27:57

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: Sometimes Pacman stops downloading at 100%

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

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

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

cat /etc/pacman.d/core
Server = http://ftp.tu-chemnitz.de/pub/linux/arc … e/os/i686/
cat /etc/pacman.d/extra
Server = http://ftp.tu-chemnitz.de/pub/linux/arc … a/os/i686/
cat /etc/pacman.d/community
Server = http://ftp.tu-chemnitz.de/pub/linux/arc … y/os/i686/


This one works for me well.

Offline

#6 2009-08-23 06:30:52

Xyne
Forum Fellow
Registered: 2008-08-03
Posts: 6,965
Website

Re: Sometimes Pacman stops downloading at 100%

djszapi wrote:

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

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

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

cat /etc/pacman.d/core
Server = http://ftp.tu-chemnitz.de/pub/linux/arc … e/os/i686/
cat /etc/pacman.d/extra
Server = http://ftp.tu-chemnitz.de/pub/linux/arc … a/os/i686/
cat /etc/pacman.d/community
Server = http://ftp.tu-chemnitz.de/pub/linux/arc … y/os/i686/


This one works for me well.

There is no reason to do that. You're using the same mirror for those 3 repos so you should just use the default common mirrorlist and only uncomment that server:

Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686/

"$repo" is replaced with the name of each repo automatically so I don't understand why you've done it manually, but if you really want to specify a single mirror for each repo (instead of using a common mirrorlist), you could do this instead in pacman.conf:

[core]
Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686/

[extra]
Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686/

[community]
Server = http://ftp.tu-chemnitz.de/pub/linux/archlinux/$repo/os/i686/

Even in that case I see no reason to manually change "$repo" to the relevant repo as its done automatically and just adds extra work when editing the file.

I also don't understand why you would only use a single mirror. Why not simply move that to the top of your mirrorlist and then uncomment some others beneath it? Are you worried about using another mirror if that mirror is inaccessible?




@trend900
How long do you wait before killing pacman? I occasionally notice a pause at 100% too (using powerpill, which indicates that it's a network issue and not a pacman issue), but it usually doesn't last too long.

If it happens often, try a different mirror in case it's caused by server (network) load.

Last edited by Xyne (2009-08-23 06:31:15)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#7 2009-08-23 06:35:58

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

Re: Sometimes Pacman stops downloading at 100%

djszapi wrote:

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

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

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

cat /etc/pacman.d/core
Server = http://ftp.tu-chemnitz.de/pub/linux/arc … e/os/i686/
cat /etc/pacman.d/extra
Server = http://ftp.tu-chemnitz.de/pub/linux/arc … a/os/i686/
cat /etc/pacman.d/community
Server = http://ftp.tu-chemnitz.de/pub/linux/arc … y/os/i686/


This one works for me well.

Woah, that is really old-style configuration... I don't recommend doing that. I'm with Xyne.

Offline

#8 2009-08-23 12:25:58

trend900
Member
Registered: 2009-01-17
Posts: 14

Re: Sometimes Pacman stops downloading at 100%

Peasantoid wrote:
trend900 wrote:

I have to exit using ctrl+c, and start the update process again, then portage continues downloading the rest of the packages.

tongue

Ups... sorry. Ex gentoo user big_smile

I will try using the config that Xyne posted. Thanks guys!

Offline

Board footer

Powered by FluxBB