You are not logged in.

#1 2011-08-10 18:56:38

piyushbhatt
Member
From: Bangalore
Registered: 2009-04-18
Posts: 65

[Solved]Not able to use wget and hence pacman and yaourt not working.

Like this
I get following message when i try to update Arch linux Box.

$ yaourt -Syu --aur 
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from archlinux.limun.org : No address record
error: failed retrieving file 'core.db' from [url=ftp://ftp.heanet.ie]ftp.heanet.ie[/url] : No address record
error: failed retrieving file 'core.db' from mirrors4.kernel.org : No address record
error: failed retrieving file 'core.db' from mirror.yandex.ru : No address record
error: failed retrieving file 'core.db' from mirror.mocker.org : No address record
error: failed retrieving file 'core.db' from archlinux.nautile.nc : No address record
$ sudo pacman -Syu
:: Synchronizing package databases...
error: failed retrieving file 'core.db' from archlinux.limun.org : No address record
error: failed retrieving file 'core.db' from [url=ftp://ftp.heanet.ie]ftp.heanet.ie[/url] : No address record
error: failed retrieving file 'core.db' from mirrors4.kernel.org : No address record
error: failed to update core (No address record)
error: failed retrieving file 'extra.db' from archlinux.limun.org : No address record
error: failed retrieving file 'extra.db' from [url=ftp://ftp.heanet.ie]ftp.heanet.ie[/url] : No address record
error: failed retrieving file 'extra.db' from mirrors4.kernel.org : No address record
error: failed to update extra (No address record)
error: failed retrieving file 'community.db' from archlinux.limun.org : No address record
error: failed retrieving file 'community.db' from [url=ftp://ftp.heanet.ie]ftp.heanet.ie[/url] : No address record
error: failed retrieving file 'community.db' from mirrors4.kernel.org : No address record
error: failed to update community (No address record)
error: failed retrieving file 'multilib.db' from archlinux.limun.org : No address record
error: failed retrieving file 'multilib.db' from [url=ftp://ftp.heanet.ie]ftp.heanet.ie[/url] : No address record
error: failed retrieving file 'multilib.db' from mirrors4.kernel.org : No address record
error: failed to update multilib (No address record)
error: failed to synchronize any databases

When i try wget www.google.com

$wget [url=http://www.google.com]www.google.com[/url]
--2011-08-11 00:20:03--  [url]http://www.google.com[/url]/
Resolving [url=http://www.google.com]www.google.com[/url]... failed: Name or service not known.
wget: unable to resolve host address “www.google.com”

But wget -4 works

$ wget -4 [url=http://www.google.com]www.google.com[/url]
--2011-08-11 00:20:27--  [url]http://www.google.com[/url]/
Resolving [url=http://www.google.com]www.google.com[/url]... 74.125.93.105, 74.125.93.106, 74.125.93.147, ...
Connecting to [url=http://www.google.com]www.google.com[/url]|74.125.93.105|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: [url]http://www.google.co.in[/url]/ [following]
--2011-08-11 00:20:29--  [url]http://www.google.co.in[/url]/
Resolving [url=http://www.google.co.in]www.google.co.in[/url]... 74.125.93.103, 74.125.93.104, 74.125.93.105, ...
Reusing existing connection to [url=http://www.google.com:80]www.google.com:80[/url].
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “index.html.5”
    [ <=>                                   ] 10,735      --.-K/s   in 0.03s   
2011-08-11 00:20:30 (359 KB/s) - “index.html.5” saved [10735]

It seems that it is some ipv6 vs ipv4 problem.
I have put alias net-pf-10 off in my modprobe.conf also to disable ipv6.But issue is still there.

$ cat /etc/modprobe.d/modprobe.conf 
#
# /etc/modprobe.d/modprobe.conf (for v2.6 kernels)
#
# disable autoload of ipv6
alias net-pf-10 off

I use wdial to login to internet using a wireless USB connection.

Can someone help me to resolve this issue?

Last edited by piyushbhatt (2011-08-19 19:10:22)

Offline

#2 2011-08-10 19:06:42

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

Re: [Solved]Not able to use wget and hence pacman and yaourt not working.

When pasting code, please use [ code ] tags https://bbs.archlinux.org/help.php#bbcode

like this

It makes the code more readable and more convenient to scroll through.

Offline

#3 2011-08-10 19:55:24

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved]Not able to use wget and hence pacman and yaourt not working.

Somehow yaourt and pacman seem to try to use IPv6 though? Pacman doesn't use wget by default btw, you can modify the transfer command in /etc/pacman.conf, try using wget -4 there and see where that gets you?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2011-08-11 13:30:18

piyushbhatt
Member
From: Bangalore
Registered: 2009-04-18
Posts: 65

Re: [Solved]Not able to use wget and hence pacman and yaourt not working.

I used

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

in pacman.conf .
Now i get a different error message "scheme missing".I think now it is able to download core.db file but have some issue still accepting it.

 sudo pacman -Syu
:: Synchronizing package databases...
/var/lib/pacman/sync/core.db.part: Scheme missing.
--2011-08-11 18:56:48--  http://archlinux.limun.org/core/os/x86_64/core.db
Resolving archlinux.limun.org... 85.31.186.195
Connecting to archlinux.limun.org|85.31.186.195|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 36638 (36K), 51 remaining [text/plain]
Saving to: “core.db”

100%[++++++++++++++++++++++++++++++++++++++>] 36,638      --.-K/s   in 0s      

2011-08-11 18:56:48 (5.40 MB/s) - “core.db” saved [36638/36638]

FINISHED --2011-08-11 18:56:48--
Downloaded: 1 files, 36K in 0s (3.79 GB/s)
/var/lib/pacman/sync/extra.db.part: Scheme missing.
--2011-08-11 18:56:48--  http://archlinux.limun.org/extra/os/x86_64/extra.db
Resolving archlinux.limun.org... 85.31.186.195
Connecting to archlinux.limun.org|85.31.186.195|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

/var/lib/pacman/sync/community.db.part: Scheme missing.
--2011-08-11 18:56:49--  http://archlinux.limun.org/community/os/x86_64/community.db
Resolving archlinux.limun.org... 85.31.186.195
Connecting to archlinux.limun.org|85.31.186.195|:80... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 458982 (448K), 367 remaining [text/plain]
Saving to: “community.db”

100%[++++++++++++++++++++++++++++++++++++++>] 458,982     --.-K/s   in 0s      

2011-08-11 18:56:50 (41.8 MB/s) - “community.db” saved [458982/458982]

FINISHED --2011-08-11 18:56:50--
Downloaded: 1 files, 448K in 0s (51.0 GB/s)
/var/lib/pacman/sync/multilib.db.part: Scheme missing.
--2011-08-11 18:56:50--  http://archlinux.limun.org/multilib/os/x86_64/multilib.db
Resolving archlinux.limun.org... 85.31.186.195
Connecting to archlinux.limun.org|85.31.186.195|:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

    The file is already fully retrieved; nothing to do.

:: Starting full system upgrade...
warning: hddtemp: local (0.3.beta15.46-2) is newer than extra (0.3.beta15.46-1)
warning: mplayer-vaapi: ignoring package upgrade (33161-3 => 33161-4)
 there is nothing to do

Offline

#5 2011-08-11 14:31:01

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved]Not able to use wget and hence pacman and yaourt not working.

The 'scheme missing' part looks worrying. But with -4 at least it seems to sync. Are you able to browse normally?

Can you check the files in /etc/modprobe.d/ for contents?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2011-08-11 15:39:14

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved]Not able to use wget and hence pacman and yaourt not working.

"scheme missing" because it's trying to download `/var/lib/pacman/sync/community.db' rather than save it as the output of the real URL. Please double check your syntax -- you're missing an option to wget.

Offline

#7 2011-08-11 16:14:57

piyushbhatt
Member
From: Bangalore
Registered: 2009-04-18
Posts: 65

Re: [Solved]Not able to use wget and hence pacman and yaourt not working.

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

command in pacman.conf need to be

XferCommand = /usr/bin/wget -4 -c -0  %o  %u 

instead of

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

This allows me to update my system.But how can i disable ipv6 so that system wide problem of ipv6 is resolved.

Offline

#8 2011-08-11 16:18:01

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

Re: [Solved]Not able to use wget and hence pacman and yaourt not working.

piyushbhatt wrote:

But how can i disable ipv6 so that system wide problem of ipv6 is resolved.

https://wiki.archlinux.org/index.php/Disabling_IPv6

Offline

#9 2011-08-11 16:22:05

piyushbhatt
Member
From: Bangalore
Registered: 2009-04-18
Posts: 65

Re: [Solved]Not able to use wget and hence pacman and yaourt not working.

I have already done

# disable autoload of ipv6
alias net-pf-10 off

This did not resolve the issue.
I will try second method.

Offline

#10 2011-08-19 19:09:52

piyushbhatt
Member
From: Bangalore
Registered: 2009-04-18
Posts: 65

Re: [Solved]Not able to use wget and hence pacman and yaourt not working.

I just turned on my system.pacman,wget worked without doing anything .I also commented wget line in pacman.conf .

Must be a some issue due to blocking by ISP or something.

Offline

Board footer

Powered by FluxBB