drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

Cannot install chroot following Readme #37

Closed ibiris closed 10 years ago

ibiris commented 10 years ago

I am trying to install the chroot following the default instructions, on a Samsung ARM-based chromebook. Downloading and installing the tarball with chroagh seems to be completing without any problems. However the chroot installation step fails.

chronos@localhost ~/Downloads/drinkcat-chroagh-17bba37 $ sudo sh -e installer/main.sh -r arch -t xfce
Installing arch-armv7h chroot to /usr/local/chroots/arch
Fetching repository packages list...
Fetching core...
######################################################################## 100.0%
Fetching community...
######################################################################## 100.0%
Fetching extra...
######################################################################## 100.0%
Fetching alarm...
######################################################################## 100.0%
Fetching aur...
######################################################################## 100.0%
Downloading and extracting packages...
Downloading and installing bash...
######################################################################## 100.0%
Downloading and installing gawk...
######################################################################## 100.0%
Downloading and installing pacman...
######################################################################## 100.0%
Downloading and installing grep...
######################################################################## 100.0%
Downloading and installing util-linux...
######################################################################## 100.0%
tar: This does not look like a tar archive
xz: (stdin): File format not recognized
tar: Child returned status 1
tar: Error is not recoverable: exiting now
ibiris commented 10 years ago

Not an issue if the mirror repo option is used . I ran

sudo sh -e installer/main.sh -r arch -t xfce -m 'http://fi.mirror.archlinuxarm.org/armv7h/$repo' 

and the installation started.

ibiris commented 10 years ago

Sorry pressed closed by mistake. Reopening as the default instructions (without the mirror repo option) still fail.

drinkcat commented 10 years ago

Looks like one of the archlinux ARM mirrors has issues. mirror.archlinuxarm.org points to a different server on each request, depending on your location.

You could try to pin-point which server is faulty with a command like:

( set -e; for i in `seq 1 100`; do rm -f file.tar.xz; curl -v --retry 3 http://mirror.archlinuxarm.org/armv7h/core/util-linux-2.24.1-6-armv7h.pkg.tar.xz -o file.tar.xz; tar tvf file.tar.xz; done ) 2>&1 | tee log

(it doesn't fail for me, but it may from your location)

If you find out which server, please report the problem upstream (maybe here: https://github.com/archlinuxarm/PKGBUILDs/issues?state=open).

drinkcat commented 10 years ago

Going to assume this is/was a transient mirror issue. Please re-open if it happens again.