You are not logged in.

#1 2012-09-17 15:46:39

Ikbosh
Member
Registered: 2012-09-17
Posts: 8

[SOLVED] Pacstrap connection time-out

SOLUTION: Don't be a newbie like me and not know what DNS stands for. What I did to solve my problem was simply modify my /etc/resolv.conf to point to 8.8.8.8 instead of my default gateway.

G'day everyone, I apologize in advance for my lack of experience.
I understand this distribution is not for beginners, but I personally love steep learning curves as it provides the most enjoyable and interesting experience for me.
It's also the fastest way to learn.
Albeit, I have yet to even successfully install Arch!
I'm a little put off, but I've already deleted my Windows partition so now I am committed.

Anyways, so I've been following the absolutely wonderful Beginner's guide. But I seem to have made some huge mistake, or something is terribly wrong.
I'm only upto the part where it suggest typing "pacstrap /mnt base base-devel".
However when I put that command in, I am eventually returned with:

1 root@archiso ~ # pacstrap mnt base base-devel
==> Creating install root at /mnt
==> Installing packages to /mnt
warning: database file for 'core' does not exist
: : Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.aarnet.edu.au : Connection time-out
error: failed retrieving file 'core.db' from ftp.iinet.net.au : Connection time out

Etc etc. I tried using the original Mirrorlist and that gave me back 30 odd different server connection time outs. So I switched to just the Australian servers. It managed to download the 'extra' and 'community' packages when I swapped (they weren't downloading earlier either).
I've done a bit of searching (probably not enough) but I'm about to head off to sleep as it's almost midnight and I have work tomorrow. So I figured there's no harm in posting as that gives people many hours to respond. What I did find in my searching was that things like this occur when iPv6 is enabled. Unfortunately I don't have the luxury of restarting (or so I believe), because as you may have seen I'm actually trying to still install! So I'm a little stuck? Any help at all is appreciated, even if it's like

ArchLinuxPro wrote:

Get out of here, you are too noob, go look at *insert easy way to learn Arch Linux here*.

Thanks,
Aaron.

Last edited by Ikbosh (2012-09-23 16:41:37)

Offline

#2 2012-09-17 15:58:48

Durden
Member
Registered: 2011-06-19
Posts: 261

Re: [SOLVED] Pacstrap connection time-out

Are you connected to the internet? Can you ping google.com?

Offline

#3 2012-09-17 16:29:06

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Pacstrap connection time-out

Of course you can reboot. You can reboot at any point of the installation. Then mount the partitions, select a mirror and if you went pass the chroot phase, run "arch-chroot /mnt" and continue where you left off. But in your case, you didn't get to that part yet. You have yet to install a base system in which to chroot into.

What kind of internet connection do you have? Wired? Dynamic IP? Needs a username and a password? Then it might be PPPoE:

https://wiki.archlinux.org/index.php/Be … uide#Wired
https://wiki.archlinux.org/index.php/Be … e#Wireless
https://wiki.archlinux.org/index.php/Be … em_or_ISDN


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-09-17 16:33:58

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] Pacstrap connection time-out

Evidentally your internet connection is missing.

When installing from the internet connection, the procedure has several steps to establish remote core,extra and community access via internet. 

Review the pertinent steps in the initial menu items to be processed to permit your internet to be active when pacstrap is initiated.

I am assuming you are installing from remote core, extra, and community repos as allowed by the install procedure menu items.  These are selected by the kybd arrow and enabled with the space-bar.

Good luck......


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2012-09-17 17:17:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED] Pacstrap connection time-out

Ikbosh wrote:

G'day everyone,... but I've already deleted my Windows partition so now I am committed.
...
Thanks,
Aaron.

That's the spirit !  smile

I agree with lilsirecho.  What kind of network are you using (wired, or wireless)?

What are the outputs of ip link and of ip addr  ??

Last edited by ewaller (2012-09-17 17:17:48)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2012-09-17 23:26:09

Ikbosh
Member
Registered: 2012-09-17
Posts: 8

Re: [SOLVED] Pacstrap connection time-out

Damn, I knew I forgot to mention something. Before writing this post I even told myself not to forget to mention that I am connected to the internet! I am successfully able to ping both google.com and those mirrors. I am using a wired connection, through a router. Initially I was using the automatically set up connection (I didn't have to setup Eth0 or anything, worked straight out of the box) but I figured maybe setting up Eth0 would remove iPv6, however, I was wrong. I did mention that I downloaded Extra and Community packages fine, so that should have stopped people thinking I had no internet at all though tongue
Anyways,

IP Link:

 1 root@archiso ~ # ip link
1: lo: <LOOPBACK, UP, LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN mode DEFAULT
     link/loopback 00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT qlen 1000
     link/ether 90:2b:34:38:a3:53 brd ff:ff:ff:ff:ff:ff
3.wlan0: <NO-CARRIER, BROADCAST, MULTICAST, UP> mtu 1500 qdisc mq state DOWN mode DEFAULT qlen 1000
     link/ether b0:48:7a:ae:34:bb brd ff:ff:ff:ff:ff:ff

IP ADDR

 root@archiso ~ # ip addr
1: lo: <LOOPBACK, UP, LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
     inet6 ::1/228 scope host
         valid_lft forever preferred_lft forever
2: eth0: <BROADCAST, MULTICAST, UP, LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
     link/ether 90:2b:34:38:a3:53 brd ff:ff:ff:ff:ff:ff
     inet 192.168.2.232/24 brd 192.168.2.255 scope global eth0
     inet 192.168.163/24 scope global secondary eth0
     inet fe80:922b:34ff:fe38:a353/64 scope link
        valid_lft forever preferred_lft forever

That ip addr result is interesting, I take it that global eth0 is the automatically set up one? As I do not recognize configuring that IP address. I do recall however configuring that second one, although for the subnet I put in 255.255.255.0 (as this is what I generally know a subnet mask to be due to my windows experience). For reference, my default gateway should be 192.168.2.155 (I did set that up when doing eth0).

Offline

#7 2012-09-17 23:30:23

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] Pacstrap connection time-out

Perhaps the ip addr is incorrect...................


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#8 2012-09-17 23:43:32

Ikbosh
Member
Registered: 2012-09-17
Posts: 8

Re: [SOLVED] Pacstrap connection time-out

lilsirecho wrote:

Perhaps the ip addr is incorrect...................


Removing the first IP addr does nothing unfortunately :\ and I tried re-creating eth0 to no avail.

EDIT: Oh wait, nope, now I've dropped my internet connection out! Well, I'm off to work. I'll continue this when I get home, or maybe I'll do it in a VM at work.

Last edited by Ikbosh (2012-09-18 00:10:58)

Offline

#9 2012-09-18 02:32:08

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] Pacstrap connection time-out

Perhaps your /etc/pacman.conf needs to have NEVER installed unless you are using signed packages.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#10 2012-09-18 02:47:56

ajaykumar
Member
From: India
Registered: 2010-08-04
Posts: 34
Website

Re: [SOLVED] Pacstrap connection time-out

Hi lilsirecho,

Ikbosh wrote:

I'm only upto the part where it suggest typing "pacstrap /mnt base base-devel".
However when I put that command in, I am eventually returned with:

1 root@archiso ~ # pacstrap mnt base base-devel
==> Creating install root at /mnt
==> Installing packages to /mnt
warning: database file for 'core' does not exist
: : Synchronizing package databases...
error: failed retrieving file 'core.db' from mirror.aarnet.edu.au : Connection time-out
error: failed retrieving file 'core.db' from ftp.iinet.net.au : Connection time out

As lkbosh says, he is stuck up at pacstrap /mnt base base-devel

And he is able to download community packages. So, I guess its nothing to do with /etc/pacman.conf.

If at all its possible to download packages from outside his computer, he can create a local repository of packages in his system and install the base base-devel packages. That would be the finest solution, it at all if he is unable to connect to any of the core repos, I guess.


With regards,
Ajay Kumar G


With regards,
Ajay Kumar G
Nanos Gigantum Humeris Insidentis

Offline

#11 2012-09-18 04:06:54

Ikbosh
Member
Registered: 2012-09-17
Posts: 8

Re: [SOLVED] Pacstrap connection time-out

Still another 7 hours till I get home from work tongue Although, I started Arch up into a VM environment and had no issues installing base and base-devel. Albeit, this is at a different network. But I followed the exact same steps that I did before, so it's definitely not a mistake in regards to following the beginners guide. However it's quite possible it does not like my network setup at home, so what I might try doing is fiddling around with the network settings of my router, I've always known there has been something wrong (as I've never been able to correctly port forward, and the default gateway is very weird, it's probably something to do with my DHCP settings). So I'll fiddle around with that when I get home by booting into an Ubuntu LiveCD, then I'll go back into Arch and I'll start over again. So we'll see how that goes! I do appreciate the effort you have all put in so far, seriously, thanks for being such a great community, I feel very welcomed here.

Offline

#12 2012-09-18 04:57:39

ajaykumar
Member
From: India
Registered: 2010-08-04
Posts: 34
Website

Re: [SOLVED] Pacstrap connection time-out

Hi lkbosh,

Ikbosh wrote:

Although, I started Arch up into a VM environment and had no issues installing base and base-devel.

I think you can use those installed packages in order to install into your home computer. Please go through the following link
Custom Local Repository - Howto

I think it might help you in easy-install smile

With regards,
Ajay Kumar G


With regards,
Ajay Kumar G
Nanos Gigantum Humeris Insidentis

Offline

#13 2012-09-18 05:37:06

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Pacstrap connection time-out


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#14 2012-09-18 07:25:46

plustwo
Member
From: South Africa, ZA
Registered: 2012-09-13
Posts: 32

Re: [SOLVED] Pacstrap connection time-out

can you ping google.com?
you might also check your /etc/resolve.conf.
and are going through a proxy perhaps?

tnx

Offline

#15 2012-09-18 08:44:42

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: [SOLVED] Pacstrap connection time-out

You can ping the server, but you cannot download from it, right? What does "wget mirror.aarnet.edu.au" tell you? Are you using the latest install medium? We have a new one in September.

Offline

#16 2012-09-18 08:56:45

Ikbosh
Member
Registered: 2012-09-17
Posts: 8

Re: [SOLVED] Pacstrap connection time-out

ajaykumar wrote:

Hi lkbosh,

Ikbosh wrote:

Although, I started Arch up into a VM environment and had no issues installing base and base-devel.

I think you can use those installed packages in order to install into your home computer. Please go through the following link
Custom Local Repository - Howto

I think it might help you in easy-install smile

With regards,
Ajay Kumar G

Unfortunately there's no way for me to connect to this VM remotely from home. Our work network is locked up pretty tight.

DSpider wrote:

Or try the link above that: https://wiki.archlinux.org/index.php/Pa … _USB_stick

I'd do that, but I'm too far away from getting a running Arch linux inside my VM (Ended up having to do work most of the day tongue), let alone enough time to configure Guest Additions smile

plustwo wrote:

can you ping google.com?
you might also check your /etc/resolve.conf.
and are going through a proxy perhaps?

tnx

Prior to deleting

inet 192.168.2.232/24 brd 192.168.2.255 scope global eth0

I was able to ping google. My "/etc/resolve.conf" pointed to my router and there are definitely no proxies that I'm going through.

Off topic: Also, I just found out they are allowing pre-loading of Borderlands 2 D:
I think I might have to just grab another SSD from here at work and use that for Linux.
Because I deleted Windows 8 off my current SSD because it was being an arse and not letting CFDISK or Parted or GParted (Ubuntu Live) from seeing the partitions (I gave Arch ~10GB to mess with on the SSD and ~100GB on my HDD).

Last edited by Ikbosh (2012-09-18 08:57:12)

Offline

#17 2012-09-18 14:29:43

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] Pacstrap connection time-out

Perhaps running pacman -Syy will establish the core and extra sync database before running pacstrap.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#18 2012-09-18 15:30:01

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Pacstrap connection time-out

https://wiki.archlinux.org/index.php/Be … de#Mirrors

Note: Some issues have been reported in the Arch Linux forums regarding network problems that prevent pacman from updating/synchronizing repositories (see [1] and [2]). When installing Arch Linux natively, these issues have been resolved by replacing the default pacman file downloader with an alternative (see Improve Pacman Performance for more details).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#19 2012-09-18 17:50:07

noodles
Member
Registered: 2010-07-18
Posts: 23

Re: [SOLVED] Pacstrap connection time-out

Good Day to all
Another noob having the same issue here since the weekend.

I can ping any website I can think of so I guess my network works.
Have no other OS on the machine, and booted off an install CD that I downloaded and burned archlinux-2012.09.07-dual.iso to on Saturday.
I have also tried booting off the USB with same iso and have what appears to be the exact same issue.

If I do

 pacstrap /mnt base base-devel 

with default /etc/pacman.d/mirrorlist then I get

 warning : database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: datavase file for 'community does not exist
:: Synchronizing package databases...
error: failed retrieving file for 'core.db' from mirror.us.leaseweb.net : connection time-out

and so on for all servers listed in mirrorlist.

If I edit mirrorlist to point to local servers I same error.

If I uncomment the line #XferCommand = /usr/bin/wget -c --passive-ftp -c %u  in /etc/pacman.conf to use wget I get

 sh: /user/bin/wget: No such file or directory 

And I am too dumb to figure out if wget is in some other directory on the boot CD. tongue
So I thought I try and see if it is hiding somewhere:

 root@archiso # wget
wget will not execute and completion _wget exists. 

Thinking of chickens and eggs here....

Last edited by noodles (2012-09-18 17:55:54)

Offline

#20 2012-09-18 17:53:14

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] Pacstrap connection time-out

What happens if you do pacman -Syy


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#21 2012-09-18 17:59:11

noodles
Member
Registered: 2010-07-18
Posts: 23

Re: [SOLVED] Pacstrap connection time-out

seems to be the same thing.

 
root@archiso /# pacman -Syy
warning : database file for 'core' does not exist
warning: database file for 'extra' does not exist
warning: database file for 'community does not exist
:: Synchronizing package databases...
error: failed retrieving file for 'core.db' from mirror.us.leaseweb.net : connection time-out

Offline

#22 2012-09-18 18:00:41

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] Pacstrap connection time-out

What condition is /etc/pacman.conf regarding signed packages?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#23 2012-09-18 18:04:45

noodles
Member
Registered: 2010-07-18
Posts: 23

Re: [SOLVED] Pacstrap connection time-out

I guess you mean 'SigLevel'?
I have not changed /etc/pacman.conf.
Uncommented Siglevels are all 'PackageRequired'

Offline

#24 2012-09-18 18:08:05

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: [SOLVED] Pacstrap connection time-out

I recently did the new .iso and used Never for all packages and found that pacman.conf became reverted to signed condition during the procedure.  So I reset to Never and ran pacman Syy to get the databases established.

Perhaps this will work to get past the hang-up.

EDIT:  Never in four places...........

Last edited by lilsirecho (2012-09-18 18:13:24)


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#25 2012-09-18 18:13:58

noodles
Member
Registered: 2010-07-18
Posts: 23

Re: [SOLVED] Pacstrap connection time-out

I've set 'SigLevel = Never' for core,extra and community in /etc/pacman.conf and get the same timeout.

EDIT: Just saw your edit. I have 'Never' in 3 places.

Last edited by noodles (2012-09-18 18:53:20)

Offline

Board footer

Powered by FluxBB