opensubscriber
   Find in this group all groups
 
Unknown more information…

o : oscar-users@lists.sourceforge.net 20 November 2009 • 7:50AM -0500

[Oscar-users] Trouble with "oscar-config --bootstrap"
by Tena Sakai

REPLY TO AUTHOR
 
REPLY TO GROUP






Hi folks,

I am having a problem installing oscar for the first time.
I followed the installation guide pretty close, but at the point where I
typed "oscar-config --bootstrap" it got upset.

Here's what I did in nutshell.  I got ubuntu 8.0.4 installed on the head and
got both eht0 and eth1 configured as described.  Then followed what's on
chapter 3 of the guide.  In my case, 3.3.2:

I added
  deb http://bison.csm.ornl.gov/repos/debian-4-i386/ etch /
to /etc/apt/sources.list.
Issued:
  aptitude update
And
  apt-get install oscar
Both of which ended with exit status of 0.
Then, I typed:
  oscr-config --supported-distros
Which returned:
  ubuntu-8-x86_64 ubuntu-8-i386 debian-4-x86_64 debian-4-i386
redhat-el-5-x86_64 redhat-el-5-i386 centos-5-x86_64 centos-5-i386

I was a bit surprised because the line I added to /etc/apt/sources.list did
not say ubuntu-anything.  It said debian-4-i386.  Then I issued:
  oscar-config --setup-distro ubunto-8-i386
which again finished with exit status of 0.  Then it was time for fatal
moment:
  oscar-config --bootstrap
returned with exit status of 9.  Here are barfing lines:
  ERROR: Impossible to get the default repository for ubuntu-804-i386 at
/usr/share/perl5/OSCAR/Bootstrap.pm line 391
  ERROR: Impossible to generate the default OSCAR url file (ubuntu-804-i386)
at /usr/share/perl5/OSCAR/Bootstrap.pm line 391
  ERROR: Impossible to generate default url files in /tftpboot at
/usr/bin/oscar-config line 93
  ERROR: Impossible to complete stage 0 of the bootstrap. at
/usr/bin/oscar-config line 95
        main::bootstrap() called at /usr/bin/oscar-config line 331
  ERROR: Impossible to bootstrap OSCAR at /usr/bin/oscar-config line 332.

I looked at the file Bootstrap.pm.  Lines 391 thru 394 read:
    if (OSCAR::PackagePath::generate_default_urlfiles ($distro_id) == -1) {
        carp "ERROR: Impossible to generate default url files in /tftpboot";
        return undef;
    }

There are only 2 files under /tftpboot that are regular file as opposed to
directory or whatever.  They are:
  /tftpboot/distro/.ubuntu-8-i386.url
And
  /tftpboot/oscar/debian-8-i386.url

The first one (minus comments) look like:
  http://us.archive.ubuntu.com/ubuntu/+hardy+main+universe+multiverse
And second:
  http://bear.csm.ornl.gov/repos/debian-4-i386/+etch+/

I don't know perl well enough to judge if it is upset because of what's in
these files or what's not in these at all.

I am thinking maybe the thing to do is to fix the line I added to
/etc/apt/sources.list file OR reissuing
  oscar-config --setup-distro
line with debian-4-i386 (instead of ubuntu-8-i386).

Can somebody please tell me if I am on the right track or about to commit
mortal error?

Also, if I am to do this, what are the things I must undo before I do so?
Obviously I need to reedit sources.list file if I am to do the first option,
but what else?

I would appreciate your sharing thoughts with me.

Thank you.

Regards,

Tena Sakai
tsakai@gall...


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Oscar-users mailing list
Oscar-users@list...
https://lists.sourceforge.net/lists/listinfo/oscar-users

Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.