Koozali.org: home of the SME Server

NOOB: Help installing trac on SME

Offline gadgetry

  • *
  • 7
  • +0/-0
NOOB: Help installing trac on SME
« on: September 18, 2008, 11:56:44 PM »
I am very new to SME - having set up my first (and only) box yesterday, so please forgive me if the problem below is simple. I did check the other forum posts first, but did not see anyone else posting a similar question, so here goes...

After setting up the box, and downloading the updates, I then installed smeserver-subersion, but I am having problems setting up smeserver-trac. I followed the instructions on http://wiki.contribs.org/Trac, setup my Through-IP repository, but the smeserver-trac package is not found. The logs are shown below:

[root@sdi-s ~]# /sbin/e-smith/db yum_repositories set through-ip repository \
> BaseURL http://through-ip.com/packages/smeserver/i386/ \
> Name 'Through IP Pty. Ltd.' \
> EnableGroups yes \
> Visible yes \
> GPGCheck no \
> status disabled

After typing the above command, I see the Through-IP repository on my SME server management webpage. However, when I attempt to install smeserver-trac, I get the following error:

[root@sdi-s ~]# yum install smeserver-trac --enablerepo=smecontribs --enablerepo=through-ip
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin

Error getting repository data for through-ip, repository not found
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Looking at the Through-IP URL, I see several other packages, but not the smeserver-trac package.

I did find the package at http://smemirror.fullnet.co.uk/releases/7/smecontribs/i386/RPMS/smeserver-trac-0.4-40.el4.sme.noarch.rpm, but when I attempted to install it via yum, I was quickly lost in dependency-hell, tracking down the necessary dependencies, and then their dependencies, etc - help!

Thanx!

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: NOOB: Help installing trac on SME
« Reply #1 on: September 19, 2008, 02:21:24 AM »
>Error getting repository data for through-ip, repository not found

http://through-ip.com/packages/smeserver/i386/ looks ok

this needs to work to get anywhere, these are the dependancies
yum list all   --disablerepo=* --enablerepo=through-ip

raise a bug against smeserver-trac
this alerts the maintainer of possible problems in the setup instructions, the rest of us are just guessing


Offline pfloor

  • *****
  • 889
  • +1/-0
Re: NOOB: Help installing trac on SME
« Reply #2 on: September 19, 2008, 05:27:40 AM »
After entering the repo in the db, did you expand the yum.conf templates?

expand-template /etc/yum.conf

In life, you must either "Push, Pull or Get out of the way!"

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: NOOB: Help installing trac on SME
« Reply #3 on: September 19, 2008, 06:08:29 AM »
After entering the repo in the db, did you expand the yum.conf templates?

expand-template /etc/yum.conf


Yes, I think the same !!!

Offline gadgetry

  • *
  • 7
  • +0/-0
Re: NOOB: Help installing trac on SME
« Reply #4 on: September 19, 2008, 03:49:09 PM »
Hey thanx - the suggestion of using "expand-template /etc/yum.conf" definitely helped me get farther along as it was then able to find the smeserver-trac package. However, when attempting to install, it reported that it was missing the python(abi) dependency. Where should I got to find it?

Thanx - and I have included the output below:

[root@sdi-s ~]# expand-template /etc/yum.conf
[root@sdi-s ~]# yum install smeserver-trac --enablerepo=smecontribs --enablerepo=through-ip
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "installonlyn" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
smecontribs               100% |=========================| 1.9 kB    00:00     
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - os
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for smeserver-trac to pack into transaction set.
smeserver-trac-0.4-40.el4 100% |=========================|  41 kB    00:00     
---> Package smeserver-trac.noarch 0:0.4-40.el4.sme set to be updated
--> Running transaction check
--> Processing Dependency: trac >= 0.10.3 for package: smeserver-trac
--> Processing Dependency: python-silvercity >= 0.9.5 for package: smeserver-trac
--> Processing Dependency: python-setuptools >= 0.6 for package: smeserver-trac
--> Processing Dependency: perl-Config-IniFiles for package: smeserver-trac
--> Processing Dependency: python-docutils >= 0.4 for package: smeserver-trac
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for trac to pack into transaction set.
trac-0.10.4-1.el4.sme.noa 100% |=========================|  42 kB    00:00     
---> Package trac.noarch 0:0.10.4-1.el4.sme set to be updated
---> Downloading header for python-silvercity to pack into transaction set.
python-silvercity-0.9.5-3 100% |=========================| 3.0 kB    00:00     
---> Package python-silvercity.i386 0:0.9.5-3.el4.pyv set to be updated
---> Downloading header for python-docutils to pack into transaction set.
python-docutils-0.4-4.el4 100% |=========================|  45 kB    00:00     
---> Package python-docutils.noarch 0:0.4-4.el4 set to be updated
---> Downloading header for python-setuptools to pack into transaction set.
python-setuptools-0.6c7-1 100% |=========================|  16 kB    00:00     
---> Package python-setuptools.noarch 0:0.6c7-1.el4 set to be updated
---> Downloading header for perl-Config-IniFiles to pack into transaction set.
perl-Config-IniFiles-2.39 100% |=========================| 3.4 kB    00:00     
---> Package perl-Config-IniFiles.noarch 0:2.39-6.el4 set to be updated
--> Running transaction check
--> Processing Dependency: python-clearsilver >= 0.9.3 for package: trac
--> Processing Dependency: python-imaging for package: python-docutils
--> Processing Dependency: python23-silvercity = 0.9.5 for package: python-silvercity
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Downloading header for python-clearsilver to pack into transaction set.
python-clearsilver-0.10.3 100% |=========================| 7.1 kB    00:00     
---> Package python-clearsilver.i386 0:0.10.3-3.el4.1 set to be updated
---> Downloading header for python-imaging to pack into transaction set.
python-imaging-1.1.4-1.i3 100% |=========================|  28 kB    00:00     
---> Package python-imaging.i386 0:1.1.4-1 set to be updated
---> Downloading header for python23-silvercity to pack into transaction set.
python23-silvercity-0.9.5 100% |=========================| 8.5 kB    00:00     
---> Package python23-silvercity.i386 0:0.9.5-3.el4.pyv set to be updated
--> Running transaction check
--> Processing Dependency: python(abi) = 2.3 for package: python23-silvercity
--> Finished Dependency Resolution
Error: Missing Dependency: python(abi) = 2.3 is needed by package python23-silvercity
================================================================
No new rpms were installed. No additional commands are required.
================================================================

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Re: NOOB: Help installing trac on SME
« Reply #5 on: September 19, 2008, 04:10:51 PM »
You have updated your server with the last updates? Because these update python, so may be trac package broken with the last SME (centos 4.7) updates.

Please, report a bug for trac contribution.

Offline gadgetry

  • *
  • 7
  • +0/-0
Re: NOOB: Help installing trac on SME
« Reply #6 on: September 19, 2008, 04:40:03 PM »
Yes, all the updates have been installed. I will enter the bug for trac and see if it can be resolved there.

In the meantime, if anyone has a workaround for this, please let me know - thanx!


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: NOOB: Help installing trac on SME
« Reply #7 on: September 19, 2008, 04:54:36 PM »
--> Finished Dependency Resolution
Error: Missing Dependency: python(abi) = 2.3 is needed by package python23-silvercity

You will need to find a python24-silvercity rpm.

Offline gadgetry

  • *
  • 7
  • +0/-0
Re: NOOB: Help installing trac on SME
« Reply #8 on: September 19, 2008, 04:59:36 PM »
Thanx - but isn't it looking for the python(abi) package that is needed by the silvercity package?

I have looked for python(abi) and have come up empty on it - rpmfind has a couple of links to a potential site, but none of the links were working - and I have hit a deadend on that.

Regarding the bug, I am now waiting on my automated reply needed to set up my bugzilla account. As soon as that is ready, I will post there (and put a link to here).

Thanx

Offline gadgetry

  • *
  • 7
  • +0/-0
Re: NOOB: Help installing trac on SME
« Reply #9 on: September 19, 2008, 05:27:04 PM »
This issue has been reported and a link to this forum was included.  I am also including a link from this forum to the bug entry as well.

Thanx

http://bugs.contribs.org/show_bug.cgi?id=4580

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: NOOB: Help installing trac on SME
« Reply #10 on: September 19, 2008, 07:45:17 PM »
Thanx - but isn't it looking for the python(abi) package that is needed by the silvercity package?

yum is wanting to remove the package which provides python(abi) = 2.3 (because it is installing a package which replaces it, and provides python(abi) = 2.4). The message you see is yum saying that it cannot remove the package which requires python(abi) = 2.3 because something still needs it - i.e. python23-silvercity. If you replace python23-silvercity with python24-silvercity, then yum will be able to upgrade python.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: NOOB: Help installing trac on SME
« Reply #11 on: September 19, 2008, 07:52:27 PM »
I have looked for python(abi) and have come up empty on it

rpm -q --whatprovides 'python(abi)'

Hmmm, that comes up empty.

Let's look at:

rpm -q --provides python

Hmmm, looks like the python rpm provides 'python-abi = 2.3', not 'python(api) = 2.3'. This looks like a build error in python23-silvercity. Complain to whoever built it - or find a version which is built specifically for RHEL4 or CentOS4.





Offline gadgetry

  • *
  • 7
  • +0/-0
Re: NOOB: Help installing trac on SME
« Reply #12 on: September 19, 2008, 08:19:08 PM »
This system started as a fresh SME install, with the intent of getting all the libraries specifically from the SME site, so they should all be compatible.

However... I may have caused this problem myself when I was originally trying to initially resolve what appeared to be a missing smeserver-trac package. The initial problem was created when I did not run "expand-template /etc/yum.conf" after setting up the new repository - that has since been cleared up.

Before posting here, though, I tried to resolve the issue by first finding a copy of the smeserver-trac package, and then manually attempting to install it. Of course, it had several missing dependencies, so I then attempted to find each of them and install them by hand. I *think* I found all from the contribs site specifically for this system, but there is a chance I goofed and grabbed the wrong library somewhere along the way.

Assuming that I may have created this problem myself, what is the simplest way to get back to a system I can set up? I could reinstall everything - a bit of a pain, but if you think that would resolve the issue, I am up for trying that. Alternatively, is there anything I can provide to you (list of rpm's installed, dependency lists on my system, etc), then let me know. Just post the command for me to run (hopefully not rm -rf /  ;-))

Again, thank you for the assistance... if only you were local I would repay with a visit to a nearby pub.. ;-)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: NOOB: Help installing trac on SME
« Reply #13 on: September 19, 2008, 08:27:50 PM »
Assuming that I may have created this problem myself, what is the simplest way to get back to a system I can set up?

rpm -e --nodeps python23-silvercity

Quote
Again, thank you for the assistance... if only you were local I would repay with a visit to a nearby pub.. ;-)

I'm sure that you can still visit a nearby pub - what's stopping you? Or, I see, and want to invite us along too :-)

Offline gadgetry

  • *
  • 7
  • +0/-0
Re: NOOB: Help installing trac on SME
« Reply #14 on: September 19, 2008, 09:17:56 PM »
Quote
rpm -e --nodeps python23-silvercity

That package does not appear to be installed...

[root@sdi-s ~]# rpm -e --nodeps python23-silvercity
error: package python23-silvercity is not installed

[root@sdi-s ~]# rpm -qa | grep silver
warning: only V3 signatures can be verified, skipping V4 signature

So what am I missing...?

Quote
I'm sure that you can still visit a nearby pub - what's stopping you? Or, I see, and want to invite us along too

Oh, I am definitely heading that way myself in a couple of hours... but yes, if I could repay you for the help, i would definitely invite you along.