You are not logged in.

#1 2011-08-13 20:27:59

jgreen1tc
Member
From: St. Louis
Registered: 2011-05-16
Posts: 251

Seems like I have a problem with wget?

I discovered this problem when I couldn't connect to the AUR anymore

When trying -Syua:

$ yaourt -Syua
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
error: failed retrieving file 'archlinuxfr.db' from repo.archlinux.fr : No address record
error: failed to update archlinuxfr (No address record)
Foreign packages: | 8 / 8

When trying a single package (ttf-ms-fonts in this example):

wget: unable to resolve host address “downloads.sourceforge.net”
==> ERROR: Failure while downloading andale32.exe
    Aborting...
==> ERROR: Makepkg was unable to build ttf-ms-fonts.

It seems similar to this post in a way, but I can get packages from core, extra, community, and multilib. I only have problems with archlinuxfr. But I think the main part that makes it similar is wget does not seem to be working.

Some stuff from wgetpaste /etc/pacman.conf --debug

+ [[ 1 -gt 1 ]]
+ shift
+ post=code
+ [[ -n '' ]]
+ WGETARGS=--post-file=/tmp/wgetpaste.Fywff3
+ WGETARGS='--tries=5 --timeout=60 --post-file=/tmp/wgetpaste.Fywff3'
+ geturl needstdout
+ local regex
+ regex=REGEX_URL_pocoo
+ [[ -n '' ]]
+ [[ needstdout = needstdout ]]
+ return 1
+ [[ -n 0 ]]
++ LC_ALL=C
++ wget -O - --tries=5 --timeout=60 --post-file=/tmp/wgetpaste.Fywff3 http://paste.pocoo.org/
+ OUTPUT='--2011-08-13 15:15:13--  http://paste.pocoo.org/
Resolving paste.pocoo.org... failed: Name or service not known.
wget: unable to resolve host address `paste.pocoo.org'\'''
+ [[ -f /tmp/wgetpaste.Fywff3 ]]
+ [[ -n 0 ]]
+ echo 'Left temporary file: "/tmp/wgetpaste.Fywff3" alone for debugging purposes.'
Left temporary file: "/tmp/wgetpaste.Fywff3" alone for debugging purposes.
++ geturl '--2011-08-13 15:15:13--  http://paste.pocoo.org/
Resolving paste.pocoo.org... failed: Name or service not known.
wget: unable to resolve host address `paste.pocoo.org'\'''
++ local regex
++ regex=REGEX_URL_pocoo
++ [[ -n '' ]]
++ [[ needstdout = --2011-08-13 15:15:13--  http://paste.pocoo.org/
Resolving paste.pocoo.org... failed: Name or service not known.
wget: unable to resolve host address `paste.pocoo.org' ]]
++ sed -n -e 's|^.*Location: \(http://[^ ]*\).*$|\1|p'
+ URL=
+ verifyurl
+ local t
+ [[ -z '' ]]
+ [[ -n 0 ]]
+ die 'Apparently nothing was received. Perhaps the connection failed.
--2011-08-13 15:15:13--  http://paste.pocoo.org/
Resolving paste.pocoo.org... failed: Name or service not known.
wget: unable to resolve host address `paste.pocoo.org'\'''
+ echo 'Apparently nothing was received. Perhaps the connection failed.
--2011-08-13 15:15:13--  http://paste.pocoo.org/
Resolving paste.pocoo.org... failed: Name or service not known.
wget: unable to resolve host address `paste.pocoo.org'\'''
Apparently nothing was received. Perhaps the connection failed.
--2011-08-13 15:15:13--  http://paste.pocoo.org/
Resolving paste.pocoo.org... failed: Name or service not known.
wget: unable to resolve host address `paste.pocoo.org'
+ exit 1

This post in particular caught my attention because I did have some issues with my router before. I couldn't browse through any browser, but could ping/upgrade with pacman. Disabling IPv6 fixed it to where I can browse, but I still haven't figured out this issue.

Thanks for reading, and please excuse my ignorance. Let me know if any more info is needed.

Last edited by jgreen1tc (2011-12-21 19:39:34)

Offline

#2 2011-08-15 06:13:46

williamkray
Member
Registered: 2010-11-06
Posts: 64

Re: Seems like I have a problem with wget?

I remember having issues retrieving packages from that repository when I had it enabled.  Don't remember what I needed it for.  Anyhow, does wget work for other things? Like when you use it on its own? If so i would guess it is probably the repository that is broken and not your wget.

Offline

#3 2011-08-15 06:59:13

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Seems like I have a problem with wget?

It may quite well be archlinuxfr. I don't use it any more since about a year but I remember similar issues every now and then.
Are you able to connect to the AUR at all (besides archlinuxrf - comment this one in pacman.conf for a test)?


To know or not to know ...
... the questions remain forever.

Offline

#4 2011-08-15 08:11:26

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Seems like I have a problem with wget?

That's a problem with *DNS*, not a problem specifically with wget.

Offline

#5 2011-08-19 14:19:55

jgreen1tc
Member
From: St. Louis
Registered: 2011-05-16
Posts: 251

Re: Seems like I have a problem with wget?

brebs wrote:

That's a problem with *DNS*, not a problem specifically with wget.

I see. I was leaning towards something like that. Unfortunately, I can't look into what is going on atm since I moved back into my dorm. I certainly don't have the problem anymore though. I'll mark this thread as solved for now.

edit: un-marked as solved so mynameisneo can work his problem out. Unfortunately I cant check to see whether or not I still have the issue.

Last edited by jgreen1tc (2011-12-21 19:41:27)

Offline

#6 2011-12-20 23:20:38

mynameisneo
Member
Registered: 2011-11-25
Posts: 45

Re: Seems like I have a problem with wget?

I am having this same exact issue, except that for me it occurs with packer. I have read that it is a DNS issue, but what is the fix?

Last edited by mynameisneo (2011-12-20 23:20:51)

Offline

#7 2011-12-21 01:13:46

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Seems like I have a problem with wget?

Change DNS servers or change mirrors.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#8 2011-12-21 17:42:47

mynameisneo
Member
Registered: 2011-11-25
Posts: 45

Re: Seems like I have a problem with wget?

I am connecting wirelessly through a router. I added the following lines to my /etc/resolv.conf:

nameserver 2001:4860:4860::8888
nameserver 2001:4860:4860::8844

However, this resulted in loss of connection.

My mirror is currently:

Server = ftp://archlinux.supsec.org/pub/linux/arch/$repo/os/$arch

This is my error:


sudo packer -S netwmpager
Resolving ftp.at.gnucash.org... failed: Name or service not known. 
wget: unable to resolve host address 'gtp.at.gnucash.org'
==> ERROR: Failure while downloading netwmpager-1.11.tar.bz2
Aborting...
The build failed. 
fsckd wrote:

Change DNS servers or change mirrors.

Offline

#9 2011-12-21 20:19:19

mynameisneo
Member
Registered: 2011-11-25
Posts: 45

Re: Seems like I have a problem with wget?

It seems like the problem was with makepkg. I edited my /etc/makepkg.conf to change my DLAGENT from wget to curl and downloading from the AUR with packer works properly now.

I commented out the lines with wget and replaced them with the following:

#Curl as default DLAGENT
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
          'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
          'rsync::/usr/bin/rsync -z %u %o'
          'scp::/usr/bin/scp -C %u %o')

Offline

Board footer

Powered by FluxBB