Closed tedm closed 11 years ago
I don't understand what you are talking about...
Where did you download croagh.tar.gz
from?
The instructions in README.md
say:
wget https://api.github.com/repos/drinkcat/chroagh/tarball -O chroagh.tar.gz
I got croagh.tar.gz from the above wget github.com/repos... yesterday, I may have made a typo.
Just now I did d/l chroagh.tar.gz it still won't gunzip, perhaps it is because I am in the chromos shell and you're expecting tar and other .gz extraction tools to be run under linux?
anyways, I did get tarball (61753 bytes) and it did extract to ~/Downloads/drinkcat-chroagh-9314ed1
went on to next step, and got this:
chronos@localhost ~/Downloads $ sudo sh -e installer/main.sh arch -t xfce sh: Can't open installer/main.sh
Can you build a crouton (or chroagh) that when I type sudo sh -e ~/Downloads/chroagh -t help) I see an arch target?
The reason is even if this all worked per your readme, it would wipe out my existing xfce, which is OK, as I can reinstall the ubuntu xfce with -n, but right now your readme install is not working for me.
update: OK, I see I have to clone a repo, is it this one, or the dschneider/crouton repo or either? for installer/main.sh to work?
I got croagh.tar.gz from the above wget github.com/repos... yesterday, I may have made a typo.
Just now I did d/l chroagh.tar.gz it still won't gunzip, perhaps it is because I am in the chromos shell and you're expecting tar and other .gz extraction tools to be run under linux?
I don't really understand what you are talking about, and why you are trying to gunzip
the file, while a simple tar xvf
would work. If you provide a bit more info (like, exact commands you are running and outputs), I could help.
anyways, I did get tarball (61753 bytes) and it did extract to ~/Downloads/drinkcat-chroagh-9314ed1
went on to next step, and got this:
chronos@localhost ~/Downloads $ sudo sh -e installer/main.sh arch -t xfce sh: Can't open installer/main.sh
You need to cd drinkcat-chroagh-9314ed1
before you run that command.
Can you build a crouton (or chroagh) that when I type sudo sh -e ~/Downloads/chroagh -t help) I see an arch target?
I could, but the instructions I provide are easier for me to maintain, as people directly fetch from the latest git without intervention on my side.
The reason is even if this all worked per your readme, it would wipe out my existing xfce, which is OK, as I can reinstall the ubuntu xfce with -n, but right now your readme install is not working for me.
I won't wipe out your Ubuntu chroot (is that what you are saying?). The default archlinux chroot name is alarm
, but you can specify another name with -n
, of course.
OK, making some progress, but 404 errors:
2013-05-25 09:11:57 (118 KB/s) - `/tmp/main.sh.AXr/bzip2-1.0.6-4-armv7h.pkg.tar.xz' saved [53576/53576]
--2013-05-25 09:11:57-- http://mirror.archlinuxarm.org/armv7h/core/curl-7.30.0-1-armv7h.pkg.tar.xz Resolving mirror.archlinuxarm.org... 69.55.55.2, 192.95.40.132, 137.48.187.212, ... Connecting to mirror.archlinuxarm.org|69.55.55.2|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 529176 (517K) [application/octet-stream] Saving to: `/tmp/main.sh.AXr/curl-7.30.0-1-armv7h.pkg.tar.xz'
100%[==================================================================>] 529,176 252K/s in 2.0s
2013-05-25 09:12:00 (252 KB/s) - `/tmp/main.sh.AXr/curl-7.30.0-1-armv7h.pkg.tar.xz' saved [529176/529176]
--2013-05-25 09:12:00-- http://mirror.archlinuxarm.org/armv7h/core/expat-2.1.0-2-armv7h.pkg.tar.xz Resolving mirror.archlinuxarm.org... 137.48.187.212, 128.175.60.118, 208.97.140.21, ... Connecting to mirror.archlinuxarm.org|137.48.187.212|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2013-05-25 09:12:01 ERROR 404: Not Found.
chronos@localhost ~/Downloads/drinkcat-chroagh-9314ed1 $ sudo sh -e installer/main.sh arch -t xfce /usr/local/chroots/alarm already has stuff in it! Either delete it, specify a different name (-n), or specify -u to update it. chronos@localhost ~/Downloads/drinkcat-chroagh-9314ed1 $
On the first part, I will reproduce for you and paste my commands. I used gunzip, because the tar xvf gave an error. The croagh typo may have been my typo.
Any tips on the 404 error? I'm in the US.
Suggestion:
Since you are naming your chroot alarm as the /usr/local/chroots filename, and the chroot target name is alarm as well? I recommend you make note of this, as crouton users have previously used whatever target (DE usually or core, etc.) for the chroot target name, and then a release for the chroot filename.
Also, I'm assuming the startxfce4 will is the crouton one so it will alphabetically pick up the chroot unless -n alarm (or existing chroot filename) is specified?
Any tips on the 404 error? I'm in the US.
Looks like an out-of-sync mirror to me (some files were sync'ed, some not). You could try specifying a mirror manually.
Suggestion:
Since you are naming your chroot alarm as the /usr/local/chroots filename, and the chroot target name is alarm as well? I recommend you make note of this, as crouton users have previously used whatever target (DE usually or core, etc.) for the chroot target name, and then a release for the chroot filename.
You're mixing up targets (-t
), release (-r
, only for ubuntu, irrelevant for arch) and chroot names (-n
). Targets have the same name as Ubuntu (for the ones I "ported"). Name is alarm
on arch by default, it is the release name on Ubuntu. I'll see how I can add a note about that.
Also, I'm assuming the startxfce4 will is the crouton one so it will alphabetically pick up the chroot unless -n alarm (or existing chroot filename) is specified?
Yes.
I'm closing this issue for now (topic was "typo and can't gunzip croagh.tar.gz"). Please re-open issue(s) with new topics if you have other problems. Thanks.
OK, so on that first part, I deleted my existing ~/Downloads/croagh.tar.gz and here are the commands I followed from your readme (crosh, then typed shell, then wget command):
-rw-r--r-- 1 chronos chronos 846 May 25 09:29 chroagh.tar.gz <- this is what was downloaded chronos@localhost ~/Downloads $ tar xvf chroagh.tar.gz <- this is the prompt and the tar command I typed
below are the tar errors returned:
gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now
that is odd. when I install xfce as my crouton target, it always makes /usr/local/chroots/precise as the chroot filename unless I specify something else with -r or -n
OK, so on that first part, I deleted my existing ~/Downloads/croagh.tar.gz and here are the commands I followed from your readme (crosh, then typed shell, then wget command):
-rw-r--r-- 1 chronos chronos 846 May 25 09:29 chroagh.tar.gz <- this is what was downloaded chronos@localhost ~/Downloads $ tar xvf chroagh.tar.gz <- this is the prompt and the tar command I typed
Well obviously the tarball wasn't downloaded properly. Likely a typo in the wget command.
the first typo (croagh) was hand typed. The last wget was cut and pasted, and was this:
wget https://api.github.com/repos/drinkcat/chroagh/tarball -O chroagh.tar.gz
which did download file 'tarball'
I think you mean to tar xvf tarball instead of chroagh.tar.gz ??
Also note that the github code selector shows what looks like a lower case 'o' letter, but when copied and pasted, it is either a large O letter, or zero.
Also note that the github code selector shows what looks like a lower case 'o' letter, but when copied and pasted, it is either a large O letter, or zero.
For your reference: 0
: zero, O
: big O, o
: small o.
-rw-r--r-- 1 chronos chronos 281 May 24 20:03 croagh.tar.gz chronos@localhost ~/Downloads $ gunzip croagh.tar.gz
gzip: croagh.tar.gz: not in gzip format chronos@localhost ~/Downloads $
typo is text mentions chroagh.tar.gz, file d/l is croagh.tar.gz