Forgot to tell that rapt-2.8.11 and needs to be rebuilt.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : mardi 25 juin 2013 17:45
À : oscar-devel@lists.sourceforge.net
Objet : [PROVENANCE INTERNET] [Oscar-devel] FIXED!: RE : bootstrap on
ubuntu12.04
Hi,
I've finaly tracked the bug down and successfully bootstrapped oscar on
ubuntu-12.04!
The bug was in rapt. oscar-config --bootstrap was calling rapt with
--installroot /
Thus, rapt was thinking it was working on a cluster image while it was working
on system root......
Thanksfully, as much as I can say, no or minor damage was made to the system as
it was failing in the early steps.
Now, calling with --installroot / should have the same effect as calling
without the argument.
Note that when working with an image, the local urls are rewrittent accordingly:
file:/url => http://127.0.0.1/repo/url
At this early stage, the httpd repo is not setup, and rapt was failing. I can't
tell if it'll work when the image will be bootstrapped.
In fact, the url rewrite was failing, forgetting the /+squeeze+/ at the end of
the url when creating the temporary etc/apt/source.list ... This has to be
tested later.....
Regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : mardi 25 juin 2013 13:28
À : oscar-devel@lists.sourceforge.net
Objet : [PROVENANCE INTERNET] [Oscar-devel] RE : bootstrap on ubuntu12.04
DongInn,
I've traced the problem, but it is not yet fixed.
The problem is the following:
sudo perl -d /usr/bin/rapt --repo file:/tftpboot/oscar/debian-6-x86_64 --repo
http://bison.csm.ornl.gov/repos/unstable/debian-6-x86_64/+squeeze+/ --repo
http://us.archive.ubuntu.com/ubuntu/+precise-updates+main+universe+multiverse
--repo http://us.archive.ubuntu.com/ubuntu/+precise+main+universe+multiverse
--distro ubuntu-1204-x86_64 -y --installroot / install opkg-yume-server
--allow-unauthenticated
will create the file /etc/apt/sources.list with the following lines:
deb http://127.0.0.1/repo/tftpboot/oscar/debian-6-x86_64 .
deb http://bison.csm.ornl.gov/repos/unstable/debian-6-x86_64/ squeeze .
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main universe
multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise main universe multiverse
The 1st line is incorrect. the " squeeze " word is missing before the ending
dot....thus rapt fails to execute "chroot / /usr/bin/apt-get
--allow-unauthenticated update 1>/dev/null 2>/dev/null" at line 1359
Aside that, the verbose flag is not propagated in many places. I'll try for fix
that the best I can.
Regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : lundi 24 juin 2013 17:30
À : oscar-devel@lists.sourceforge.net
Objet : [PROVENANCE INTERNET] [Oscar-devel] RE : [PROVENANCE INTERNET] RE :
bootstrap on ubuntu12.04
DongInn,
Please, can you:
1: check that your /etc/oscar/supported_distros.txt is the latest one. (I
remember having corrected a typo).
2: rebuild rapt
3: rebuild packman
4: rebuild oscar
5: upgrade of those packages (or remove+install)
then retry
6: oscar-config --setup-distro ubuntu-1204-x86_64
7: oscar-config --debug --verbose --bootstrap
Aside that,
I've found an issue: yume can't be installed because it depends from
oscar-utils, and oscar-utils is not installed. Missing dep somewhere?
It looks like the bootstrap process tries to install yume from local repo using
dpkg -i, and fails because dpkg does'nt installs deps......wired?Regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
De : LAHAYE Olivier
Date d'envoi : lundi 24 juin 2013 16:31
À : oscar-devel@lists.sourceforge.net
Objet : [PROVENANCE INTERNET] [Oscar-devel] RE : bootstrap on ubuntu12.04
hi DongInn,
What is the result for:
chroot / /usr/bin/apt-get update
Packman is buggy in reporting the error, but in the 1st place, the true error
is that apt-get update fails for some unknown reason.
I'll try to fix the error reporting, but as I told you before, I've never done
object oriented perl programming.......So I'm not sure I can fix the bug
easily....
Regards,
Olivier.
--
Olivier LAHAYE
CEA DRT/LIST/DCSI/DIR
________________________________
De : DongInn Kim [di...@cs.indiana.edu]
Date d'envoi : vendredi 21 juin 2013 17:26
À : Devel OSCAR
Objet : [Oscar-devel] bootstrap on ubuntu12.04
Hi,
It seems that I can not still bootstrap on ubuntu 12.04 yet.
Its bootstrap log file is attached.
It seems that PackMan.pm does not work properly yet.
Regards,
--
- DongInn
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Oscar-devel mailing list
Oscar-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oscar-devel