You are not logged in.

#1 2011-08-21 07:31:47

pivotraze
Member
From: Missoula, MT
Registered: 2011-08-21
Posts: 113

[SOLVED] Pacman barely works...

Hey, I just started on Arch and am frusturated by one thing:

The downloads using Pacman seem to time out ALL the time or have "No address record"?

Such as when downloading reflector,, it has gone through 9 mirrors and keeps getting "No Address record" for libffi-3.0.9-1-i686.pkg.tar.gz.. Then when downloading GNOME, (which never finished...) it would freeze at around 40% on some packages, then continue to another mirror for that same package, or sometimes freeze at 97% then move onto another mirror. Is this abnormal? I would assume so. If it helps, I'm using a Realtek RTL8187 wireless card.

Last edited by pivotraze (2011-08-23 23:46:28)

Offline

#2 2011-08-21 07:39:32

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: [SOLVED] Pacman barely works...

Abnormal?  yes.  Does it happen sometimes? yes.

It is usually caused by a stale mirror list.  Sometimes those on the install media can be a bit out of date. 
Also, I've seen some firewalls create havoc with ftp transfers.

Try a new set of mirrors.  This page may be of some help.
Pick mirrors that are close to you.
See if using http versus ftp helps.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-08-21 07:44:43

pivotraze
Member
From: Missoula, MT
Registered: 2011-08-21
Posts: 113

Re: [SOLVED] Pacman barely works...

I used the updatemirrors.sh to make a new mirrorlist:

#!/bin/sh

[ "$UID" != "0" ] && su=sudo

country='United+States'
url="http://www.archlinux.org/mirrorlist/?country=$country&protocol=ftp&protocol=http&ip_version=4&use_mirror_status=on"

tmpfile=$(mktemp --prefix=-mirrorlist)

# Get latest mirror list and save to tmpfile
wget -qO- "$url" | sed 's/^#Server/Server/g' > "$tmpfile"

# Backup and replace current mirrorlist file
{ echo "Backing up the original mirrorlist..."
  $su mv -i /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.orig; } &&
{ echo "Rotating the new list into place..."

I don't know how to get it from my laptop (which arch is being installed on) to this desktop right now... Sorry haha smile

Offline

#4 2011-08-21 07:47:47

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Pacman barely works...

no address record means that your nameservers are lazy and they cannot resolve the domains

Last edited by wonder (2011-08-21 07:48:34)


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-08-21 07:52:19

pivotraze
Member
From: Missoula, MT
Registered: 2011-08-21
Posts: 113

Re: [SOLVED] Pacman barely works...

@wonder is there anything I can really do to edit that from here? I have Optimum Online.

I went into resolv.conf and set my nameservers to OpenDNS's name servers. Will that help at all?

Last edited by pivotraze (2011-08-21 08:05:17)

Offline

#6 2011-08-21 08:10:43

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [SOLVED] Pacman barely works...

Time to plug Reflector again smile


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#7 2011-08-21 08:35:12

pivotraze
Member
From: Missoula, MT
Registered: 2011-08-21
Posts: 113

Re: [SOLVED] Pacman barely works...

It seems that using aria2 and changing the nameservers every boot can fix this? Anyway to make it where dhcpcd won't change resolv.conf?

It was fine until it hit downloading Python 3.2.1... then it poops out and wont work. Download gets aborted. errorCode=2 Timeout is the reason.

The Realtek RTL8187 was fine on Ubuntu 10.10 and below, and earlier Arch's, but not lately. Anything happen with this card lately sad

Finally got reflector downloaded! I wonder if everything will work fine now haha

It seems to work... alright now. I can see it still freezes sometimes like my internet connection is being dropped but the modem doesn't report anything.

Last edited by pivotraze (2011-08-21 08:57:33)

Offline

#8 2011-08-21 17:10:44

pivotraze
Member
From: Missoula, MT
Registered: 2011-08-21
Posts: 113

Re: [SOLVED] Pacman barely works...

ahha! What fixed it was this page:
https://wiki.archlinux.org/index.php/Rtl8187_wireless

Basically, all I have to do is: iwconfig wlan0 rate 5.5M fixed

Is there anyway to make it do this every time on start of computer?

Offline

#9 2011-08-21 17:15:52

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] Pacman barely works...

You could insert the command in the /etc/rc.local file.

Offline

#10 2011-08-21 17:16:11

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Pacman barely works...

pivotraze wrote:

ahha! What fixed it was this page:
https://wiki.archlinux.org/index.php/Rtl8187_wireless

Basically, all I have to do is: iwconfig wlan0 rate 5.5M fixed

Is there anyway to make it do this every time on start of computer?

https://bbs.archlinux.org/viewtopic.php?pid=979442

Offline

#11 2011-08-21 17:26:43

pivotraze
Member
From: Missoula, MT
Registered: 2011-08-21
Posts: 113

Re: [SOLVED] Pacman barely works...

Lets see if it works next time it starts smile I'm going to try to set up splashy right now haha

Offline

Board footer

Powered by FluxBB