Code Monkey home page Code Monkey logo

Comments (15)

drinkcat avatar drinkcat commented on August 21, 2024

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.

from chroagh.

drinkcat avatar drinkcat commented on August 21, 2024

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?

from chroagh.

drinkcat avatar drinkcat commented on August 21, 2024

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

from chroagh.

tedm avatar tedm commented on August 21, 2024

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 ?

from chroagh.

drinkcat avatar drinkcat commented on August 21, 2024

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...

from chroagh.

tedm avatar tedm commented on August 21, 2024

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.

from chroagh.

drinkcat avatar drinkcat commented on August 21, 2024

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.

from chroagh.

tedm avatar tedm commented on August 21, 2024

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.

from chroagh.

tedm avatar tedm commented on August 21, 2024

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 ;)

from chroagh.

drinkcat avatar drinkcat commented on August 21, 2024

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...

from chroagh.

drinkcat avatar drinkcat commented on August 21, 2024

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!

from chroagh.

tedm avatar tedm commented on August 21, 2024

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 ...

from chroagh.

tedm avatar tedm commented on August 21, 2024

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'
...

from chroagh.

drinkcat avatar drinkcat commented on August 21, 2024

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 .

from chroagh.

tedm avatar tedm commented on August 21, 2024

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

from chroagh.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.