[Sugar-devel] Install Firefox

Basanta Shrestha basanta.shrestha at olenepal.org
Thu Jun 6 05:21:05 EDT 2013


Hi Jerry this is just for the record on the list.
It worked. Thank you very much. I now have firefox working. Now I need to
make adobe_flash to work with it.
-basanta






On Mon, Jun 3, 2013 at 7:52 PM, Jerry Vonau <jvonau at shaw.ca> wrote:

> On Mon, 2013-06-03 at 14:29 +0545, Basanta Shrestha wrote:
> > It was "reading" repository information from file:///root/local but
> > packages were not installed.
> >
> >
> > On Mon, Jun 3, 2013 at 2:02 PM, Basanta Shrestha
> > <basanta.shrestha at olenepal.org> wrote:
> >
> >
> >
> >         On Mon, Jun 3, 2013 at 10:30 AM, Basanta Shrestha
> >         <basanta.shrestha at olenepal.org> wrote:
> >
> >
> >
> >                 On Sat, Jun 1, 2013 at 12:40 AM, Jerry Vonau
> >                 <jvonau at shaw.ca> wrote:
> >                         On Fri, 2013-05-31 at 11:14 +0545, Basanta
> >                         Shrestha wrote:
> >                         > Adding fedora=fedora_update and rebuilding
> >                         didn't work.
> >                         >
> >                         >
> >                         > Jerry, As you suggested it installed all the
> >                         required newer
> >                         > firefox,xulrunner and nss... packages but
> >                         the resulting image couldn't
> >                         > boot the XO. Now I am going for your second
> >                         suggestion. I have created
> >                         > a local repo for firefox, xulrunner and
> >                         other dependencies( 9
> >                         > altogether) . Could you please check if the
> >                         entries are right?
> >                         >
> >
> >
> >                         Well I'm surprised that I'm the only one to
> >                         answer this, I gave the
> >                         others ample time to respond.
> >
> >                 yes, looks like no one takes pride on answering simple
> >                 questions ;)
> >
> >                         >
> >                         > /root/local/.repo
> >                         >
> >
> >                         Where did you download the rpms to?  Was it
> >                         "/root/local/"?
> >                         Did you run "createrepo /root/local/"?
> >
> >
> >                 yes to /root/local/ and I have done createrepo.
> >
> >                         >
> >                         > ------------------
> >                         > [local]
> >                         > name=firefox-xulrunner local
> >                         > baseurl=file:///root/local/
> >                         > gpgcheck=0
> >                         > enabled=1
> >                         > ------------------
> >                         >
> >
> >
> >                         I don't understand, what are you doing with
> >                         the above code?
> >
> >                         >
> >                         >  olpc-os-12.1.0-xo1.75.ini
> >                         >
> >                         >
> >                         >
> >                         > Right below [repos] section
> >                         >
> >                         >
> >                         > ----------------------
> >                         > [custom_repo]
> >                         > local=1,firefox,file:///root/local/
> >                         > ----------------------
> >                         >
> >
> >
> >                         No, don't do that, you have to use the OOB
> >                         method of naming the repos in
> >                         [repos].
> >
> >
> >                 I was following this
> >                 documentation
> http://cainmanor.com/tech/build-a-custom-repository-for-centos/ and they
> had this extra step to create .repo file. so .
> >
> >                         [repos]
> >                         fedora_arch=i386
> >                         olpc_frozen_1=0,koji.dist-f17-i686
> >                         olpc_frozen_2=0,koji.dist-f17-i686-updates-12.1.0
> >                         olpc_frozen_3=1,local.12.1.0
> >                         olpc_frozen_4=1,local.12.1.0-xo1.5
> >                         custom_repo_1=0,firefox,file:///root/local/
> >
> add_excludes_to=koji.dist-f17-i686,koji.dist-f17-i686-updates-12.1.0
> >
> >                         When you run osbuilder.py, early into the
> >                         routine you can see the repos
> >                         being contacted, check to see if your new one
> >                         is being used or there is
> >                         an error present.
> >
> >
> >                 The repo seems to be working now it is retrieving
> >                 packages form local repo.
> >                 Thanks Jerry you have been a great help for me.
> >
> >
> >         Well it was trying to retrieving from file://root/local but it
> >         didn't install any package. Wonder what is wrong.
>
> Just like you used yum to install firefox in the field, did you ask OOB
> to install firefox? In your ini file you need to use:
>
> [custom_packages]
> add_packages=firefox
>
> Jerry
>
>
> >
> >
> >                         Jerry
> >
> >                         >
> >                         >
> >                         >
> >                         >
> >                         >
> >                         >
> >                         >
> >                         > On Fri, May 31, 2013 at 1:37 AM, Jerry Vonau
> >                         <jvonau at shaw.ca> wrote:
> >                         >         On Thu, 2013-05-30 at 15:22 +0100,
> >                         Peter Robinson wrote:
> >                         >         > On Thu, May 30, 2013 at 3:09 PM,
> >                         Daniel Drake
> >                         >         <dsd at laptop.org> wrote:
> >                         >         > > On Wed, May 29, 2013 at 11:50
> >                         PM, Peter Robinson
> >                         >         <pbrobinson at gmail.com> wrote:
> >                         >         > >> Firefox and xulrunner 17 are
> >                         the late known good (and
> >                         >         matching) builds
> >                         >         > >> for Fedora 17, you need the
> >                         major versions to be matching
> >                         >         (so
> >                         >         > >> 12/13/17) but if you were
> >                         pulling in all the latest
> >                         >         stable updates
> >                         >         > >> into the build you would have
> >                         matching ones AFAICT from
> >                         >         koji so
> >                         >         > >> there's some other issue.
> >                         >         > >
> >                         >         > > Ah yes, you are right, the
> >                         latest available versions on
> >                         >         koji are
> >                         >         > > matching (v17) and built OK. I
> >                         didn't spot them in the
> >                         >         mass of failed
> >                         >         > > builds. So the Fedora situation
> >                         is OK.
> >                         >         > >
> >                         >         > >> I'm not sure what the following
> >                         lines translate to but
> >                         >         you should
> >                         >         > >> never use the koji repositories
> >                         as repos as they contain
> >                         >         all sorts of
> >                         >         > >> randomly tagged bits that the
> >                         release repos don't.
> >                         >         > >>
> >                         >         > >>
> >                         olpc_frozen_1=0,koji.dist-f17-armv7hl
> >                         >         > >>
> >
> olpc_frozen_2=0,koji.dist-f17-armv7hl-updates-12.1.0
> >                         >         > >
> >                         >         > > Don't worry, these are not the
> >                         koji repos you are thinking
> >                         >         of. They
> >                         >         > > are OLPC's frozen versions of
> >                         fedora repos from the
> >                         >         release's freeze
> >                         >         > > date and are not directly from
> >                         koji - really we should
> >                         >         change the
> >                         >         > > naming scheme.
> >                         >         > >
> >                         >         > > And this is the cause of the
> >                         problem - upon release freeze
> >                         >         date, the
> >                         >         > > firefox/xulrunner situation was
> >                         in inconsistent state;
> >                         >         this problem
> >                         >         > > has been frozen in our repos.
> >                         >         > >
> >                         >         > > Basanta, I would advise against
> >                         adding the official
> >                         >         fedora-updates
> >                         >         > > repo into your build as has been
> >                         suggested in this thread
> >                         >         - while this
> >                         >         > > will result in a well matched
> >                         firefox/xulrunner
> >                         >         combination, it will
> >                         >         > > bring in a lot of untested
> >                         package updates that were not
> >                         >         part of the
> >                         >         > > release and have probably not
> >                         been tested on OLPC XO.
> >                         >         > >
> >                         >
> >                         >
> >                         >         That is why later in the thread I
> >                         suggested to download what
> >                         >         yum
> >                         >         installed on the XO, then create and
> >                         use a custom repo for
> >                         >         OOB.
> >                         >
> >                         >         > > Instead, create a local repo
> >                         with these 2 packages and add
> >                         >         it to your
> >                         >         > > build config:
> >                         >         > >
> >                         >
> >
> http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=109570
> >                         >         > >
> >                         >
> >
> http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=116355
> >                         >         >
> >                         >         > It will need newer nss*/nspr
> >                         builds too.
> >                         >         >
> >                         >         > Peter
> >                         >
> >                         >
> >                         >         Jerry
> >                         >
> >                         >
> >                         >
> >                         >
> >                         >
> >                         >
> >                         >
> >                         >
> >                         >
> >                         > --
> >                         > Basanta Shrestha
> >                         > Network Engineer
> >                         > Open Learning Exchange (OLE) Nepal
> >                         > Tel: +977.1.5544441, 5520075 Ext. 303
> >                         > Cell: +977.9818 605110
> >                         > http://www.olenepal.org
> >
> >
> >
> >
> >
> >
> >
> >                 --
> >                 Basanta Shrestha
> >                 Network Engineer
> >                 Open Learning Exchange (OLE) Nepal
> >                 Tel: +977.1.5544441, 5520075 Ext. 303
> >                 Cell: +977.9818 605110
> >                 http://www.olenepal.org
> >
> >
> >
> >
> >         --
> >         Basanta Shrestha
> >         Network Engineer
> >         Open Learning Exchange (OLE) Nepal
> >         Tel: +977.1.5544441, 5520075 Ext. 303
> >         Cell: +977.9818 605110
> >         http://www.olenepal.org
> >
> >
> >
> >
> > --
> > Basanta Shrestha
> > Network Engineer
> > Open Learning Exchange (OLE) Nepal
> > Tel: +977.1.5544441, 5520075 Ext. 303
> > Cell: +977.9818 605110
> > http://www.olenepal.org
>
>
>


-- 
Basanta Shrestha
Network Engineer
Open Learning Exchange (OLE) Nepal
Tel: +977.1.5544441, 5520075 Ext. 303
Cell: +977.9818 605110
http://www.olenepal.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130606/2951a164/attachment-0001.html>


More information about the Sugar-devel mailing list