[OGo-Users] Crappy docs; yum install not possible

Adam Williams users@opengroupware.org
Sun, 12 Nov 2006 11:47:10 -0500


On Sat, 2006-11-11 at 19:50 -0500, Kanwar Ranbir Sandhu wrote:
> Hi All,
> 
> I haven't posted here in a very long time - can't even remember the last
> time.
> 
> Anyway, I'm about to attempt an install on a CentOS 4 box with yum (to
> test it out, and to test an upgrade of a very old OGo server).  Let me
> say the documentation is absolute crap - it's so out of date, my head
> was spinning trying to figure out where to get the packages from, and
> what repo to configure.
> 
> So, after figuring out I wanted to install the nightly packages, I found
> the rhel4 repo.  I then setup the following for yum:
> 
> [ogo-trunk]
> name=OpenGroupware.org trunk builds
> baseurl=http://download.opengroupware.org/nightly/packages/rhel4/trunk/
> 
> [ogo-releases]
> name=OpenGroupware.org release builds
> baseurl=http://download.opengroupware.org/nightly/packages/rhel4/releases/
> 
> I go ahead and try an install, but get this error:
> 
> Setting up repositories
> http://download.opengroupware.org/nightly/packages/rhel4/releases/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found
> Trying other mirror.
> Cannot open/read repomd.xml file for repository: ogo-releases
> failure: repodata/repomd.xml from ogo-releases: [Errno 256] No more
> mirrors to try.
> Error: failure: repodata/repomd.xml from ogo-releases: [Errno 256] No
> more mirrors to try.
> Great. There's a RHEL4 repo, but there's no repo data to actually
> install it with yum.  So, now what?  Use apt-get?  I don't use that tool
> anymore; ever since Fedora Core and CentOS moved entirely to yum, that's
> all I've been using.
> How are others doing this? 

I don't mess around with 'repositories';  just grabbing and installing
the packages is trivial.  My recipe for installing OGo on a
naked/out-of-the-box SuSE 10.1 installation is -

mkdir /tmp/OGo
cd /tmp/OGo
rug install -y apache2-devel postgresql-server postgresql-devel \
               pilot-link-devel libxml2-devel ncftp libobjc \
               openldap2-devel compat-openssl097g
ncftpget -p {your e-mail address} \
  "ftp://ftp.opengroupware.org/nightly/packages/suse10-0/trunk/*latest*"
rm libfoundation10*
ln -s /usr/lib/liblber-2.3.so.0 /usr/lib/liblber-2.2.so.7
ln -s /usr/lib/libldap-2.3.so.0 /usr/lib/libldap-2.2.so.7
/sbin/ldconfig
rpm -Uvh *.rpm  #{1)

(1)Enter "no<enter>" when prompted if the database context should be
able to create additional roles.

- adjust the URL or package names for whatever distro and you should be
all set; you probably have to replace rug with whatever your distro uses
to do such things [yum].

This has proved easy and reliable for me.