You are not logged in.

#1 2010-08-25 00:05:58

market
Member
Registered: 2010-08-24
Posts: 8

Pacman fails or is slow in downloading. [SOLVED]

Arch64 just installed via ftp server.
After successfully connecting using a wireless usb, I try using the command "pacman -Sy" and get this:

Synchronizing package database...
core is up to date
warning: resuming download of extra.db.tar.gz not possible; starting over
error: failed retrieving file 'extra.db.tar.gz' from mirror.umoss.org        227.4k     2.0k/s  *percentage stopped at 49%*
error: failed to update extra (failed to retrieve some files)
warning: resuming download of community.db.tar.gz not possible; starting over
community      395.8k 1.9k/s *100%, first successful sync of anything after many tries!*

I've switched between a dozen different mirrors including ones that I know are not throttled.
The problem is only occurring on this Arch64 computer but my i686 laptop runs pacman just fine.

If there are any logs or more information I should post, please instruct me on what I should do. smile

---
EDIT:
Revised!

Last edited by market (2010-08-26 22:45:56)

Offline

#2 2010-08-25 07:45:28

absolutevoid
Member
From: Keralam, India
Registered: 2009-08-12
Posts: 78
Website

Re: Pacman fails or is slow in downloading. [SOLVED]

Check whether your /etc/pacman.conf has a line that specifies Architecture = auto. If yes, try using reflector to generate the mirrorlist. If you are not able to install reflector using pacman -S, download it manually from http://xyne.archlinux.ca/projects/reflector/ and install the same using pacman -U. Then do as specified in http://wiki.archlinux.org/index.php/Reflector

Now try pacman -Syu


Everything void is absolute and everything absolute is void.

Offline

#3 2010-08-25 09:13:10

quigybo
Member
Registered: 2009-01-15
Posts: 223

Re: Pacman fails or is slow in downloading. [SOLVED]

Instead of using reflector you can also do it manually (something I would recommend for new users), by getting a current list of mirrors from this page.

You can then use the mirror status page to make sure that the ones you are using are up to date.

Also remember to -Syy whenever you change mirrors.

All of this info can be found on the wiki.

Offline

#4 2010-08-25 12:00:37

market
Member
Registered: 2010-08-24
Posts: 8

Re: Pacman fails or is slow in downloading. [SOLVED]

Thanks! I'll give those ideas a try a little later today.

Offline

#5 2010-08-25 13:46:14

market
Member
Registered: 2010-08-24
Posts: 8

Re: Pacman fails or is slow in downloading. [SOLVED]

I've followed both suggestions and the most I can download is 1.0k/s with it failing sometimes.

Offline

#6 2010-08-25 13:50:02

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Pacman fails or is slow in downloading. [SOLVED]

Is your hostname set up correctly ? in rc.conf and /etc/hosts?


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#7 2010-08-25 14:09:31

market
Member
Registered: 2010-08-24
Posts: 8

Re: Pacman fails or is slow in downloading. [SOLVED]

Inxsible wrote:

Is your hostname set up correctly ? in rc.conf and /etc/hosts?

I believe so, here are the uncommented things.
Hosts:

127.0.0.1          localhost.localdomain    localhost  ai

rc.conf:

(assuming everything from locale to uselvm is not important in this situation)
HOSTNAME="ai"

wlan0="dhcp"
INTERFACES=(wlan0)

gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

NETWORK_PERSISTS="no"

DAEMONS=(syslog-ng network netfs crond)

Network also fails at startup if that's any help.

Offline

#8 2010-08-25 19:04:20

NSB-fr
Member
Registered: 2010-01-23
Posts: 45

Re: Pacman fails or is slow in downloading. [SOLVED]

Hi there,

Result of lsusb please.

What is the configuration of your wireless network ? WPA, WEP, other ?

How do you connect to your wireless network currently ? Manually by command line, netcfg ?


Carpe Diem

Offline

#9 2010-08-25 19:15:41

Cape
Member
From: Mogliano Veneto, Italy
Registered: 2008-11-15
Posts: 105

Re: Pacman fails or is slow in downloading. [SOLVED]

mmm... but Internet works good doesn't it? If so, double check your router/modem for any firewall. It happened to me that the shitty firewall of my cheap router (sitecom wl-332) was blocking powerpill/pacman+reflector from downloading....

Offline

#10 2010-08-26 22:50:53

market
Member
Registered: 2010-08-24
Posts: 8

Re: Pacman fails or is slow in downloading. [SOLVED]

Sorry, I had forgotten to come back and post my solution.
After I installed a DE with my horrible speeds, I tried activating networkmanager but it wouldn't connect.
It worked after I unplugged a bluetooth usb (I didn't install any bluetooth packages yet though).
Then I updated everything with pacman and the speeds were much better.

I'm not sure if I somehow fixed something else when doing or if the bluetooth device was interfering somehow but in any case, it still worked for me. smile

Offline

Board footer

Powered by FluxBB