Ticket #863 (closed defect: fixed)
bcfg 1.0.1 version rpm builds but fails to install
Reported by: | https://www.google.com/accounts/o8/id?id=AItOawljNfSmwBX_TkYOMH5BtaTMIervYOZOkV0 | Owned by: | solj |
---|---|---|---|
Priority: | major | Milestone: | Bcfg2 1.1.0 Release |
Component: | bcfg2-client | Version: | 1.0 |
Keywords: | rpm python | Cc: | [email protected]… |
Description
Hello folks,
being interested in running version 1.0.1 (after reading the ChangeLog? since 0.9.6) I succeed building rpms for
bcfg2-1.0-1.noarch.rpm bcfg2-server-1.0-1.noarch.rpm
but I cannot install them with the following reason:
error: Failed dependencies:
/usr/local/bin/python is needed by bcfg2-1.0-1.noarch
Despite the usual path for python is /usr/bin on Linux systems, the most amazing fact about that is that /usr/local/bin/python is indeed present in the system. I've even tried to remove the symbolic link to the /usr/bin/python and make the hard copy but nothing changes.
Any ideas how to get it working and why ever depending on binary instead of package?
Attachments
Change History
comment:3 in reply to: ↑ 1 Changed 13 years ago by https://www.google.com/accounts/o8/id?id=AItOawljNfSmwBX_TkYOMH5BtaTMIervYOZOkV0
Replying to solj:
How did you build the RPM package? Were you following the instructions at BuildingRPMPackages?
No I didn't :(. Found spec.in in the redhat/ directory and tried to get success with it. The spec from misc/ allows one to obtain rpm packages, thanks. All I can say is no much links provided to that page.
There is another issue appeared, though. Now bcfg2-server doesn't start with the following error:
File "/usr/lib/python2.4/site-packages/Bcfg2/SSLServer.py", line 19, in ?
import ssl
ImportError?: No module named ssl bcfg2-server [FAILED]
Perhaps, QuickStart? guide is obsoleted a bit? I needed to install python-ssl-1.15-3.el5.i386.rpm (found it via rpmfind.net) to get things working back.
Is python-cheetah obsoleted indeed? Can I safely remove it?
comment:4 Changed 13 years ago by solj
Yes, the Quickstart guide needs to be updated. We will get that done during the code sprint this weekend. You will only need python-cheetah if you plan to use the TCheetah plugin. Otherwise, it is not necessary. If you run into trouble, feel free to hop onto the IRC channel. There are usually a lot of people around to help.
How did you build the RPM package? Were you following the instructions at BuildingRPMPackages?