Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirrors may not have needed packages (acl) #3

Closed
tedm opened this issue May 25, 2013 · 15 comments
Closed

mirrors may not have needed packages (acl) #3

tedm opened this issue May 25, 2013 · 15 comments

Comments

@tedm
Copy link

tedm commented May 25, 2013

after getting 404 errors (with a partial initial install) with mirrors.archlinuxarm.org I tried specific non round-robin mirrors, and was able to install with ca.us.mirror.archlinuxarm.org with the -m installer option.

Ones that failed, due to the installer not finding package 'acl' were us.mirror..., and va.us.mirror.

xfce and arch are now installed and running after using -m with mirror ca.us.mirror.archlinux.arm

@drinkcat
Copy link
Owner

Looks like an outdated mirror to me (I looked at va.us.mirror.archlinux.arm, but couldn't find anything wrong). Maybe it's just transient, but if it keeps happening you should report to the mirror admin.

@drinkcat
Copy link
Owner

drinkcat commented Jun 1, 2013

It this is happening with "1/2 dozen mirror", this is not a mirror issue.

Can you run this command:

sudo sh -e -x installer/main.sh arch -t core

(note the -x, and you may wish to set a -n xxx parameter), and provide the full output?

@drinkcat
Copy link
Owner

drinkcat commented Jun 1, 2013

And provide the full input command you are using, as well.

@tedm
Copy link
Author

tedm commented Jun 1, 2013

I used the exact command above and it did appear to install. There is a chroot named alarm in usr/local/chroots, but enter-chroot or startxfce4 does not bring up alarm. (other two chroots have names > 'a'). The last few lines in the install process are these:

Swapping content of bootstrap and install root...
armv7l
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: Starting full system upgrade...
there is nothing to do
Generating locales...
en_US.UTF-8... done
Generation complete.
chronos@localhost ~/Downloads/drinkcat-chroagh-0c6d70d $

I have the whole log of the install, if you need that, let me know if you'd like it here, or a pastebin link. Thanks.

Update: I can enter the chroot with sudo enter-chroot -n alarm, but cannot start xfce with sudo startxfce4 -n alarm, or just sudo startxfce4 (with -n precise, it will start my precise chroot).

chronos@localhost /usr/local/chroots $ sudo enter-chroot -n alarm
[ted@localhost ~]$ ls
Downloads
[ted@localhost ~]$ exit
logout
Unmounting /usr/local/chroots/alarm...
chronos@localhost /usr/local/chroots $ sudo startxfce4 -n alarm
-bash: line 0: exec: startxfce4: not found
Unmounting /usr/local/chroots/alarm...
chronos@localhost /usr/local/chroots $

Update2: noticed 'core' in the line you had me input, so perhaps all is working now. If I reinstall and have mirror issues, I will make a note of the exact mirrors and their package errors, and time of day.

tip: the way I can tell I'm in arch, is df shows normal linux df output, and home only has /Downloads, while the Ubuntu home directories have various addl. directories (audio/video/pictures/documents).

Now, I'm off to get sudo working. Could this be automated at some point? Thanks.

Update3: There is no /etc/sudoers file ?

@tedm tedm closed this as completed Jun 1, 2013
@tedm tedm reopened this Jun 1, 2013
@drinkcat
Copy link
Owner

drinkcat commented Jun 1, 2013

Can you try to reproduce the mirror issue?

You can tell which OS you are in by cat /etc/os-release. sudo is not configured by default, I will do something about that...

@tedm
Copy link
Author

tedm commented Jun 1, 2013

yes, I will delete the chroot and re-install, using your readme notes, and log mirror package errors. The sudo thing is very minor for me, just a note for you, getting root and su, setting passwd are all good as is, but your readme notes on enabling sudo did work last week.

@drinkcat
Copy link
Owner

drinkcat commented Jun 1, 2013

I commited something that should help with the mirror issue. I think you may have forgotten to put single quotes (') around the mirror URL. The error message is not clear at all in that case.

The case where the URL is wrong altogether is not handled either, will find a way.

@tedm
Copy link
Author

tedm commented Jun 1, 2013

Good news is that most of the mirrors that weren't working for me yesterday, are now, I tested the first 5 on this list:

http://archlinuxarm.org/about/mirrors

and install began fine (no acl package error), and arch mirror status shows all synced, with status page not showing any out of sync ( https://www.archlinux.org/mirrors/status/ ).

After each install started, I'd cancel within a minute, delete the chroot, and try the next mirror.

First error with the acl package was this one:

nl.mirror.archlinuxarm.org failed at: 16:56 GMT

here's the error I get, and what I'm typing into crosh/shell:

chronos@localhost ~/Downloads/drinkcat-chroagh-0c6d70d $ sudo sh -e installer/main.sh arch -t xfce -m 'http://nl.mirror.archlinuxarm.org/armv7h/$repo' | tee arch7.txt
WARNING: USB booting is enabled; consider disabling it.
WARNING: Signed boot verification is disabled; consider enabling it.
You can use the following command: sudo crossystem dev_boot_usb=0 dev_boot_signed_only=1
Installing provided chroot to /usr/local/chroots/alarm
Fetching repository packages list...
Fetching core...
Fetching community...
Fetching extra...
Fetching alarm...
Fetching aur...
Downloading and extracting packages...
Cannot find package acl
chronos@localhost ~/Downloads/drinkcat-chroagh-0c6d70d $

unrelated - I believe core made the audio/video groups, but I think xfce gives the error of not making it, though I didn't complete the install. Also, do the many SHILF errors mean anything significant? Thanks.

@tedm
Copy link
Author

tedm commented Jun 1, 2013

OK, I think your patch for the acl package worked or is syncing. I've always used the single quotes with the -m parameter, and in my past experience with arch mirrors, 4 out of 5 is pretty good ;)

@drinkcat
Copy link
Owner

drinkcat commented Jun 1, 2013

OK, I think your patch for the acl package worked or is syncing. I've always used the single quotes with the -m parameter, and in my past experience with arch mirrors, 4 out of 5 is pretty good ;)

If you always put the single quotes, my patch is useless. So there is some other problem...

@drinkcat
Copy link
Owner

drinkcat commented Jun 1, 2013

Ok. Latest commit should make errors bright and clear. Would you mind trying with a few different mirrors? It should work in most cases now (or if it fails, it should be clear...)

Thanks!

@tedm
Copy link
Author

tedm commented Jun 1, 2013

Yes, I'll keep trying different mirrors and noting which are failing, but right now, it's just nl. I pinged all of the nl mirror sites:

Netherlands

#Server = http://arch.apt-get.eu/$repo/os/$arch
#Server = http://fruk.org/archlinux/$repo/os/$arch
#Server = http://mirror.i3d.net/pub/archlinux/$repo/os/$arch
#Server = http://mirror.nl.leaseweb.net/archlinux/$repo/os/$arch
#Server = http://ftp.nluug.nl/pub/os/Linux/distr/archlinux/$repo/os/$arch
#Server = http://ftp.snt.utwente.nl/pub/os/linux/archlinux/$repo/os/$arch

and get no response from the 2nd one (fruk.org - 195.191.16.17), and it is listed as being synced, at least from a few hours ago, so perhaps the round robin procedure for nl.mirror... is broken, or it is a transient thing. Will try other mirrors and post errors here throughout the weekend.

Again, most mirrors, and all I've tried in the US, are working, so unless there's something chroagh specific about the acl package / perms / name, it's probably not you, but arch mirrors ...

@tedm
Copy link
Author

tedm commented Jun 1, 2013

I'll keep trying other mirrors, but just now ( 17:56 GMT ) nl.mirror.archlinuxarm.org worked, with your latest chroagh-6c2a7d1, so either your fix worked, or the syncing or transient stuff worked out. Thanks.

I'm fine if you want to close this. We can always re-open if it re-appears.

chronos@localhost ~/Downloads/drinkcat-chroagh-6c2a7d1 $ sudo sh -e installer/main.sh arch -t xfce -m 'http://nl.mirror.archlinuxarm.org/armv7h/$repo' | tee arch9.txt
WARNING: USB booting is enabled; consider disabling it.
WARNING: Signed boot verification is disabled; consider enabling it.
You can use the following command: sudo crossystem dev_boot_usb=0 dev_boot_signed_only=1
Installing provided chroot to /usr/local/chroots/alarm
Fetching repository packages list...
Fetching core...
--2013-06-01 10:54:53-- http://nl.mirror.archlinuxarm.org/armv7h/core/
Resolving nl.mirror.archlinuxarm.org... 164.138.26.208
Connecting to nl.mirror.archlinuxarm.org|164.138.26.208|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 49837 (49K) [text/html]
Saving to: `/tmp/main.sh.nly/core.list'

100%[===============================>] 49,837 115K/s in 0.4s

2013-06-01 10:54:54 (115 KB/s) - `/tmp/main.sh.nly/core.list' saved [49837/49837]

Fetching community...
--2013-06-01 10:54:54-- http://nl.mirror.archlinuxarm.org/armv7h/community/
Resolving nl.mirror.archlinuxarm.org... 164.138.26.208
Connecting to nl.mirror.archlinuxarm.org|164.138.26.208|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 551689 (539K) [text/html]
Saving to: `/tmp/main.sh.nly/community.list'
...

@drinkcat
Copy link
Owner

drinkcat commented Jun 1, 2013

and get no response from the 2nd one (fruk.org - 195.191.16.17), and it is listed as being synced, at least from a few hours ago, so perhaps the round robin procedure for nl.mirror... is broken, or it is a transient thing. Will try other mirrors and post errors here throughout the weekend.

ArchLinux and ArchLinux ARM have a different set of mirrors (Archlinux has many more, so don't try those). Only try those listed here: http://archlinuxarm.org/about/mirrors .

@drinkcat drinkcat closed this as completed Jun 1, 2013
@tedm
Copy link
Author

tedm commented Jun 1, 2013

OK, got it. Will be sure to use only the ARM mirrors. Thanks.

drinkcat pushed a commit that referenced this issue Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants