You are not logged in.

#1 2004-05-08 10:35:11

Kyp
Member
From: Karlsruhe, Germany
Registered: 2004-05-08
Posts: 17

pacman -Syu freeze

Whenever i use this command, pacman starts to download the packages, but after some time pacman freezes. What can i do?

The newest pacman ist installed and sorry for my bad English.

Edit: It often happens, when a package is at 99%.


Sorry for my bad English.

Offline

#2 2004-05-08 10:54:21

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: pacman -Syu freeze

if you use a proxy, search the forum for the discussion about it


The impossible missions are the only ones which succeed.

Offline

#3 2004-05-08 11:47:11

Kyp
Member
From: Karlsruhe, Germany
Registered: 2004-05-08
Posts: 17

Re: pacman -Syu freeze

I use a Router, no Proxy.


Sorry for my bad English.

Offline

#4 2004-05-08 12:46:09

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,378
Website

Re: pacman -Syu freeze

try using wget in pacman :

add to /etc/pacman.conf

XferCommand = /usr/bin/wget -c %u


The impossible missions are the only ones which succeed.

Offline

#5 2004-05-08 20:08:36

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: pacman -Syu freeze

On a really bad connection

XferCommand = /usr/bin/wget -c %u

is sometimes not enough. If so try:

XferCommand = /usr/bin/wget -t 0 -T 10 --passive-ftp -c -O %o %u

-t 0 means wget will try to reconnect forever. If you want wget to try only 10 times, change it to -t 10
-T 10 means that wget will wait 10 seconds before recognizing the connection as dead and making a new one (while -c tries to restart download from the last position)
This set of wget options worked great for me on a very bad wireless connection. Please try to experiment with proper number of seconds for a retry because you can make wget get crazy reconnecting all the time if you set it up for -t 1 or something like that (the server administrator will not be happy also...)
If you add -a /var/log/somewgetorpacmanlogfile then wget output will get logged too.

Offline

Board footer

Powered by FluxBB