> Hi William,
> Yes, you can use the following procedure to upgrade from 1.1.1 to 1.2.1 on
> Ubuntu:
> 
> 
> 1.       Stop the scheduler & db server
> a.       sudo /etc/init.d/fossology stop
> b.      sudo /etc/init.d/postgresql stop
> 2.       Remove the current install  (this will NOT remove the database or =
> repository)
> a.       For package installs, use apt-get remove fossology
> b.      For source installs, use fo-cleanold from the source tree
> 3.       Install FO 1.2.1 from sources using the steps outlined in the Ubun=
> tu 10.04 install guide<http://fossology.org/ubuntu10.04_install_guide>.

Some of this is unnecessary and confusing.
Here's a better list IMO:
========================================================================

How to upgrade a single system install
======================================

For debian package installs:
1) configure apt to point at the apt source of the new version for your 
distro version (may not even be needed depending on your situation)
2) apt-get upgrade
3) PROFIT!!!!!!

For upstream installs:
All steps as root
1) stop the scheduler using '/etc/init.d/fossology stop'
2) remove the fossology software (but not data)
 a) If you still have the build tree from the current installed version do 
"make uninstall"
 b) IF you don't have the build tree from the current installed version OR 
your current version is <1.0.0 OR you are lazy, THEN run 
"utils/fo-cleanold". (DO NOT add any options to fo-cleanold, you are just 
trying to remove the software, not the data.)
3) install the new version
 a) In the new source tree run "make;make install"
 b) run "/usr/local/lib/fossology/fo-postinstall"
4) start the scheduler using '/etc/init.d/fossology start'

NOTES:
* If you messed up an upstream install and want to start over, fo-cleanold 
has flags you can use to do that, but they will DELETE DATA so make sure 
you know what you are doing. Run 'fo-cleanold --help' for more info.
* Upgrading from an upstream install to a package install or vise versa is 
possible, but tricky. It is recommended that you stick with one or the 
other.

========================================================================

I don't know if rpm upgrades work or even if they are supposed to work, 
someone else will have to answer that.

-- 
Matt Taggart
[email protected]


_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to