Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Feb 2005 16:24:23 -0800
From:      Joshua Tinnin <krinklyfig@spymac.com>
To:        freebsd-questions@freebsd.org, alfredoj69@gmail.com
Subject:   Re: Firefox
Message-ID:  <200502011624.24217.krinklyfig@spymac.com>
In-Reply-To: <42000BA1.9000702@gmail.com>
References:  <f40f0e505020112372ec229d6@mail.gmail.com> <42000280.3070608@nbritton.org> <42000BA1.9000702@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 01 February 2005 03:07 pm, Aperez <alfredoj69@gmail.com> 
wrote:
> Nikolas Britton wrote:
> > Chris Hodgins wrote:
> >> Nikolas Britton wrote:
> >>> Alfredo Perez wrote:
> >>>> Hi
> >>>>
> >>>> I just updated my ports and installed Firefox. I have installed
> >>>> Firefox version 0.9.3. How can I update it to version 1.0?
> >>>>
> >>>> Thanks
> >>>>
> >>>> PS: I am running FreeBSD 5.3
> >>>
> >>> Your post is a bit ambiguous. did you have 0.9.3 on your system
> >>> and wanted to upgrade to 1.0 or did you update your ports but it
> >>> installed 0.9.3?
> >>>
> >>> What I would do:
> >>>
> >>> my ports-sup file:
> >>>
> >>> #*default host=cvsup14.us.FreeBSD.org
> >>> *default host=cvsup12.us.FreeBSD.org
> >>> #*default host=cvsup1.FreeBSD.org
> >>> #*default host=cvsup.FreeBSD.org
> >>> *default base=/var/db
> >>> *default prefix=/usr
> >>> *default release=cvs tag=.
> >>> *default delete use-rel-suffix
> >>> *default compress
> >>> ports-all
> >>>
> >>> -----------------------------
> >>>
> >>>  > su
> >>>
> >>> # cvsup -g -L 2 /root/ports-supfile
> >>> (normally i'd just run pkg_version -v |grep "<" and if needed
> >>> portupgrade after cvsuping, if I was upgrading something like
> >>> Gnome or KDE i'd exit X)
> >>> # cd /usr/ports/www/firefox
> >>> # make deinstall
> >>> # more M*
> >>> # make WITH_OPTIMIZED_CFLAGS=yes install clean
> >>> # exit
> >>>
> >>>  > rehash
> >>>  > firefox&
> >>>  > exit
> >>>
> >>
> >> Could his problem be that he has simply not fetched the index?
> >>
> >> I normally do:
> >>
> >> # cvsup -g -L2 /usr/ports-supfile
> >> ..
> >> ..
> >> # cd /usr/ports
> >> # make fetchindex
> >> # portsdb -u
> >>
> >> and then I would try reinstalling it using the method above.
> >
> > I don't think that would keep him from installing the newer version
> > after he cvsuped, system might complain or manually rebuild the
> > index but thats it. After the portupgrade problem with index and
> > how long it takes to rebuild the index I now do this now too. also
> > I run pkgdb -F or pkgdb -Fu and portsclean -C before running
> > portupgrade -arRwW and after I run portupgrade I run portsclean
> > -CDD and then clean out the old libs, that is...if portupgrade had
> > no errors. He emailed me and said he was installing it for the
> > first time, I think he just didn't do the cvsup part correctly.
>
> Okey, I just updated my ports following your instructions. I saw in
> the Makefile file that the port version is equal to 1.0 ( before was
> equal to 0.9). Now, what should I do next::
>
> Desinstall Firefox and install it again and then I run pkgdb
>
> or
>
> First run pkgbd and then install Firefox

# cd /usr/ports/www/firefox && make deinstall && make clean
# make && make install && make clean

Alternately:

# cd /usr/ports/www/firefox && make deinstall && make reinstall

... but I suggest the first way, as it would be sure to clean out 
everything first before rebuilding.

The pkgdb stuff will be done automatically.

- jt



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502011624.24217.krinklyfig>