missing dependency is actually there - Redhat

This is a discussion on missing dependency is actually there - Redhat ; I am trying to install Numeric-24.2 which it seems needs python and some other file. It's failed depndency is python =>2.4, which it also indicates is already there when I try to install it. Any ideas? [root@ip-XXX.XX.XX.XXX bin]# rpm -Uvh ...

+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 24

Thread: missing dependency is actually there

  1. missing dependency is actually there

    I am trying to install Numeric-24.2 which it seems needs python and some
    other file. It's failed depndency is python =>2.4, which it also indicates
    is already there when I try to install it.

    Any ideas?

    [root@ip-XXX.XX.XX.XXX bin]# rpm -Uvh Numeric-24.2-1.i586.rpm
    error: Failed dependencies:
    python-base >= 2.4 is needed by Numeric-24.2-1.i586
    libg2c.so.0 is needed by Numeric-24.2-1.i586
    [root@ip-XXX.XX.XX.XXX bin]# cp
    /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm /usr/bin
    cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    [root@ip-XXX.XX.XX.XXX bin]# rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID
    4f2a6fd2
    Preparing... ###########################################
    [100%]
    package python-2.4.3-19.el5 (which is newer than python-2.4.2-3.2.1)
    is already installed




  2. Re: missing dependency is actually there

    This happens sometimes. One quick solution is to use "--nodeps"
    option.

    Try "rpm -Uvh --nodeps Numeric-24.2-1.i586.rpm"

    This will ignore the dependency check.

    Hope this helps.

    Cheers, Indhu

    On Jul 22, 8:03 pm, "TriAdmin" wrote:
    > I am trying to install Numeric-24.2 which it seems needs python and some
    > other file. It's failed depndency is python =>2.4, which it also indicates
    > is already there when I try to install it.
    >
    > Any ideas?
    >
    > [r...@ip-XXX.XX.XX.XXX bin]# rpm -Uvh Numeric-24.2-1.i586.rpm
    > error: Failed dependencies:
    > python-base >= 2.4 is needed by Numeric-24.2-1.i586
    > libg2c.so.0 is needed by Numeric-24.2-1.i586
    > [r...@ip-XXX.XX.XX.XXX bin]# cp
    > /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm /usr/bin
    > cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    > [r...@ip-XXX.XX.XX.XXX bin]# rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    > warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature: NOKEY, key ID
    > 4f2a6fd2
    > Preparing... ###########################################
    > [100%]
    > package python-2.4.3-19.el5 (which is newer than python-2.4.2-3.2.1)
    > is already installed



  3. Re: missing dependency is actually there

    "indhubharathi" wrote in message
    news:14688c09-e468-4f3a-9513-8446612ba3f4@34g2000hsf.googlegroups.com...
    > This happens sometimes. One quick solution is to use "--nodeps"
    > option.
    >
    > Try "rpm -Uvh --nodeps Numeric-24.2-1.i586.rpm"
    >
    > This will ignore the dependency check.
    >
    > Hope this helps.
    >
    > Cheers, Indhu


    Thanks. is there a way to FORCE it to install dependencies?



  4. Re: missing dependency is actually there

    On Tue, 22 Jul 2008 11:03:45 -0400, TriAdmin typed this message:

    > I am trying to install Numeric-24.2 which it seems needs python and some
    > other file. It's failed depndency is python =>2.4, which it also
    > indicates is already there when I try to install it.
    >
    > Any ideas?
    >
    > [root@ip-XXX.XX.XX.XXX bin]

    # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    > Failed dependencies:
    > python-base >= 2.4 is needed by Numeric-24.2-1.i586 libg2c.so.0
    > is needed by Numeric-24.2-1.i586



    > [root@ip-XXX.XX.XX.XXX bin]

    # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm /usr/bin
    cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n

    > [root@ip-XXX.XX.XX.XXX bin]

    # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    > warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature: NOKEY,
    > key ID 4f2a6fd2
    > Preparing... ###########################################
    > [100%]
    > package python-2.4.3-19.el5 (which is newer than
    > python-2.4.2-3.2.1)
    > is already installed


    I think you need the python-devel rpm

    $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm


    if you're using Suse 10-11.x

    $ sudo zypper install python-2.4-devel-2.4.2-3.2.1.i386.rpm

    or
    $ su -c "rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm"

  5. Re: missing dependency is actually there


    "noi ance" wrote in message
    news:iaphk.15979$mh5.2736@nlpi067.nbdc.sbc.com...
    > On Tue, 22 Jul 2008 11:03:45 -0400, TriAdmin typed this message:
    >
    >> I am trying to install Numeric-24.2 which it seems needs python and some
    >> other file. It's failed depndency is python =>2.4, which it also
    >> indicates is already there when I try to install it.
    >>
    >> Any ideas?
    >>
    >> [root@ip-XXX.XX.XX.XXX bin]

    > # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >> Failed dependencies:
    >> python-base >= 2.4 is needed by Numeric-24.2-1.i586 libg2c.so.0
    >> is needed by Numeric-24.2-1.i586

    >
    >
    >> [root@ip-XXX.XX.XX.XXX bin]

    > # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm /usr/bin
    > cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >
    >> [root@ip-XXX.XX.XX.XXX bin]

    > # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature: NOKEY,
    >> key ID 4f2a6fd2
    >> Preparing... ###########################################
    >> [100%]
    >> package python-2.4.3-19.el5 (which is newer than
    >> python-2.4.2-3.2.1)
    >> is already installed

    >
    > I think you need the python-devel rpm
    >
    > $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >
    >
    > if you're using Suse 10-11.x
    >
    > $ sudo zypper install python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >
    > or
    > $ su -c "rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm"


    Thanks!! I am using CENTOS. I did a su -, entered the root password then
    entered sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm

    It said: error: open of python-2.4-devel-2.4.2-3.2.1.i386.rpm failed: No
    such file or directory

    Where do I find python-2.4-devel-2.4.2-3.2.1.i386.rpm - I googled it with no
    results.

    Many thanks from a newbie!!!!!!!



  6. Re: missing dependency is actually there

    On Tue, 22 Jul 2008 14:53:48 -0400, TriAdmin typed this message:

    > "noi ance" wrote in message
    > news:iaphk.15979$mh5.2736@nlpi067.nbdc.sbc.com...
    >> On Tue, 22 Jul 2008 11:03:45 -0400, TriAdmin typed this message:
    >>
    >>> I am trying to install Numeric-24.2 which it seems needs python and
    >>> some other file. It's failed depndency is python =>2.4, which it also
    >>> indicates is already there when I try to install it.
    >>>
    >>> Any ideas?
    >>>
    >>> [root@ip-XXX.XX.XX.XXX bin]

    >> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>> Failed dependencies:
    >>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>> libg2c.so.0 is needed by Numeric-24.2-1.i586

    >>
    >>
    >>> [root@ip-XXX.XX.XX.XXX bin]

    >> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm /usr/bin
    >> cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >>
    >>> [root@ip-XXX.XX.XX.XXX bin]

    >> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature: NOKEY,
    >>> key ID 4f2a6fd2
    >>> Preparing...
    >>> ########################################### [100%]
    >>> package python-2.4.3-19.el5 (which is newer than
    >>> python-2.4.2-3.2.1)
    >>> is already installed

    >>
    >> I think you need the python-devel rpm
    >>
    >> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>
    >>
    >> if you're using Suse 10-11.x
    >>
    >> $ sudo zypper install python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>
    >> or
    >> $ su -c "rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm"

    >
    > Thanks!! I am using CENTOS. I did a su -, entered the root password
    > then entered sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >
    > It said: error: open of python-2.4-devel-2.4.2-3.2.1.i386.rpm failed:
    > No such file or directory
    >
    > Where do I find python-2.4-devel-2.4.2-3.2.1.i386.rpm - I googled it
    > with no results.
    >
    > Many thanks from a newbie!!!!!!!


    Dude sorry. I should have asked but one of the packages you listed
    showed fc5 so I assumed. Most of what I suggested still applies except
    you need to start at http://www.centos.org/

    Find the yum repositories for your Centos version. Though Centos 5.x
    appears to be very, very similar to RHEL 5.2 but not FC5.

    Yum should still work the same though
    $ man yum
    or
    $ yum --help
    to check.

    When the correct Centos repositories for your version are installed and
    the FC repositories removed, you can then search using yum.
    RPM only works for downloaded rpms
    or rpm -Uvh {ftp|http}://download.centos.org/something/some.rpm

    $ yum provides libg2f python-devel

    $ yum search python

    <== I only use su -c "yum " or sudo yum for updates, erase and install.
    Actually, since I'm no longer using FC I'm not using yum but its the best
    package manager for Centos, RHEL and FC.

    That should show you all the installed python modules.
    or

    $ rpm -qa python

    $ rpm -ql python | less

    $ rpm --provides -q $(rpm -qa python) | less

  7. Re: missing dependency is actually there

    "noi ance" wrote in message
    news:zcrhk.18217$Ri.300@flpi146.ffdc.sbc.com...
    > On Tue, 22 Jul 2008 14:53:48 -0400, TriAdmin typed this message:
    >
    >> "noi ance" wrote in message
    >> news:iaphk.15979$mh5.2736@nlpi067.nbdc.sbc.com...
    >>> On Tue, 22 Jul 2008 11:03:45 -0400, TriAdmin typed this message:
    >>>
    >>>> I am trying to install Numeric-24.2 which it seems needs python and
    >>>> some other file. It's failed depndency is python =>2.4, which it also
    >>>> indicates is already there when I try to install it.
    >>>>
    >>>> Any ideas?
    >>>>
    >>>> [root@ip-XXX.XX.XX.XXX bin]
    >>> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>>> Failed dependencies:
    >>>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>>> libg2c.so.0 is needed by Numeric-24.2-1.i586
    >>>
    >>>
    >>>> [root@ip-XXX.XX.XX.XXX bin]
    >>> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm /usr/bin
    >>> cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >>>
    >>>> [root@ip-XXX.XX.XX.XXX bin]
    >>> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature: NOKEY,
    >>>> key ID 4f2a6fd2
    >>>> Preparing...
    >>>> ########################################### [100%]
    >>>> package python-2.4.3-19.el5 (which is newer than
    >>>> python-2.4.2-3.2.1)
    >>>> is already installed
    >>>
    >>> I think you need the python-devel rpm
    >>>
    >>> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>
    >>>
    >>> if you're using Suse 10-11.x
    >>>
    >>> $ sudo zypper install python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>
    >>> or
    >>> $ su -c "rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm"

    >>
    >> Thanks!! I am using CENTOS. I did a su -, entered the root password
    >> then entered sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>
    >> It said: error: open of python-2.4-devel-2.4.2-3.2.1.i386.rpm failed:
    >> No such file or directory
    >>
    >> Where do I find python-2.4-devel-2.4.2-3.2.1.i386.rpm - I googled it
    >> with no results.
    >>
    >> Many thanks from a newbie!!!!!!!

    >
    > Dude sorry. I should have asked but one of the packages you listed
    > showed fc5 so I assumed. Most of what I suggested still applies except
    > you need to start at http://www.centos.org/
    >
    > Find the yum repositories for your Centos version. Though Centos 5.x
    > appears to be very, very similar to RHEL 5.2 but not FC5.
    >
    > Yum should still work the same though
    > $ man yum
    > or
    > $ yum --help
    > to check.
    >
    > When the correct Centos repositories for your version are installed and
    > the FC repositories removed, you can then search using yum.
    > RPM only works for downloaded rpms
    > or rpm -Uvh {ftp|http}://download.centos.org/something/some.rpm
    >
    > $ yum provides libg2f python-devel
    >
    > $ yum search python
    >
    > <== I only use su -c "yum " or sudo yum for updates, erase and install.
    > Actually, since I'm no longer using FC I'm not using yum but its the best
    > package manager for Centos, RHEL and FC.
    >
    > That should show you all the installed python modules.
    > or
    >
    > $ rpm -qa python
    >
    > $ rpm -ql python | less
    >
    > $ rpm --provides -q $(rpm -qa python) | less


    Thanks, I'll eventually figure out what all this means after I pick up the
    hair I've pulled out the last two days.

    Thanks for your help, I don't mean that sarcastically. Thanks.



  8. Re: missing dependency is actually there

    On Tue, 22 Jul 2008 17:05:35 -0400, TriAdmin typed this message:

    > "noi ance" wrote in message
    > news:zcrhk.18217$Ri.300@flpi146.ffdc.sbc.com...
    >> On Tue, 22 Jul 2008 14:53:48 -0400, TriAdmin typed this message:
    >>
    >>> "noi ance" wrote in message
    >>> news:iaphk.15979$mh5.2736@nlpi067.nbdc.sbc.com...
    >>>> On Tue, 22 Jul 2008 11:03:45 -0400, TriAdmin typed this message:
    >>>>
    >>>>> I am trying to install Numeric-24.2 which it seems needs python and
    >>>>> some other file. It's failed depndency is python =>2.4, which it
    >>>>> also indicates is already there when I try to install it.
    >>>>>
    >>>>> Any ideas?
    >>>>>
    >>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>>>> Failed dependencies:
    >>>>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>>>> libg2c.so.0 is needed by Numeric-24.2-1.i586
    >>>>
    >>>>
    >>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm
    >>>> /usr/bin cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >>>>
    >>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>>>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature:
    >>>>> NOKEY, key ID 4f2a6fd2
    >>>>> Preparing...
    >>>>> ########################################### [100%]
    >>>>> package python-2.4.3-19.el5 (which is newer than
    >>>>> python-2.4.2-3.2.1)
    >>>>> is already installed
    >>>>
    >>>> I think you need the python-devel rpm
    >>>>
    >>>> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>
    >>>>
    >>>> if you're using Suse 10-11.x
    >>>>
    >>>> $ sudo zypper install python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>
    >>>> or
    >>>> $ su -c "rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm"
    >>>
    >>> Thanks!! I am using CENTOS. I did a su -, entered the root password
    >>> then entered sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>
    >>> It said: error: open of python-2.4-devel-2.4.2-3.2.1.i386.rpm failed:
    >>> No such file or directory
    >>>
    >>> Where do I find python-2.4-devel-2.4.2-3.2.1.i386.rpm - I googled it
    >>> with no results.
    >>>
    >>> Many thanks from a newbie!!!!!!!

    >>
    >> Dude sorry. I should have asked but one of the packages you listed
    >> showed fc5 so I assumed. Most of what I suggested still applies except
    >> you need to start at http://www.centos.org/
    >>
    >> Find the yum repositories for your Centos version. Though Centos 5.x
    >> appears to be very, very similar to RHEL 5.2 but not FC5.
    >>
    >> Yum should still work the same though $ man yum
    >> or
    >> $ yum --help
    >> to check.
    >>
    >> When the correct Centos repositories for your version are installed and
    >> the FC repositories removed, you can then search using yum. RPM only
    >> works for downloaded rpms
    >> or rpm -Uvh {ftp|http}://download.centos.org/something/some.rpm
    >>
    >> $ yum provides libg2f python-devel
    >>
    >> $ yum search python
    >>
    >> <== I only use su -c "yum " or sudo yum for updates, erase and install.
    >> Actually, since I'm no longer using FC I'm not using yum but its the
    >> best package manager for Centos, RHEL and FC.
    >>
    >> That should show you all the installed python modules. or
    >>
    >> $ rpm -qa python
    >>
    >> $ rpm -ql python | less
    >>
    >> $ rpm --provides -q $(rpm -qa python) | less

    >
    > Thanks, I'll eventually figure out what all this means after I pick up
    > the hair I've pulled out the last two days.
    >
    > Thanks for your help, I don't mean that sarcastically. Thanks.


    I hope it helps. It's a learning experience for me.

    As a newbie you tried to install a package without some background
    knowledge. I made the mistake of thinking you were using either Suse or
    RH/FC. However, much of my replies still apply.
    All commands can be tried as long as you don't use su -c or sudo or as
    the root superuser. And as I suggest only use sudo for the install,
    erase and update yum commands when you're ready.


    I believe your basic problem is one of
    you really don't have python-2.4 installed
    or you don't have the python-devel-2.4 installed
    or your package actually requires python-2.4 and won't accept
    python-2.4.x or better.

    BTW, I just looked up Numeric and the developers strongly suggest using
    NumPy instead of Numeric for those numerical extensions for Python.
    Maintenance on Numberic has ceased.

    $ yum search numpy
    $ rpm -qa | grep -i numpy


    $ yum info numpy

    $ yum install numpy

  9. Re: missing dependency is actually there

    "noi ance" wrote in message
    news:jEuhk.15071$xZ.14169@nlpi070.nbdc.sbc.com...
    > On Tue, 22 Jul 2008 17:05:35 -0400, TriAdmin typed this message:
    >
    >> "noi ance" wrote in message
    >> news:zcrhk.18217$Ri.300@flpi146.ffdc.sbc.com...
    >>> On Tue, 22 Jul 2008 14:53:48 -0400, TriAdmin typed this message:
    >>>
    >>>> "noi ance" wrote in message
    >>>> news:iaphk.15979$mh5.2736@nlpi067.nbdc.sbc.com...
    >>>>> On Tue, 22 Jul 2008 11:03:45 -0400, TriAdmin typed this message:
    >>>>>
    >>>>>> I am trying to install Numeric-24.2 which it seems needs python and
    >>>>>> some other file. It's failed depndency is python =>2.4, which it
    >>>>>> also indicates is already there when I try to install it.
    >>>>>>
    >>>>>> Any ideas?
    >>>>>>
    >>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>>>>> Failed dependencies:
    >>>>>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>>>>> libg2c.so.0 is needed by Numeric-24.2-1.i586
    >>>>>
    >>>>>
    >>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm
    >>>>> /usr/bin cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >>>>>
    >>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>>>>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature:
    >>>>>> NOKEY, key ID 4f2a6fd2
    >>>>>> Preparing...
    >>>>>> ########################################### [100%]
    >>>>>> package python-2.4.3-19.el5 (which is newer than
    >>>>>> python-2.4.2-3.2.1)
    >>>>>> is already installed
    >>>>>
    >>>>> I think you need the python-devel rpm
    >>>>>
    >>>>> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>>
    >>>>>
    >>>>> if you're using Suse 10-11.x
    >>>>>
    >>>>> $ sudo zypper install python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>>
    >>>>> or
    >>>>> $ su -c "rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm"
    >>>>
    >>>> Thanks!! I am using CENTOS. I did a su -, entered the root password
    >>>> then entered sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>
    >>>> It said: error: open of python-2.4-devel-2.4.2-3.2.1.i386.rpm failed:
    >>>> No such file or directory
    >>>>
    >>>> Where do I find python-2.4-devel-2.4.2-3.2.1.i386.rpm - I googled it
    >>>> with no results.
    >>>>
    >>>> Many thanks from a newbie!!!!!!!
    >>>
    >>> Dude sorry. I should have asked but one of the packages you listed
    >>> showed fc5 so I assumed. Most of what I suggested still applies except
    >>> you need to start at http://www.centos.org/
    >>>
    >>> Find the yum repositories for your Centos version. Though Centos 5.x
    >>> appears to be very, very similar to RHEL 5.2 but not FC5.
    >>>
    >>> Yum should still work the same though $ man yum
    >>> or
    >>> $ yum --help
    >>> to check.
    >>>
    >>> When the correct Centos repositories for your version are installed and
    >>> the FC repositories removed, you can then search using yum. RPM only
    >>> works for downloaded rpms
    >>> or rpm -Uvh {ftp|http}://download.centos.org/something/some.rpm
    >>>
    >>> $ yum provides libg2f python-devel
    >>>
    >>> $ yum search python
    >>>
    >>> <== I only use su -c "yum " or sudo yum for updates, erase and install.
    >>> Actually, since I'm no longer using FC I'm not using yum but its the
    >>> best package manager for Centos, RHEL and FC.
    >>>
    >>> That should show you all the installed python modules. or
    >>>
    >>> $ rpm -qa python
    >>>
    >>> $ rpm -ql python | less
    >>>
    >>> $ rpm --provides -q $(rpm -qa python) | less

    >>
    >> Thanks, I'll eventually figure out what all this means after I pick up
    >> the hair I've pulled out the last two days.
    >>
    >> Thanks for your help, I don't mean that sarcastically. Thanks.

    >
    > I hope it helps. It's a learning experience for me.
    >
    > As a newbie you tried to install a package without some background
    > knowledge. I made the mistake of thinking you were using either Suse or
    > RH/FC. However, much of my replies still apply.
    > All commands can be tried as long as you don't use su -c or sudo or as
    > the root superuser. And as I suggest only use sudo for the install,
    > erase and update yum commands when you're ready.
    >
    >
    > I believe your basic problem is one of
    > you really don't have python-2.4 installed
    > or you don't have the python-devel-2.4 installed
    > or your package actually requires python-2.4 and won't accept
    > python-2.4.x or better.
    >
    > BTW, I just looked up Numeric and the developers strongly suggest using
    > NumPy instead of Numeric for those numerical extensions for Python.
    > Maintenance on Numberic has ceased.
    >
    > $ yum search numpy
    > $ rpm -qa | grep -i numpy
    >
    >
    > $ yum info numpy
    >
    > $ yum install numpy


    Thanks for your help. I am using this with drupal memtracker modules and
    here's what it says:
    1. After unpacking the memetracker and machinelearningapi modules, download
    and install Python Numeric and
    Pycluster. Python Numeric is a dependancy of Pycluster and must be installed
    first. Note, Python NumPy has
    replaced Python Numeric but Pycluster has not been upgraded to use NumPy.
    Numeric is still required.

    Python Numeric can be downloaded here:
    http://sourceforge.net/project/showf...ease_id=370308

    Pycluster can be downloaded here:
    http://bonsai.ims.u-tokyo.ac.jp/~mde....htm#pycluster

    So it seems I still need Numeric but I can't seem to install it.

    I did yum search and found numpy and could install it right away but
    unfortunately, according to the instructions, I need the older version. I
    am in quite the quandry here.



  10. Re: missing dependency is actually there

    "noi ance" wrote in message
    news:jEuhk.15071$xZ.14169@nlpi070.nbdc.sbc.com...
    > On Tue, 22 Jul 2008 17:05:35 -0400, TriAdmin typed this message:
    >
    >> "noi ance" wrote in message
    >> news:zcrhk.18217$Ri.300@flpi146.ffdc.sbc.com...
    >>> On Tue, 22 Jul 2008 14:53:48 -0400, TriAdmin typed this message:
    >>>
    >>>> "noi ance" wrote in message
    >>>> news:iaphk.15979$mh5.2736@nlpi067.nbdc.sbc.com...
    >>>>> On Tue, 22 Jul 2008 11:03:45 -0400, TriAdmin typed this message:
    >>>>>
    >>>>>> I am trying to install Numeric-24.2 which it seems needs python and
    >>>>>> some other file. It's failed depndency is python =>2.4, which it
    >>>>>> also indicates is already there when I try to install it.
    >>>>>>
    >>>>>> Any ideas?
    >>>>>>
    >>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>>>>> Failed dependencies:
    >>>>>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>>>>> libg2c.so.0 is needed by Numeric-24.2-1.i586
    >>>>>
    >>>>>
    >>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm
    >>>>> /usr/bin cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >>>>>
    >>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>>>>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature:
    >>>>>> NOKEY, key ID 4f2a6fd2
    >>>>>> Preparing...
    >>>>>> ########################################### [100%]
    >>>>>> package python-2.4.3-19.el5 (which is newer than
    >>>>>> python-2.4.2-3.2.1)
    >>>>>> is already installed
    >>>>>
    >>>>> I think you need the python-devel rpm
    >>>>>
    >>>>> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>>
    >>>>>
    >>>>> if you're using Suse 10-11.x
    >>>>>
    >>>>> $ sudo zypper install python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>>
    >>>>> or
    >>>>> $ su -c "rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm"
    >>>>
    >>>> Thanks!! I am using CENTOS. I did a su -, entered the root password
    >>>> then entered sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>
    >>>> It said: error: open of python-2.4-devel-2.4.2-3.2.1.i386.rpm failed:
    >>>> No such file or directory
    >>>>
    >>>> Where do I find python-2.4-devel-2.4.2-3.2.1.i386.rpm - I googled it
    >>>> with no results.
    >>>>
    >>>> Many thanks from a newbie!!!!!!!
    >>>
    >>> Dude sorry. I should have asked but one of the packages you listed
    >>> showed fc5 so I assumed. Most of what I suggested still applies except
    >>> you need to start at http://www.centos.org/
    >>>
    >>> Find the yum repositories for your Centos version. Though Centos 5.x
    >>> appears to be very, very similar to RHEL 5.2 but not FC5.
    >>>
    >>> Yum should still work the same though $ man yum
    >>> or
    >>> $ yum --help
    >>> to check.
    >>>
    >>> When the correct Centos repositories for your version are installed and
    >>> the FC repositories removed, you can then search using yum. RPM only
    >>> works for downloaded rpms
    >>> or rpm -Uvh {ftp|http}://download.centos.org/something/some.rpm
    >>>
    >>> $ yum provides libg2f python-devel
    >>>
    >>> $ yum search python
    >>>
    >>> <== I only use su -c "yum " or sudo yum for updates, erase and install.
    >>> Actually, since I'm no longer using FC I'm not using yum but its the
    >>> best package manager for Centos, RHEL and FC.
    >>>
    >>> That should show you all the installed python modules. or
    >>>
    >>> $ rpm -qa python
    >>>
    >>> $ rpm -ql python | less
    >>>
    >>> $ rpm --provides -q $(rpm -qa python) | less

    >>
    >> Thanks, I'll eventually figure out what all this means after I pick up
    >> the hair I've pulled out the last two days.
    >>
    >> Thanks for your help, I don't mean that sarcastically. Thanks.

    >
    > I hope it helps. It's a learning experience for me.
    >
    > As a newbie you tried to install a package without some background
    > knowledge. I made the mistake of thinking you were using either Suse or
    > RH/FC. However, much of my replies still apply.
    > All commands can be tried as long as you don't use su -c or sudo or as
    > the root superuser. And as I suggest only use sudo for the install,
    > erase and update yum commands when you're ready.
    >
    >
    > I believe your basic problem is one of
    > you really don't have python-2.4 installed
    > or you don't have the python-devel-2.4 installed
    > or your package actually requires python-2.4 and won't accept
    > python-2.4.x or better.
    >
    > BTW, I just looked up Numeric and the developers strongly suggest using
    > NumPy instead of Numeric for those numerical extensions for Python.
    > Maintenance on Numberic has ceased.
    >
    > $ yum search numpy
    > $ rpm -qa | grep -i numpy
    >
    >
    > $ yum info numpy
    >
    > $ yum install numpy


    In addition, when I installed numpy and followed the instructions for manual
    install I get:

    [root@ip-123.XXX-XX-XXXNumeric-24.2]# python setup.py build
    running build
    running build_py
    running build_ext
    building '_numpy' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
    -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
    -fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC -fPIC -IInclude -IPackages/FFT/Include
    -IPackages/RNG/Include -I/usr/include/python2.4 -c Src/_numpymodule.c -o
    build/temp.linux-i686-2.4/Src/_numpymodule.o
    Src/_numpymodule.c:1:20: error: Python.h: No such file or directory
    In file included from Src/_numpymodule.c:4:
    Include/Numeric/arrayobject.h:23: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:24: error: expected ')' before '*' token
    Include/Numeric/arrayobject.h:29: error: expected specifier-qualifier-list
    before 'PyArray_GetItemFunc'
    Include/Numeric/arrayobject.h:49: error: expected specifier-qualifier-list
    before 'PyObject_HEAD'
    Include/Numeric/arrayobject.h:71: error: expected specifier-qualifier-list
    before 'Py_intptr_t'
    Include/Numeric/arrayobject.h:257: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before 'PyArray_Type'
    Include/Numeric/arrayobject.h:260: error: expected ')' before '*' token
    Include/Numeric/arrayobject.h:264: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:265: error: expected ')' before '*' token
    Include/Numeric/arrayobject.h:269: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:272: error: expected ')' before '*' token
    Include/Numeric/arrayobject.h:275: error: expected ')' before '*' token
    Include/Numeric/arrayobject.h:276: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:277: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:279: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:281: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:283: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:285: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:286: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:287: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:288: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:289: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:290: error: expected ')' before '*' token
    Include/Numeric/arrayobject.h:291: error: expected ')' before '*' token
    Include/Numeric/arrayobject.h:292: error: expected ')' before '*' token
    Include/Numeric/arrayobject.h:293: error: expected ')' before '*' token
    Include/Numeric/arrayobject.h:294: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:295: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/arrayobject.h:298: error: expected ')' before '*' token
    In file included from Src/_numpymodule.c:6:
    Include/Numeric/ufuncobject.h:14: error: expected specifier-qualifier-list
    before 'PyObject_HEAD'
    Include/Numeric/ufuncobject.h:97: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before 'PyUFunc_Type'
    Include/Numeric/ufuncobject.h:101: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Include/Numeric/ufuncobject.h:103: error: expected declaration specifiers or
    '...' before 'PyObject'
    Include/Numeric/ufuncobject.h:116: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before '*' token
    Src/_numpymodule.c:10: error: expected '=', ',', ';', 'asm' or
    '__attribute__' before 'numpy_methods'
    Src/_numpymodule.c:17: warning: return type defaults to 'int'
    Src/_numpymodule.c: In function 'DL_EXPORT':
    Src/_numpymodule.c:17: error: expected declaration specifiers before
    'init_numpy'
    Src/_numpymodule.c:98: error: expected '{' at end of input
    error: command 'gcc' failed with exit status 1
    [root@ip-123-XXX-XX-XXX Numeric-24.2]#



  11. Re: missing dependency is actually there

    On Wed, 23 Jul 2008 08:50:10 -0400, TriAdmin typed this message:

    > "noi ance" wrote in message
    > news:jEuhk.15071$xZ.14169@nlpi070.nbdc.sbc.com...
    >> On Tue, 22 Jul 2008 17:05:35 -0400, TriAdmin typed this message:
    >>
    >>> "noi ance" wrote in message
    >>> news:zcrhk.18217$Ri.300@flpi146.ffdc.sbc.com...
    >>>> On Tue, 22 Jul 2008 14:53:48 -0400, TriAdmin typed this message:
    >>>>
    >>>>> "noi ance" wrote in message
    >>>>> news:iaphk.15979$mh5.2736@nlpi067.nbdc.sbc.com...
    >>>>>> On Tue, 22 Jul 2008 11:03:45 -0400, TriAdmin typed this message:
    >>>>>>
    >>>>>>> I am trying to install Numeric-24.2 which it seems needs python
    >>>>>>> and some other file. It's failed depndency is python =>2.4, which
    >>>>>>> it also indicates is already there when I try to install it.
    >>>>>>>
    >>>>>>> Any ideas?
    >>>>>>>
    >>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>>>>>> Failed dependencies:
    >>>>>>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>>>>>> libg2c.so.0 is needed by Numeric-24.2-1.i586
    >>>>>>
    >>>>>>
    >>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm
    >>>>>> /usr/bin cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >>>>>>
    >>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>>>>>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature:
    >>>>>>> NOKEY, key ID 4f2a6fd2
    >>>>>>> Preparing...
    >>>>>>> ########################################### [100%]
    >>>>>>> package python-2.4.3-19.el5 (which is newer than
    >>>>>>> python-2.4.2-3.2.1)
    >>>>>>> is already installed
    >>>>>>
    >>>>>> I think you need the python-devel rpm
    >>>>>>
    >>>>>> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>>>
    >>>>>>

    > Thanks for your help. I am using this with drupal memtracker modules
    > and here's what it says:
    > 1. After unpacking the memetracker and machinelearningapi modules,
    > download and install Python Numeric and
    > Pycluster. Python Numeric is a dependancy of Pycluster and must be
    > installed first. Note, Python NumPy has
    > replaced Python Numeric but Pycluster has not been upgraded to use
    > NumPy. Numeric is still required.
    >
    > Python Numeric can be downloaded here:
    > http://sourceforge.net/project/showfiles.php?

    group_id=1369&package_id=1351&release_id=370308
    >
    > Pycluster can be downloaded here:
    > http://bonsai.ims.u-tokyo.ac.jp/~mde...tware/cluster/

    software.htm#pycluster
    >
    > So it seems I still need Numeric but I can't seem to install it.
    >
    > I did yum search and found numpy and could install it right away but
    > unfortunately, according to the instructions, I need the older version.
    > I am in quite the quandry here.


    Yes, it does seem that way.
    Okay you have Python-2.4.3-19.el5 installed

    Do you have Python-devel-2.4.3-19.el5 installed ?

    $ yum search python-devel

    Do you have libg2c.so.0 installed ?

    $ rpm -qal | grep -i libg | less


    Component library libg2c.so can be found in Centos package
    compat-libf2c-34* or on RPM.Pbone.net


    http://rpm.pbone.net/index.php3/stat...87/com/compat-
    libf2c-34-3.4.6-4.i386.rpm.html


    http://rpm.pbone.net/index.php3/stat...h/libg2c.so.0()
    (64bit)

    or
    ftp://mirror.fdcservers.net/centos/5...CentOS/compat-
    libf2c-34-3.4.6-4.i386.rpm

    Make sure you have the python-devel and libg2c installed before you try
    to install the Numeric package again.


    $ sudo yum install ftp://mirror.fdcservers.net/centos/5.1/os/i386/CentOS/
    compat-libf2c-34-3.4.6-4.i386.rpm ftp://mirror.fdcservers.net/
    centos/5.1/os/i386/CentOS/python-devel-2.4.3-19.el5.i386.rpm ftp://
    mirror.fdcservers.net/centos/5.1/os/i386/CentOS/python-
    numeric-23.7-2.2.2i386.rpm


    Of course you could download these files and install locally. Here I
    assume you have Centos 5.1 because you have python-2.4.3-19.el5

    And I listed mirror sites for Centos.

    Worse case if you have libg2c.so installed you could download the Numeric
    source and try to compile it but it seems to me that the yum command
    above should take care of it.

  12. Re: missing dependency is actually there

    >>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>>>>>>> Failed dependencies:
    >>>>>>>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>>>>>>> libg2c.so.0 is needed by Numeric-24.2-1.i586
    >>>>>>>
    >>>>>>>
    >>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm
    >>>>>>> /usr/bin cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >>>>>>>
    >>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>>>>>>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature:
    >>>>>>>> NOKEY, key ID 4f2a6fd2
    >>>>>>>> Preparing...
    >>>>>>>> ########################################### [100%]
    >>>>>>>> package python-2.4.3-19.el5 (which is newer than
    >>>>>>>> python-2.4.2-3.2.1)
    >>>>>>>> is already installed
    >>>>>>>
    >>>>>>> I think you need the python-devel rpm
    >>>>>>>
    >>>>>>> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>>>>
    >>>>>>>

    >> Thanks for your help. I am using this with drupal memtracker modules
    >> and here's what it says:
    >> 1. After unpacking the memetracker and machinelearningapi modules,
    >> download and install Python Numeric and
    >> Pycluster. Python Numeric is a dependancy of Pycluster and must be
    >> installed first. Note, Python NumPy has
    >> replaced Python Numeric but Pycluster has not been upgraded to use
    >> NumPy. Numeric is still required.
    >>
    >> Python Numeric can be downloaded here:
    >> http://sourceforge.net/project/showfiles.php?

    > group_id=1369&package_id=1351&release_id=370308
    >>
    >> Pycluster can be downloaded here:
    >> http://bonsai.ims.u-tokyo.ac.jp/~mde...tware/cluster/

    > software.htm#pycluster
    >>
    >> So it seems I still need Numeric but I can't seem to install it.
    >>
    >> I did yum search and found numpy and could install it right away but
    >> unfortunately, according to the instructions, I need the older version.
    >> I am in quite the quandry here.

    >
    > Yes, it does seem that way.
    > Okay you have Python-2.4.3-19.el5 installed
    >
    > Do you have Python-devel-2.4.3-19.el5 installed ?
    >
    > $ yum search python-devel
    >
    > Do you have libg2c.so.0 installed ?
    >
    > $ rpm -qal | grep -i libg | less
    >
    >
    > Component library libg2c.so can be found in Centos package
    > compat-libf2c-34* or on RPM.Pbone.net
    >
    >
    > http://rpm.pbone.net/index.php3/stat...87/com/compat-
    > libf2c-34-3.4.6-4.i386.rpm.html
    >
    >
    > http://rpm.pbone.net/index.php3/stat...h/libg2c.so.0()
    > (64bit)
    >
    > or
    > ftp://mirror.fdcservers.net/centos/5...CentOS/compat-
    > libf2c-34-3.4.6-4.i386.rpm
    >
    > Make sure you have the python-devel and libg2c installed before you try
    > to install the Numeric package again.
    >
    >
    > $ sudo yum install ftp://mirror.fdcservers.net/centos/5.1/os/i386/CentOS/
    > compat-libf2c-34-3.4.6-4.i386.rpm ftp://mirror.fdcservers.net/
    > centos/5.1/os/i386/CentOS/python-devel-2.4.3-19.el5.i386.rpm ftp://
    > mirror.fdcservers.net/centos/5.1/os/i386/CentOS/python-
    > numeric-23.7-2.2.2i386.rpm
    >
    >
    > Of course you could download these files and install locally. Here I
    > assume you have Centos 5.1 because you have python-2.4.3-19.el5
    >
    > And I listed mirror sites for Centos.
    >
    > Worse case if you have libg2c.so installed you could download the Numeric
    > source and try to compile it but it seems to me that the yum command
    > above should take care of it.


    Again, many thanks!! Here';s what I get when I run those two commands:
    [root@ip-XXX-XXX-XX-XXX ~]# yum search python-devel
    Loading "installonlyn" plugin
    Setting up repositories
    update 100% |=========================| 951 B 00:00
    extras 100% |=========================| 1.1 kB 00:00
    base 100% |=========================| 1.1 kB 00:00
    turbopanel-base 100% |=========================| 951 B 00:00
    addons 100% |=========================| 951 B 00:00
    turbopanel-centos5 100% |=========================| 951 B 00:00
    Reading repository metadata in from local files

    python-devel.i386 2.4.3-19.el5 base
    Matched from:
    python-devel
    The Python programming language's interpreter can be extended with
    dynamically loaded extensions and can be embedded in other programs.
    This package contains the header files and libraries needed to do
    these types of tasks.

    Install python-devel if you want to develop Python extensions. The
    python package will also need to be installed. You'll probably also
    want to install the python-docs package, which contains Python
    documentation.

    [root@ip-XXX-XXX-XX-XX~]# yum install python-devel
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Downloading header for python-devel to pack into transaction set.
    python-devel-2.4.3-19.el5 100% |=========================| 148 kB 00:00
    ---> Package python-devel.i386 0:2.4.3-19.el5 set to be updated
    --> Running transaction check
    --> Processing Dependency: python = 2.4.3-19.el5 for package: python-devel
    --> Finished Dependency Resolution
    Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    python-devel

    [root@ip-XXX-XXX-XX-XXX ~]# rpm -qal | grep -i libg2c | less
    /usr/lib/libg2c.so.0
    /usr/lib/libg2c.so.0.0.0
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libg2c.a
    /usr/lib/gcc/i386-redhat-linux/3.4.6/libg2c.so

    [root@ip-XXX-XXX-XX-XX~]# yum install compat-libf2c-34-3.4.6-4.i386.rpm
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Examining compat-libf2c-34-3.4.6-4.i386.rpm: compat-libf2c-34 - 3.4.6-4.i386
    compat-libf2c-34-3.4.6-4.i386.rpm: does not update installed package.
    Nothing to do




  13. Re: missing dependency is actually there

    On Wed, 23 Jul 2008 14:47:07 -0400, TriAdmin typed this message:

    >>>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>>> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>>>>>>>> Failed dependencies:
    >>>>>>>>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>>>>>>>> libg2c.so.0 is needed by Numeric-24.2-1.i586
    >>>>>>>>
    >>>>>>>>
    >>>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>>> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm
    >>>>>>>> /usr/bin cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >>>>>>>>
    >>>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>>> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>>>>>>>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature:
    >>>>>>>>> NOKEY, key ID 4f2a6fd2
    >>>>>>>>> Preparing...
    >>>>>>>>> ########################################### [100%]
    >>>>>>>>> package python-2.4.3-19.el5 (which is newer than
    >>>>>>>>> python-2.4.2-3.2.1)
    >>>>>>>>> is already installed
    >>>>>>>>
    >>>>>>>> I think you need the python-devel rpm
    >>>>>>>>
    >>>>>>>> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>>>>>
    >>>>>>>>
    >>> Thanks for your help. I am using this with drupal memtracker modules
    >>> and here's what it says:
    >>> 1. After unpacking the memetracker and machinelearningapi modules,
    >>> download and install Python Numeric and Pycluster. Python Numeric is a
    >>> dependancy of Pycluster and must be installed first. Note, Python
    >>> NumPy has replaced Python Numeric but Pycluster has not been upgraded
    >>> to use NumPy. Numeric is still required.
    >>>
    >>> Python Numeric can be downloaded here:
    >>> http://sourceforge.net/project/showfiles.php?

    >> group_id=1369&package_id=1351&release_id=370308
    >>>
    >>> Pycluster can be downloaded here:
    >>> http://bonsai.ims.u-tokyo.ac.jp/~mde...tware/cluster/

    >> software.htm#pycluster
    >>>
    >>> So it seems I still need Numeric but I can't seem to install it.
    >>>
    >>> I did yum search and found numpy and could install it right away but
    >>> unfortunately, according to the instructions, I need the older
    >>> version. I am in quite the quandry here.

    >>
    >> Yes, it does seem that way.
    >> Okay you have Python-2.4.3-19.el5 installed
    >>
    >> Do you have Python-devel-2.4.3-19.el5 installed ?
    >>
    >> $ yum search python-devel
    >>
    >> Do you have libg2c.so.0 installed ?
    >>
    >> $ rpm -qal | grep -i libg | less
    >>
    >>
    >> Component library libg2c.so can be found in Centos package
    >> compat-libf2c-34* or on RPM.Pbone.net
    >>
    >>
    >> http://rpm.pbone.net/index.php3/stat...87/com/compat-
    >> libf2c-34-3.4.6-4.i386.rpm.html
    >>
    >>
    >> http://rpm.pbone.net/index.php3/stat...h/libg2c.so.0()
    >> (64bit)
    >>
    >> or
    >> ftp://mirror.fdcservers.net/centos/5...CentOS/compat-
    >> libf2c-34-3.4.6-4.i386.rpm
    >>
    >> Make sure you have the python-devel and libg2c installed before you try
    >> to install the Numeric package again.
    >>
    >>
    >> $ sudo yum install
    >> ftp://mirror.fdcservers.net/centos/5.1/os/i386/CentOS/
    >> compat-libf2c-34-3.4.6-4.i386.rpm ftp://mirror.fdcservers.net/
    >> centos/5.1/os/i386/CentOS/python-devel-2.4.3-19.el5.i386.rpm ftp://
    >> mirror.fdcservers.net/centos/5.1/os/i386/CentOS/python-
    >> numeric-23.7-2.2.2i386.rpm
    >>
    >>
    >> Of course you could download these files and install locally. Here I
    >> assume you have Centos 5.1 because you have python-2.4.3-19.el5
    >>
    >> And I listed mirror sites for Centos.
    >>
    >> Worse case if you have libg2c.so installed you could download the
    >> Numeric source and try to compile it but it seems to me that the yum
    >> command above should take care of it.

    >
    > Again, many thanks!! Here';s what I get when I run those two commands:
    > [root@ip-XXX-XXX-XX-XXX ~]# yum search python-devel Loading
    > "installonlyn" plugin
    > Setting up repositories
    > update 100% |=========================| 951 B
    > 00:00 extras 100% |=========================| 1.1 kB
    > 00:00 base 100% |=========================| 1.1
    > kB 00:00 turbopanel-base 100% |=========================|
    > 951 B 00:00 addons 100%
    > |=========================| 951 B 00:00 turbopanel-centos5
    > 100% |=========================| 951 B 00:00 Reading repository
    > metadata in from local files
    >
    > python-devel.i386 2.4.3-19.el5 base
    > Matched from:
    > python-devel
    > The Python programming language's interpreter can be extended with
    > dynamically loaded extensions and can be embedded in other programs.
    > This package contains the header files and libraries needed to do these
    > types of tasks.
    >
    > Install python-devel if you want to develop Python extensions. The
    > python package will also need to be installed. You'll probably also
    > want to install the python-docs package, which contains Python
    > documentation.
    >
    > [root@ip-XXX-XXX-XX-XX~]# yum install python-devel Loading
    > "installonlyn" plugin
    > Setting up Install Process
    > Setting up repositories
    > Reading repository metadata in from local files Parsing package install
    > arguments
    > Resolving Dependencies
    > --> Populating transaction set with selected packages. Please wait. --->
    > Downloading header for python-devel to pack into transaction set.
    > python-devel-2.4.3-19.el5 100% |=========================| 148 kB
    > 00:00 ---> Package python-devel.i386 0:2.4.3-19.el5 set to be updated
    > --> Running transaction check
    > --> Processing Dependency: python = 2.4.3-19.el5 for package:
    > python-devel --> Finished Dependency Resolution
    > Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    > python-devel
    >
    > [root@ip-XXX-XXX-XX-XXX ~]# rpm -qal | grep -i libg2c | less
    > /usr/lib/libg2c.so.0
    > /usr/lib/libg2c.so.0.0.0
    > /usr/lib/gcc/i386-redhat-linux/3.4.6/libg2c.a
    > /usr/lib/gcc/i386-redhat-linux/3.4.6/libg2c.so
    >
    > [root@ip-XXX-XXX-XX-XX~]# yum install compat-libf2c-34-3.4.6-4.i386.rpm
    > Loading "installonlyn" plugin
    > Setting up Install Process
    > Setting up repositories
    > Reading repository metadata in from local files Parsing package install
    > arguments
    > Examining compat-libf2c-34-3.4.6-4.i386.rpm: compat-libf2c-34 -
    > 3.4.6-4.i386 compat-libf2c-34-3.4.6-4.i386.rpm: does not update
    > installed package. Nothing to do


    Hmmm, I recognize some of that though confused about what's installed.

    When you tried the # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    rpm reported python-2.4.3-19.el5 was installed.
    But IIRC yum reports neither python or python-devel are installed.

    The grep shows that libg2c.so.0 is installed in /usr/lib/

    Can you confirm whats installed? Run some commands?

    # clean out the yum installed pkgs, pkg hdrs, cache
    $ su -c 'yum clean all'

    # search for all python an Numeric pkgs
    # if the output show "base" instead of
    # "installed" then the pkg isn't installed
    # could be a long output so pipe to
    # a ~/yum_out.txt or use less
    $ yum search python numeric > ~/yum_out.txt

    # anothe check of whats installed
    # if the pkg is missing then its
    # not installe
    $ rpm -qa | grep -i python

    $ rpm -qa | grep -i numeric


    # and just to check your platform
    # i386 vs x86_64
    $ uname -vp

    If python-2.4.3-19.el5 isn't installed then install it along with
    python-devel-2.4.3-19.el5 and python-numeric-*

    Again the assumption is you're using Centos 5.1


  14. Re: missing dependency is actually there

    In news:VYKhk.5453$US3.5279@bignews2.bellsouth.net,
    TriAdmin typed:

    ....
    > [root@ip-XXX-XXX-XX-XX~]# yum install python-devel
    > Loading "installonlyn" plugin

    ...
    > Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    > python-devel


    Try:
    yum --noplugins install python-devel



  15. Re: missing dependency is actually there


    "noi ance" wrote in message
    news:l9Phk.7198$vn7.6776@flpi147.ffdc.sbc.com...
    > On Wed, 23 Jul 2008 14:47:07 -0400, TriAdmin typed this message:
    >
    >>>>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>>>> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>>>>>>>>> Failed dependencies:
    >>>>>>>>>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>>>>>>>>> libg2c.so.0 is needed by Numeric-24.2-1.i586
    >>>>>>>>>
    >>>>>>>>>
    >>>>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>>>> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm
    >>>>>>>>> /usr/bin cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'? n
    >>>>>>>>>
    >>>>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>>>> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>>>>>>>>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature:
    >>>>>>>>>> NOKEY, key ID 4f2a6fd2
    >>>>>>>>>> Preparing...
    >>>>>>>>>> ########################################### [100%]
    >>>>>>>>>> package python-2.4.3-19.el5 (which is newer than
    >>>>>>>>>> python-2.4.2-3.2.1)
    >>>>>>>>>> is already installed
    >>>>>>>>>
    >>>>>>>>> I think you need the python-devel rpm
    >>>>>>>>>
    >>>>>>>>> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>>>>>>
    >>>>>>>>>
    >>>> Thanks for your help. I am using this with drupal memtracker modules
    >>>> and here's what it says:
    >>>> 1. After unpacking the memetracker and machinelearningapi modules,
    >>>> download and install Python Numeric and Pycluster. Python Numeric is a
    >>>> dependancy of Pycluster and must be installed first. Note, Python
    >>>> NumPy has replaced Python Numeric but Pycluster has not been upgraded
    >>>> to use NumPy. Numeric is still required.
    >>>>
    >>>> Python Numeric can be downloaded here:
    >>>> http://sourceforge.net/project/showfiles.php?
    >>> group_id=1369&package_id=1351&release_id=370308
    >>>>
    >>>> Pycluster can be downloaded here:
    >>>> http://bonsai.ims.u-tokyo.ac.jp/~mde...tware/cluster/
    >>> software.htm#pycluster
    >>>>
    >>>> So it seems I still need Numeric but I can't seem to install it.
    >>>>
    >>>> I did yum search and found numpy and could install it right away but
    >>>> unfortunately, according to the instructions, I need the older
    >>>> version. I am in quite the quandry here.
    >>>
    >>> Yes, it does seem that way.
    >>> Okay you have Python-2.4.3-19.el5 installed
    >>>
    >>> Do you have Python-devel-2.4.3-19.el5 installed ?
    >>>
    >>> $ yum search python-devel
    >>>
    >>> Do you have libg2c.so.0 installed ?
    >>>
    >>> $ rpm -qal | grep -i libg | less
    >>>
    >>>
    >>> Component library libg2c.so can be found in Centos package
    >>> compat-libf2c-34* or on RPM.Pbone.net
    >>>
    >>>
    >>> http://rpm.pbone.net/index.php3/stat...87/com/compat-
    >>> libf2c-34-3.4.6-4.i386.rpm.html
    >>>
    >>>
    >>> http://rpm.pbone.net/index.php3/stat...h/libg2c.so.0()
    >>> (64bit)
    >>>
    >>> or
    >>> ftp://mirror.fdcservers.net/centos/5...CentOS/compat-
    >>> libf2c-34-3.4.6-4.i386.rpm
    >>>
    >>> Make sure you have the python-devel and libg2c installed before you try
    >>> to install the Numeric package again.
    >>>
    >>>
    >>> $ sudo yum install
    >>> ftp://mirror.fdcservers.net/centos/5.1/os/i386/CentOS/
    >>> compat-libf2c-34-3.4.6-4.i386.rpm ftp://mirror.fdcservers.net/
    >>> centos/5.1/os/i386/CentOS/python-devel-2.4.3-19.el5.i386.rpm ftp://
    >>> mirror.fdcservers.net/centos/5.1/os/i386/CentOS/python-
    >>> numeric-23.7-2.2.2i386.rpm
    >>>
    >>>
    >>> Of course you could download these files and install locally. Here I
    >>> assume you have Centos 5.1 because you have python-2.4.3-19.el5
    >>>
    >>> And I listed mirror sites for Centos.
    >>>
    >>> Worse case if you have libg2c.so installed you could download the
    >>> Numeric source and try to compile it but it seems to me that the yum
    >>> command above should take care of it.

    >>
    >> Again, many thanks!! Here';s what I get when I run those two commands:
    >> [root@ip-XXX-XXX-XX-XXX ~]# yum search python-devel Loading
    >> "installonlyn" plugin
    >> Setting up repositories
    >> update 100% |=========================| 951 B
    >> 00:00 extras 100% |=========================| 1.1 kB
    >> 00:00 base 100% |=========================| 1.1
    >> kB 00:00 turbopanel-base 100% |=========================|
    >> 951 B 00:00 addons 100%
    >> |=========================| 951 B 00:00 turbopanel-centos5
    >> 100% |=========================| 951 B 00:00 Reading repository
    >> metadata in from local files
    >>
    >> python-devel.i386 2.4.3-19.el5 base
    >> Matched from:
    >> python-devel
    >> The Python programming language's interpreter can be extended with
    >> dynamically loaded extensions and can be embedded in other programs.
    >> This package contains the header files and libraries needed to do these
    >> types of tasks.
    >>
    >> Install python-devel if you want to develop Python extensions. The
    >> python package will also need to be installed. You'll probably also
    >> want to install the python-docs package, which contains Python
    >> documentation.
    >>
    >> [root@ip-XXX-XXX-XX-XX~]# yum install python-devel Loading
    >> "installonlyn" plugin
    >> Setting up Install Process
    >> Setting up repositories
    >> Reading repository metadata in from local files Parsing package install
    >> arguments
    >> Resolving Dependencies
    >> --> Populating transaction set with selected packages. Please wait. --->
    >> Downloading header for python-devel to pack into transaction set.
    >> python-devel-2.4.3-19.el5 100% |=========================| 148 kB
    >> 00:00 ---> Package python-devel.i386 0:2.4.3-19.el5 set to be updated
    >> --> Running transaction check
    >> --> Processing Dependency: python = 2.4.3-19.el5 for package:
    >> python-devel --> Finished Dependency Resolution
    >> Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    >> python-devel
    >>
    >> [root@ip-XXX-XXX-XX-XXX ~]# rpm -qal | grep -i libg2c | less
    >> /usr/lib/libg2c.so.0
    >> /usr/lib/libg2c.so.0.0.0
    >> /usr/lib/gcc/i386-redhat-linux/3.4.6/libg2c.a
    >> /usr/lib/gcc/i386-redhat-linux/3.4.6/libg2c.so
    >>
    >> [root@ip-XXX-XXX-XX-XX~]# yum install compat-libf2c-34-3.4.6-4.i386.rpm
    >> Loading "installonlyn" plugin
    >> Setting up Install Process
    >> Setting up repositories
    >> Reading repository metadata in from local files Parsing package install
    >> arguments
    >> Examining compat-libf2c-34-3.4.6-4.i386.rpm: compat-libf2c-34 -
    >> 3.4.6-4.i386 compat-libf2c-34-3.4.6-4.i386.rpm: does not update
    >> installed package. Nothing to do

    >
    > Hmmm, I recognize some of that though confused about what's installed.
    >
    > When you tried the # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    > rpm reported python-2.4.3-19.el5 was installed.
    > But IIRC yum reports neither python or python-devel are installed.
    >
    > The grep shows that libg2c.so.0 is installed in /usr/lib/
    >
    > Can you confirm whats installed? Run some commands?
    >
    > # clean out the yum installed pkgs, pkg hdrs, cache
    > $ su -c 'yum clean all'
    >
    > # search for all python an Numeric pkgs
    > # if the output show "base" instead of
    > # "installed" then the pkg isn't installed
    > # could be a long output so pipe to
    > # a ~/yum_out.txt or use less
    > $ yum search python numeric > ~/yum_out.txt
    >
    > # anothe check of whats installed
    > # if the pkg is missing then its
    > # not installe
    > $ rpm -qa | grep -i python
    >
    > $ rpm -qa | grep -i numeric
    >
    >
    > # and just to check your platform
    > # i386 vs x86_64
    > $ uname -vp
    >
    > If python-2.4.3-19.el5 isn't installed then install it along with
    > python-devel-2.4.3-19.el5 and python-numeric-*
    >
    > Again the assumption is you're using Centos 5.1


    Thanks again. It is CENTOS 5 and uname -vp gave:
    #1 SMP Mon Mar 5 16:35:19 MSK 2007 i686

    It looks like a later version of python-2.4.3-X is already installed

    [root@ip-XXX-XXX-XX-XX bin]# yum install python-2.4.3-19.el5.i386.rpm
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Examining python-2.4.3-19.el5.i386.rpm: python - 2.4.3-19.el5.i386
    python-2.4.3-19.el5.i386.rpm: does not update installed package.
    Nothing to do
    [root@ip-XXX-XXX-XX-XX bin]# yum install python-devel-2.4.3-19.el5.i386.rpm
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Examining python-devel-2.4.3-19.el5.i386.rpm: python-devel -
    2.4.3-19.el5.i386
    Marking python-devel-2.4.3-19.el5.i386.rpm to be installed
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Package python-devel.i386 0:2.4.3-19.el5 set to be updated
    --> Running transaction check
    --> Processing Dependency: python = 2.4.3-19.el5 for package: python-devel
    --> Finished Dependency Resolution
    Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    python-devel



  16. Re: missing dependency is actually there


    "h.stroph" wrote in message news:g691b6$7tr$1@aioe.org...
    > In news:VYKhk.5453$US3.5279@bignews2.bellsouth.net,
    > TriAdmin typed:
    >
    > ...
    >> [root@ip-XXX-XXX-XX-XX~]# yum install python-devel
    >> Loading "installonlyn" plugin

    > ..
    >> Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    >> python-devel

    >
    > Try:
    > yum --noplugins install python-devel
    >

    thanks. when I try, I get:

    [root@ip-XXX-XXX-XX-XXX ~]# yum --noplugins install python-devel
    Setting up Install Process
    Setting up repositories
    update 100% |=========================| 951 B 00:00
    extras 100% |=========================| 1.1 kB 00:00
    base 100% |=========================| 1.1 kB 00:00
    turbopanel-base 100% |=========================| 951 B 00:00
    addons 100% |=========================| 951 B 00:00
    turbopanel-centos5 100% |=========================| 951 B 00:00
    Reading repository metadata in from local files
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Downloading header for python-devel to pack into transaction set.
    python-devel-2.4.3-19.el5 100% |=========================| 148 kB 00:00
    ---> Package python-devel.i386 0:2.4.3-19.el5 set to be updated
    --> Running transaction check
    --> Processing Dependency: python = 2.4.3-19.el5 for package: python-devel
    --> Finished Dependency Resolution
    Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    python-devel



  17. Re: missing dependency is actually there

    On Thu, 24 Jul 2008 16:10:59 -0400, TriAdmin typed this message:
    >>
    >> Hmmm, I recognize some of that though confused about what's installed.
    >>
    >> When you tried the # rpm -Uvh python-2.4.2-3.2.1.i386.rpm rpm reported
    >> python-2.4.3-19.el5 was installed. But IIRC yum reports neither python
    >> or python-devel are installed.
    >>
    >> The grep shows that libg2c.so.0 is installed in /usr/lib/
    >>
    >> Can you confirm whats installed? Run some commands?
    >>
    >> # clean out the yum installed pkgs, pkg hdrs, cache $ su -c 'yum clean
    >> all'
    >>
    >> # search for all python an Numeric pkgs # if the output show "base"
    >> instead of # "installed" then the pkg isn't installed # could be a
    >> long output so pipe to # a ~/yum_out.txt or use less
    >> $ yum search python numeric > ~/yum_out.txt
    >>
    >> # anothe check of whats installed
    >> # if the pkg is missing then its
    >> # not installe
    >> $ rpm -qa | grep -i python
    >>
    >> $ rpm -qa | grep -i numeric
    >>
    >>
    >> # and just to check your platform
    >> # i386 vs x86_64
    >> $ uname -vp
    >>
    >> If python-2.4.3-19.el5 isn't installed then install it along with
    >> python-devel-2.4.3-19.el5 and python-numeric-*
    >>
    >> Again the assumption is you're using Centos 5.1

    >
    > Thanks again. It is CENTOS 5 and uname -vp gave: #1 SMP Mon Mar 5
    > 16:35:19 MSK 2007 i686
    >
    > It looks like a later version of python-2.4.3-X is already installed
    >
    > [root@ip-XXX-XXX-XX-XX bin]# yum install python-2.4.3-19.el5.i386.rpm
    > Loading "installonlyn" plugin
    > Setting up Install Process
    > Setting up repositories
    > Reading repository metadata in from local files Parsing package install
    > arguments
    > Examining python-2.4.3-19.el5.i386.rpm: python - 2.4.3-19.el5.i386
    > python-2.4.3-19.el5.i386.rpm: does not update installed package. Nothing
    > to do
    > [root@ip-XXX-XXX-XX-XX bin]# yum install
    > python-devel-2.4.3-19.el5.i386.rpm Loading "installonlyn" plugin
    > Setting up Install Process
    > Setting up repositories
    > Reading repository metadata in from local files Parsing package install
    > arguments
    > Examining python-devel-2.4.3-19.el5.i386.rpm: python-devel -
    > 2.4.3-19.el5.i386
    > Marking python-devel-2.4.3-19.el5.i386.rpm to be installed Resolving
    > Dependencies
    > --> Populating transaction set with selected packages. Please wait. --->
    > Package python-devel.i386 0:2.4.3-19.el5 set to be updated --> Running
    > transaction check
    > --> Processing Dependency: python = 2.4.3-19.el5 for package:
    > python-devel --> Finished Dependency Resolution
    > Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    > python-devel


    What does Centos 5 mean? If you mean Centos 5.0 you'll have to use your
    installation CD or look for a repository that has Centos 5.0. I don't
    think Centos 5.0 is supported.

    I don't see output from
    $ rpm -qa | grep -i python
    $ yum search python
    so can't verify installed versions.

    But seems like python isn't installed correctly.

    At this point I suggest you verify that python-2.4.3-19.el5 is the python
    version that is on your Centos CD and is correct for your version of
    Centos.

    Then you can try to replace the Python package using rpm
    $ su -c 'rpm --replacepkgs -Fhv python-2.4.3-19.el5.i386.rpm'

    or
    $ su -c 'rpm --force -Fhv python-2.4.3-19.el5.i386.rpm'




  18. Re: missing dependency is actually there

    On Thu, 24 Jul 2008 16:10:59 -0400, TriAdmin typed this message:

    > "noi ance" wrote in message
    > news:l9Phk.7198$vn7.6776@flpi147.ffdc.sbc.com...
    >> On Wed, 23 Jul 2008 14:47:07 -0400, TriAdmin typed this message:
    >>
    >>>>>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>>>>> # rpm -Uvh Numeric-24.2-1.i586.rpm error:
    >>>>>>>>>>> Failed dependencies:
    >>>>>>>>>>> python-base >= 2.4 is needed by Numeric-24.2-1.i586
    >>>>>>>>>>> libg2c.so.0 is needed by Numeric-24.2-1.i586
    >>>>>>>>>>
    >>>>>>>>>>
    >>>>>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>>>>> # cp /home/adminuser40u/perl_mods/python-2.4.2-3.2.1.i386.rpm
    >>>>>>>>>> /usr/bin cp: overwrite `/usr/bin/python-2.4.2-3.2.1.i386.rpm'?
    >>>>>>>>>> n
    >>>>>>>>>>
    >>>>>>>>>>> [root@ip-XXX.XX.XX.XXX bin]
    >>>>>>>>>> # rpm -Uvh python-2.4.2-3.2.1.i386.rpm
    >>>>>>>>>>> warning: python-2.4.2-3.2.1.i386.rpm: Header V3 DSA signature:
    >>>>>>>>>>> NOKEY, key ID 4f2a6fd2
    >>>>>>>>>>> Preparing...
    >>>>>>>>>>> ########################################### [100%]
    >>>>>>>>>>> package python-2.4.3-19.el5 (which is newer than
    >>>>>>>>>>> python-2.4.2-3.2.1)
    >>>>>>>>>>> is already installed
    >>>>>>>>>>
    >>>>>>>>>> I think you need the python-devel rpm
    >>>>>>>>>>
    >>>>>>>>>> $ sudo rpm -Uhv python-2.4-devel-2.4.2-3.2.1.i386.rpm
    >>>>>>>>>>
    >>>>>>>>>>
    >>>>> Thanks for your help. I am using this with drupal memtracker
    >>>>> modules and here's what it says:
    >>>>> 1. After unpacking the memetracker and machinelearningapi modules,
    >>>>> download and install Python Numeric and Pycluster. Python Numeric is
    >>>>> a dependancy of Pycluster and must be installed first. Note, Python
    >>>>> NumPy has replaced Python Numeric but Pycluster has not been
    >>>>> upgraded to use NumPy. Numeric is still required.
    >>>>>
    >>>>> Python Numeric can be downloaded here:
    >>>>> http://sourceforge.net/project/showfiles.php?
    >>>> group_id=1369&package_id=1351&release_id=370308
    >>>>>
    >>>>> Pycluster can be downloaded here:
    >>>>> http://bonsai.ims.u-tokyo.ac.jp/~mde...tware/cluster/
    >>>> software.htm#pycluster
    >>>>>
    >>>>> So it seems I still need Numeric but I can't seem to install it.
    >>>>>
    >>>>> I did yum search and found numpy and could install it right away but
    >>>>> unfortunately, according to the instructions, I need the older
    >>>>> version. I am in quite the quandry here.
    >>>>
    >>>> Yes, it does seem that way.
    >>>> Okay you have Python-2.4.3-19.el5 installed
    >>>>
    >>>> Do you have Python-devel-2.4.3-19.el5 installed ?
    >>>>
    >>>> $ yum search python-devel
    >>>>
    >>>> Do you have libg2c.so.0 installed ?
    >>>>
    >>>> $ rpm -qal | grep -i libg | less
    >>>>
    >>>>
    >>>> Component library libg2c.so can be found in Centos package
    >>>> compat-libf2c-34* or on RPM.Pbone.net
    >>>>
    >>>>
    >>>> http://rpm.pbone.net/index.php3/stat...87/com/compat-
    >>>> libf2c-34-3.4.6-4.i386.rpm.html
    >>>>
    >>>>
    >>>> http://rpm.pbone.net/index.php3/stat...h/libg2c.so.0()
    >>>> (64bit)
    >>>>
    >>>> or
    >>>> ftp://mirror.fdcservers.net/centos/5...CentOS/compat-
    >>>> libf2c-34-3.4.6-4.i386.rpm
    >>>>
    >>>> Make sure you have the python-devel and libg2c installed before you
    >>>> try to install the Numeric package again.
    >>>>
    >>>>
    >>>> $ sudo yum install
    >>>> ftp://mirror.fdcservers.net/centos/5.1/os/i386/CentOS/
    >>>> compat-libf2c-34-3.4.6-4.i386.rpm ftp://mirror.fdcservers.net/
    >>>> centos/5.1/os/i386/CentOS/python-devel-2.4.3-19.el5.i386.rpm ftp://
    >>>> mirror.fdcservers.net/centos/5.1/os/i386/CentOS/python-
    >>>> numeric-23.7-2.2.2i386.rpm
    >>>>
    >>>>
    >>>> Of course you could download these files and install locally. Here I
    >>>> assume you have Centos 5.1 because you have python-2.4.3-19.el5
    >>>>
    >>>> And I listed mirror sites for Centos.
    >>>>
    >>>> Worse case if you have libg2c.so installed you could download the
    >>>> Numeric source and try to compile it but it seems to me that the yum
    >>>> command above should take care of it.
    >>>
    >>> Again, many thanks!! Here';s what I get when I run those two
    >>> commands: [root@ip-XXX-XXX-XX-XXX ~]# yum search python-devel Loading
    >>> "installonlyn" plugin
    >>> Setting up repositories
    >>> update 100% |=========================| 951 B
    >>> 00:00 extras 100% |=========================| 1.1
    >>> kB
    >>> 00:00 base 100% |=========================| 1.1
    >>> kB 00:00 turbopanel-base 100% |=========================|
    >>> 951 B 00:00 addons 100%
    >>> |=========================| 951 B 00:00 turbopanel-centos5 100%
    >>> |=========================| 951 B 00:00 Reading repository
    >>> metadata in from local files
    >>>
    >>> python-devel.i386 2.4.3-19.el5 base
    >>> Matched from:
    >>> python-devel
    >>> The Python programming language's interpreter can be extended with
    >>> dynamically loaded extensions and can be embedded in other programs.
    >>> This package contains the header files and libraries needed to do
    >>> these types of tasks.
    >>>
    >>> Install python-devel if you want to develop Python extensions. The
    >>> python package will also need to be installed. You'll probably also
    >>> want to install the python-docs package, which contains Python
    >>> documentation.
    >>>
    >>> [root@ip-XXX-XXX-XX-XX~]# yum install python-devel Loading
    >>> "installonlyn" plugin
    >>> Setting up Install Process
    >>> Setting up repositories
    >>> Reading repository metadata in from local files Parsing package
    >>> install arguments
    >>> Resolving Dependencies
    >>> --> Populating transaction set with selected packages. Please wait.
    >>> ---> Downloading header for python-devel to pack into transaction set.
    >>> python-devel-2.4.3-19.el5 100% |=========================| 148 kB
    >>> 00:00 ---> Package python-devel.i386 0:2.4.3-19.el5 set to be updated
    >>> --> Running transaction check
    >>> --> Processing Dependency: python = 2.4.3-19.el5 for package:
    >>> python-devel --> Finished Dependency Resolution Error: Missing
    >>> Dependency: python = 2.4.3-19.el5 is needed by package python-devel
    >>>
    >>> [root@ip-XXX-XXX-XX-XXX ~]# rpm -qal | grep -i libg2c | less
    >>> /usr/lib/libg2c.so.0
    >>> /usr/lib/libg2c.so.0.0.0
    >>> /usr/lib/gcc/i386-redhat-linux/3.4.6/libg2c.a
    >>> /usr/lib/gcc/i386-redhat-linux/3.4.6/libg2c.so
    >>>
    >>> [root@ip-XXX-XXX-XX-XX~]# yum install
    >>> compat-libf2c-34-3.4.6-4.i386.rpm Loading "installonlyn" plugin
    >>> Setting up Install Process
    >>> Setting up repositories
    >>> Reading repository metadata in from local files Parsing package
    >>> install arguments
    >>> Examining compat-libf2c-34-3.4.6-4.i386.rpm: compat-libf2c-34 -
    >>> 3.4.6-4.i386 compat-libf2c-34-3.4.6-4.i386.rpm: does not update
    >>> installed package. Nothing to do

    >>
    >> Hmmm, I recognize some of that though confused about what's installed.
    >>
    >> When you tried the # rpm -Uvh python-2.4.2-3.2.1.i386.rpm rpm reported
    >> python-2.4.3-19.el5 was installed. But IIRC yum reports neither python
    >> or python-devel are installed.
    >>
    >> The grep shows that libg2c.so.0 is installed in /usr/lib/
    >>
    >> Can you confirm whats installed? Run some commands?
    >>
    >> # clean out the yum installed pkgs, pkg hdrs, cache $ su -c 'yum clean
    >> all'
    >>
    >> # search for all python an Numeric pkgs # if the output show "base"
    >> instead of # "installed" then the pkg isn't installed # could be a
    >> long output so pipe to # a ~/yum_out.txt or use less
    >> $ yum search python numeric > ~/yum_out.txt
    >>
    >> # anothe check of whats installed
    >> # if the pkg is missing then its
    >> # not installe
    >> $ rpm -qa | grep -i python
    >>
    >> $ rpm -qa | grep -i numeric
    >>
    >>
    >> # and just to check your platform
    >> # i386 vs x86_64
    >> $ uname -vp
    >>
    >> If python-2.4.3-19.el5 isn't installed then install it along with
    >> python-devel-2.4.3-19.el5 and python-numeric-*
    >>
    >> Again the assumption is you're using Centos 5.1

    >
    > Thanks again. It is CENTOS 5 and uname -vp gave: #1 SMP Mon Mar 5
    > 16:35:19 MSK 2007 i686
    >
    > It looks like a later version of python-2.4.3-X is already installed
    >
    > [root@ip-XXX-XXX-XX-XX bin]# yum install python-2.4.3-19.el5.i386.rpm
    > Loading "installonlyn" plugin
    > Setting up Install Process
    > Setting up repositories
    > Reading repository metadata in from local files Parsing package install
    > arguments
    > Examining python-2.4.3-19.el5.i386.rpm: python - 2.4.3-19.el5.i386
    > python-2.4.3-19.el5.i386.rpm: does not update installed package. Nothing
    > to do
    > [root@ip-XXX-XXX-XX-XX bin]# yum install
    > python-devel-2.4.3-19.el5.i386.rpm Loading "installonlyn" plugin
    > Setting up Install Process
    > Setting up repositories
    > Reading repository metadata in from local files Parsing package install
    > arguments
    > Examining python-devel-2.4.3-19.el5.i386.rpm: python-devel -
    > 2.4.3-19.el5.i386
    > Marking python-devel-2.4.3-19.el5.i386.rpm to be installed Resolving
    > Dependencies
    > --> Populating transaction set with selected packages. Please wait. --->
    > Package python-devel.i386 0:2.4.3-19.el5 set to be updated --> Running
    > transaction check
    > --> Processing Dependency: python = 2.4.3-19.el5 for package:
    > python-devel --> Finished Dependency Resolution
    > Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    > python-devel


    BTW there's a GUI for yum called YUMEX that was pretty good. I stopped
    using it because I use cronjobs for updating and the commandline is
    quicker.

  19. Re: missing dependency is actually there

    TriAdmin wrote:
    > "indhubharathi" wrote in message
    > news:14688c09-e468-4f3a-9513-8446612ba3f4@34g2000hsf.googlegroups.com...
    >> This happens sometimes. One quick solution is to use "--nodeps"
    >> option.
    >>
    >> Try "rpm -Uvh --nodeps Numeric-24.2-1.i586.rpm"
    >>
    >> This will ignore the dependency check.
    >>
    >> Hope this helps.
    >>
    >> Cheers, Indhu

    >
    > Thanks. is there a way to FORCE it to install dependencies?
    >
    >


    Make sure your OS has 'yum', and use that to detect and install dependencies.

    Fair warning: if you're grabbing random binary RPM's from repositories not
    specific to your RedHat version, you may need to rebuild SRPM's or upgrade
    other components as well,

  20. Re: missing dependency is actually there

    noi ance wrote:
    > On Thu, 24 Jul 2008 16:10:59 -0400, TriAdmin typed this message:
    >>> Hmmm, I recognize some of that though confused about what's installed.
    >>>
    >>> When you tried the # rpm -Uvh python-2.4.2-3.2.1.i386.rpm rpm reported
    >>> python-2.4.3-19.el5 was installed. But IIRC yum reports neither python
    >>> or python-devel are installed.
    >>>
    >>> The grep shows that libg2c.so.0 is installed in /usr/lib/
    >>>
    >>> Can you confirm whats installed? Run some commands?
    >>>
    >>> # clean out the yum installed pkgs, pkg hdrs, cache $ su -c 'yum clean
    >>> all'
    >>>
    >>> # search for all python an Numeric pkgs # if the output show "base"
    >>> instead of # "installed" then the pkg isn't installed # could be a
    >>> long output so pipe to # a ~/yum_out.txt or use less
    >>> $ yum search python numeric > ~/yum_out.txt
    >>>
    >>> # anothe check of whats installed
    >>> # if the pkg is missing then its
    >>> # not installe
    >>> $ rpm -qa | grep -i python
    >>>
    >>> $ rpm -qa | grep -i numeric
    >>>
    >>>
    >>> # and just to check your platform
    >>> # i386 vs x86_64
    >>> $ uname -vp
    >>>
    >>> If python-2.4.3-19.el5 isn't installed then install it along with
    >>> python-devel-2.4.3-19.el5 and python-numeric-*
    >>>
    >>> Again the assumption is you're using Centos 5.1

    >> Thanks again. It is CENTOS 5 and uname -vp gave: #1 SMP Mon Mar 5
    >> 16:35:19 MSK 2007 i686
    >>
    >> It looks like a later version of python-2.4.3-X is already installed
    >>
    >> [root@ip-XXX-XXX-XX-XX bin]# yum install python-2.4.3-19.el5.i386.rpm
    >> Loading "installonlyn" plugin
    >> Setting up Install Process
    >> Setting up repositories
    >> Reading repository metadata in from local files Parsing package install
    >> arguments
    >> Examining python-2.4.3-19.el5.i386.rpm: python - 2.4.3-19.el5.i386
    >> python-2.4.3-19.el5.i386.rpm: does not update installed package. Nothing
    >> to do
    >> [root@ip-XXX-XXX-XX-XX bin]# yum install
    >> python-devel-2.4.3-19.el5.i386.rpm Loading "installonlyn" plugin
    >> Setting up Install Process
    >> Setting up repositories
    >> Reading repository metadata in from local files Parsing package install
    >> arguments
    >> Examining python-devel-2.4.3-19.el5.i386.rpm: python-devel -
    >> 2.4.3-19.el5.i386
    >> Marking python-devel-2.4.3-19.el5.i386.rpm to be installed Resolving
    >> Dependencies
    >> --> Populating transaction set with selected packages. Please wait. --->
    >> Package python-devel.i386 0:2.4.3-19.el5 set to be updated --> Running
    >> transaction check
    >> --> Processing Dependency: python = 2.4.3-19.el5 for package:
    >> python-devel --> Finished Dependency Resolution
    >> Error: Missing Dependency: python = 2.4.3-19.el5 is needed by package
    >> python-devel

    >
    > What does Centos 5 mean? If you mean Centos 5.0 you'll have to use your
    > installation CD or look for a repository that has Centos 5.0. I don't
    > think Centos 5.0 is supported.


    CentOS is a rebuild of RHEL, as complete freeware and with the closed source
    bits and trademarks left out. CentOS comes with access to CentOS repositories
    built-in, unlike that ghods-awful version of up2date in grandma's dress with
    big teeth and big ears and fuzz all over that RedHat published as
    'yum-rhn-plugin' in their RHEL 5. To speed all RedHat yum work, use 'reposync'
    to create a local yum-compatible mirror of all RedHat packages and delete
    yum-rhn-plugin the rest of the time.

    Ye ghods, that thing is nasty.

    > I don't see output from
    > $ rpm -qa | grep -i python
    > $ yum search python
    > so can't verify installed versions.
    >
    > But seems like python isn't installed correctly.
    >
    > At this point I suggest you verify that python-2.4.3-19.el5 is the python
    > version that is on your Centos CD and is correct for your version of
    > Centos.
    >
    > Then you can try to replace the Python package using rpm
    > $ su -c 'rpm --replacepkgs -Fhv python-2.4.3-19.el5.i386.rpm'
    >
    > or
    > $ su -c 'rpm --force -Fhv python-2.4.3-19.el5.i386.rpm'
    >
    >


    Don't use --force for this sort of work: --replacepkgs is useful.

    Running 'yum list | less' will also give a lot of useful package information.

+ Reply to Thread
Page 1 of 2 1 2 LastLast