You are not logged in.

#1 2014-12-03 17:34:51

shelbydz
Member
Registered: 2014-03-16
Posts: 58

[SOLVED] pacstrap /mnt base fails on glibc and man-pages

Hi all,

On a fresh 64 bit install to virtual box, pacstrap keeps failing when trying to get the base packages.

error: failed retrieving file glibc-2.20-4-x86_64.pkg.tar.xz from mirror: Operation too slow. Less than 1 bytes/sec transferred the last 10 seconds.

I get the same error with man-pages-3-75-1-any.pkg.tar.xz. At the end of the run, pacstrap fails out with:
ERROR failed to install packages to new root

All prior and subsequent packages work without problem. My exhaustive googling suggests disabling IPv6 and trying a different DNS. So I tore down the two partitions, rebooted with the ipv6.disable=1 line in the kernel. Put nameserver=8.8.8.8 at the top of my resolv.conf and restarted dhcpcd. I recreated /mnt and /mnt/boot, mounted them. I also tried putting some different, closer mirrors at the top of the mirrorlist file. Then I and reran pacstrap /mnt base.

still failed. I'm at my wits end with this thing. Ideas? Suggestions? I thought maybe I could manually add the file to the cache or adjust the timeout. But I haven't been able to figure that out.

Thanks,

Last edited by shelbydz (2014-12-05 13:41:19)

Offline

#2 2014-12-03 17:50:10

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,952

Re: [SOLVED] pacstrap /mnt base fails on glibc and man-pages

Use a different mirror.

Offline

#3 2014-12-03 17:50:54

shelbydz
Member
Registered: 2014-03-16
Posts: 58

Re: [SOLVED] pacstrap /mnt base fails on glibc and man-pages

I've tried several. All with this same result.

Offline

#4 2014-12-03 17:51:48

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,952

Re: [SOLVED] pacstrap /mnt base fails on glibc and man-pages

ah, I missed that.

The error you're getting is a connection problem. Could be bad drivers for whatever network adapter you're using, could be a failing router, etc. Try changing the adapter type in virtualbox.

Last edited by Scimmia (2014-12-03 17:52:25)

Offline

#5 2014-12-04 13:01:52

shelbydz
Member
Registered: 2014-03-16
Posts: 58

Re: [SOLVED] pacstrap /mnt base fails on glibc and man-pages

I messed around with the adapter type in VB. Changed from bridged to NAT. I also took my laptop off the dock and plugged the ethernet straight into the computer. I tried the wireless adapter. All to no avail.

Arch says the ethernet adapter is a Intel 82371AB using the i2c_piix4 module (when ethernet and bridged).

I'm trying to do this from work. Maybe Ill try from home and see if that makes a difference.

Offline

#6 2014-12-05 13:41:04

shelbydz
Member
Registered: 2014-03-16
Posts: 58

Re: [SOLVED] pacstrap /mnt base fails on glibc and man-pages

[SOLVED]

So, at least one of two things fixed the issue. I reran this whole thing from my home network, disabling IPv6, but not changing the DNS. But I also found I could change the network device type (like the simulated hardware) for the VM while it was powered off. This is in Settings -> Network -> Advanced. I switched it to something NOT Intel.

Reran the initial setup and had no issues.

Thanks for the help!

Offline

Board footer

Powered by FluxBB