[rt-users] Frustrating attempts to install RT3.8 from RPM

Wes Modes wmodes at ucsc.edu
Tue Nov 2 17:19:24 EDT 2010


Hello, I have been struggling with attempts to install RT3.8 via RPMs.  

I know it is perfectly possible to install RT3.8 using the BP install
scripts and docs, but I'd prefer to do it through yum for system
sustainability, ease of updates and upgrades, etc.

These instructions show how to set up a local repo and install RT from a
bundle, but for version 3.6. 

    *Installing RT 3.6.6 on Redhat Enterprise 5.x (using yum to install
    from a bundle)*
    http://wiki.bestpractical.com/view/Rhel5InstallGuide

(keep this link, because it is hard to find and all of the sometimes
contradictory RT docs look the same)

However there is a similar bundle for 3.8.7, so maybe that would work.

According to the install doc, we install a host of services first:

[root at testbench1]# yum -y update

[root at testbench1]# yum -y install httpd

[root at testbench1]# yum -y install mysql mysql-server sendmail-cf

Start these services:

[root at testbench1]# service mysqld start
Starting MySQL:                                            [  OK  ]
[root at testbench1]# service httpd start
Starting httpd:                                            [  OK  ]
[root at testbench1]# chkconfig httpd on
[root at testbench1]# chkconfig mysqld on

The docs call for downloading this bundle: 

http://www.jwhite3.com/files/rt/rt-3.6.6-bundle.tar.gz

but we are going to be downloading the 3.8.7 bundle

[root at testbench1]# cd
[root at testbench1]# pwd
/root
[root at testbench1]# mkdir rt3
[root at testbench1]# cd rt3
[root at testbench1]# wget http://www.jwhite3.com/files/rt/rt_3.8.7_bundle.zip
--2010-10-29 16:18:39--  http://www.jwhite3.com/files/rt/rt_3.8.7_bundle.zip
Resolving www.jwhite3.com <http://www.jwhite3.com>... 97.74.144.177
Connecting to www.jwhite3.com|97.74.144.177|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38577186 (37M) [application/zip]
Saving to: `rt_3.8.7_bundle.zip'

100%[============================================>] 38,577,186  4.87M/s   in 7.8s    

2010-10-29 16:18:47 (4.72 MB/s) - `rt_3.8.7_bundle.zip' saved [38577186/38577186]

Unpack:

[root at testbench1]# unzip rt_3.8.7_bundle.zip          
Archive:  rt_3.8.7_bundle.zip
  inflating: install.sh              
  inflating: Modules.tar.gz          
  inflating: rt-3.8.7.tar.gz         
  inflating: rt.repo                 
  inflating: rt_repo.tar.gz         

set up yum repo file:

[root at testbench1]# ls
install.sh      rt_3.8.7_bundle.zip  rt.repo
Modules.tar.gz  rt-3.8.7.tar.gz      rt_repo.tar.gz

[root at testbench1]# cp rt.repo  /etc/yum.repos.d/

[root at testbench1]# vi /etc/yum.repos.d/rt.repo

[rt-387-local]
name=Request Tracker - $basearch
baseurl=file://opt/rt_repo/$basearch/
enabled=1
gpgcheck=0

[rt-387-noarch-local]
name=Request Tracker - noarch
baseurl=file://opt/rt_repo/noarch/
enabled=1
gpgcheck=0

Unpack the distro part and move it over to /opt where the yum file
expected it:

[root at testbench1]# tar xfz rt_repo.tar.gz

[root at testbench1]# mv rt_repo /opt
[root at testbench1]# ls /opt/rt_repo/
i386  noarch  x86_64

Okay, let's see if that works:

[root at testbench1]# yum clean all
Loaded plugins: rhnplugin, security
Cleaning up Everything

[root at testbench1]# yum list rt3
Loaded plugins: rhnplugin, security
adobe-linux-i386                                               |  951 B     00:00     
adobe-linux-i386/primary                                       |  12 kB     00:00     
adobe-linux-i386                                                                18/18
rhel-i386-server-5                                             | 1.4 kB     00:00     
rhel-i386-server-5/primary                                     | 3.0 MB     00:00     
rhel-i386-server-5                                                          7696/7696
rhel-i386-server-vt-5                                          | 1.4 kB     00:00     
rhel-i386-server-vt-5/primary                                  |  41 kB     00:00     
rhel-i386-server-vt-5                                                         198/198
rhn-tools-rhel-i386-server-5                                   | 1.3 kB     00:00     
rhn-tools-rhel-i386-server-5/primary                           |  38 kB     00:00     
rhn-tools-rhel-i386-server-5                                                  457/457
file://opt/rt_repo/i386/repodata/repomd.xml: <http://opt/rt_repo/i386/repodata/repomd.xml:> [Errno 5] OSError: [Errno 2] No such file or directory: '/rt_repo/i386/repodata/repomd.xml'
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rt-387-local. Please verify its path and try again

No clue what this means.  I checked the yum locations.  I checked the
xml metadata.  Couldn't see where this bad path was coming from.

Any suggestions for resolving this?

If I can't resolve this, I will just forget about RT3.8 and stick with
RT3.6 of which there is a well-behaved RPM already in the EPEL repo.

Wes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20101102/0500a2f6/attachment.htm>


More information about the rt-users mailing list