Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Issues with installing on CentOS 5.2

2008-12-11
2013-05-01
  • This is a fresh box, when installing, the error that comes up is:

    root@media [~/Dimdim_RPM_Package_v4.5]# rpm -ivh Dimdim-4.5_SF_i386.rpm
    Preparing...                ########################################### [100%]
    Checking preinstall checks
    /var/tmp/rpm-tmp.73142: line 4: [: 5.2: unary operator expected
    Error, OS check failed
    Exit Status...
    error: %pre(dimdim-4.5-1.i386) scriptlet failed, exit status 1
    error:   install: %pre scriptlet failed (2), skipping dimdim-4.5-1
    root@media [~/Dimdim_RPM_Package_v4.5]#

    Any specific reason why it may be doing this?

     
    • Figured out why, and you guys need to fix it.

      OSCHECK=`cat /etc/issue |grep Cent | awk '{print $3}'`

      This line should be

      OSCHECK=`cat /etc/redhat-release |grep Cent | awk '{print $3}'`

      Joe

       
    • Hi,

      Can you tell me what out put you see when you do with /etc/issue?

      Regards,
      -Rajesh
      rajesh@dimdim.com

       
    • # /etc/issue
      -bash: /etc/issue: Permission denied

      [trixbox1.localdomain dimdim]# rpm -ivh Dimdim-4.5_SF_i386.rpm
      Preparing...                ########################################### [100%]
      Checking preinstall checks
      CentOS release 5.2 (Final)
      Success...
      Please wait...
      Checking Ports..
      Error: Port 80 is not free. Dimdim needs port 80 to be free. Please stop any oth
      Exit Status..
      error: %pre(dimdim-4.5-1.i386) scriptlet failed, exit status 1
      error:   install: %pre scriptlet failed (2), skipping dimdim-4.5-1
      [trixbox1.localdomain dimdim]# rpm -ivh -f Dimdim-4.5_SF_i386.rpm
      Preparing...                ########################################### [100%]
      Checking preinstall checks
      CentOS release 5.2 (Final)
      Success...
      Please wait...
      Checking Ports..
      Error: Port 80 is not free. Dimdim needs port 80 to be free. Please stop any oth
      Exit Status..
      error: %pre(dimdim-4.5-1.i386) scriptlet failed, exit status 1
      error:   install: %pre scriptlet failed (2), skipping dimdim-4.5-1

      When I try
      # /etc/issue
      # -bash: /etc/issue: Permission denied

       
    • When I try
      # cat /etc/issue |grep Cent | awk '{print $3}'
      5.2

      # cat /etc/redhat-release

      CentOS release 5.2 (Final)CentOS release 5.2 (Final)

       
    • Pehaps , you have installed apache (httpd) , port 80 is busy ?