Upgrading Berkeley DB rpm in a Centos OShttpd-devel requires outdated version of glibc-common on CentOS...

Connecting circles clockwise in TikZ

Is my company merging branches wrong?

Separate the element after every 2nd ',' and push into next row in bash

Filter a file list against an integer array?

How to tease a romance without a cat and mouse chase?

Story about encounter with hostile aliens

How does the +1 Keen Composite Longbow (+2 Str) work?

Eigenvalues of the Laplace-Beltrami operator on a compact Riemannnian manifold

Way of refund if scammed?

How to safely discharge oneself

Department head said that group project may be rejected. How to mitigate?

Existence of a model of ZFC in which the natural numbers are really the natural numbers

How could Dwarves prevent sand from filling up their settlements

What quantum phenomena violate the superposition principle in electromagnetism?

List of lists elementwise greater/smaller than

Parse a C++14 integer literal

If you attack a Tarrasque while swallowed, what AC do you need to beat to hit it?

Is it wise to pay off mortgage with 401k?

Is there a realtime, uncut video of Saturn V ignition through tower clear?

Barron states that 4.18×10⁸ joules equal 1 kcal, is this correct?

Expand a hexagon

Buying a Mountain Bike from a friend

Ribbon Cable Cross Talk - Is there a fix after the fact?

How would a physicist explain this starship engine?



Upgrading Berkeley DB rpm in a Centos OS


httpd-devel requires outdated version of glibc-common on CentOS 6.3Java update on CentosWhat does EL5 and EL6 means in term of packages?CentOS 6.4 rpm requires el5 but available is only el6Build CentOS RPM for current git release, unsuccessful rebuild with alternate prefixRPM dependency conflict between libX11 and libxcbCan Python 2.6.6 work with CentOS 7.3?RHEL 6: failing on dependencies for updating qgis rpmHow to manually force reload of files from an RPM package?How to resolve Transaction check error while installing xrdp?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















I have a software which needs Berkeley DB 4.5 or above.



But in my CentOS 5.11 x86_64 Server I have:




  • Package db4-4.3.29-10.el5_5.2.x86_64 already installed and latest version

  • Package db4-4.3.29-10.el5_5.2.i386 already installed and latest version


How can I upgrade these rpm to a newer version?
I tried to upgrade using Centos 6.6 rpm in this way:



rpm -Uvh ftp://195.220.108.108/linux/centos/6.6/os/x86_64/Packages/db4-4.7.25-18.el6_4.i686.rpm


but I receive this error:



Retrieving ftp://195.220.108.108/linux/centos/6.6/os/x86_64/Packages/db4-4.7.25-18.el6_4.i686.rpm
warning: /var/tmp/rpm-xfer.IKWqHE: Header V3 RSA/SHA1 signature: NOKEY, key ID c105b9de
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by db4-4.7.25-18.el6_4.i686
rpmlib(PayloadIsXz) <= 5.2-1 is needed by db4-4.7.25-18.el6_4.i686
db4 >= 4.4.0 conflicts with pam-0.99.6.2-12.el5.i386
db4 >= 4.4.0 conflicts with pam-0.99.6.2-12.el5.x86_64
libdb-4.3.so is needed by (installed) subversion-1.6.11-12.el5_10.i386
libdb-4.3.so is needed by (installed) pam_ccreds-3-5.i386
libdb-4.3.so is needed by (installed) apr-util-1.2.7-11.el5_5.2.i386
libdb-4.3.so is needed by (installed) db4-devel-4.3.29-10.el5_5.2.i386
libdb_cxx-4.3.so is needed by (installed) db4-devel-4.3.29-10.el5_5.2.i386


I also tried to compile from source db-4.5.20.tar.gz. I compiled it with no problem, however my software is still seeing the Berkley DB preinstalled in rpm package db4-4.3.29.



Any help please ?










share|improve this question
















bumped to the homepage by Community 44 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You can try to rebuild a BDB source rpm into a BDB binary rpm. This will probably succeed, since BDB doesn't have much by way of dependencies. However, you should be careful that the applications you are using with the current version of BDB don't break when you upgrade BDB.

    – Faheem Mitha
    Jan 28 '15 at 16:13













  • I have no idea how to do this, could you guide me please ?

    – gr68
    Jan 28 '15 at 16:14











  • It's a long time since I have used an RPM based distribution, but your first step should be to find a source rpm which corresponds to the version you want. Then install it. Then you may need to adjust the spec file.

    – Faheem Mitha
    Jan 28 '15 at 16:18











  • truly I do not understand what to do, however thank you for help.

    – gr68
    Jan 28 '15 at 16:20






  • 1





    It looks like you are on CentOS 5 and trying to mix in RPM's from CentOS 6. That is typically bad as it will create conflicts. Secondly, pam-0.99 is set to not allow the version of bdb that you want. That is the problem you should try to take care of.

    – Claris
    Jan 29 '15 at 0:04


















1















I have a software which needs Berkeley DB 4.5 or above.



But in my CentOS 5.11 x86_64 Server I have:




  • Package db4-4.3.29-10.el5_5.2.x86_64 already installed and latest version

  • Package db4-4.3.29-10.el5_5.2.i386 already installed and latest version


How can I upgrade these rpm to a newer version?
I tried to upgrade using Centos 6.6 rpm in this way:



rpm -Uvh ftp://195.220.108.108/linux/centos/6.6/os/x86_64/Packages/db4-4.7.25-18.el6_4.i686.rpm


but I receive this error:



Retrieving ftp://195.220.108.108/linux/centos/6.6/os/x86_64/Packages/db4-4.7.25-18.el6_4.i686.rpm
warning: /var/tmp/rpm-xfer.IKWqHE: Header V3 RSA/SHA1 signature: NOKEY, key ID c105b9de
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by db4-4.7.25-18.el6_4.i686
rpmlib(PayloadIsXz) <= 5.2-1 is needed by db4-4.7.25-18.el6_4.i686
db4 >= 4.4.0 conflicts with pam-0.99.6.2-12.el5.i386
db4 >= 4.4.0 conflicts with pam-0.99.6.2-12.el5.x86_64
libdb-4.3.so is needed by (installed) subversion-1.6.11-12.el5_10.i386
libdb-4.3.so is needed by (installed) pam_ccreds-3-5.i386
libdb-4.3.so is needed by (installed) apr-util-1.2.7-11.el5_5.2.i386
libdb-4.3.so is needed by (installed) db4-devel-4.3.29-10.el5_5.2.i386
libdb_cxx-4.3.so is needed by (installed) db4-devel-4.3.29-10.el5_5.2.i386


I also tried to compile from source db-4.5.20.tar.gz. I compiled it with no problem, however my software is still seeing the Berkley DB preinstalled in rpm package db4-4.3.29.



Any help please ?










share|improve this question
















bumped to the homepage by Community 44 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
















  • You can try to rebuild a BDB source rpm into a BDB binary rpm. This will probably succeed, since BDB doesn't have much by way of dependencies. However, you should be careful that the applications you are using with the current version of BDB don't break when you upgrade BDB.

    – Faheem Mitha
    Jan 28 '15 at 16:13













  • I have no idea how to do this, could you guide me please ?

    – gr68
    Jan 28 '15 at 16:14











  • It's a long time since I have used an RPM based distribution, but your first step should be to find a source rpm which corresponds to the version you want. Then install it. Then you may need to adjust the spec file.

    – Faheem Mitha
    Jan 28 '15 at 16:18











  • truly I do not understand what to do, however thank you for help.

    – gr68
    Jan 28 '15 at 16:20






  • 1





    It looks like you are on CentOS 5 and trying to mix in RPM's from CentOS 6. That is typically bad as it will create conflicts. Secondly, pam-0.99 is set to not allow the version of bdb that you want. That is the problem you should try to take care of.

    – Claris
    Jan 29 '15 at 0:04














1












1








1








I have a software which needs Berkeley DB 4.5 or above.



But in my CentOS 5.11 x86_64 Server I have:




  • Package db4-4.3.29-10.el5_5.2.x86_64 already installed and latest version

  • Package db4-4.3.29-10.el5_5.2.i386 already installed and latest version


How can I upgrade these rpm to a newer version?
I tried to upgrade using Centos 6.6 rpm in this way:



rpm -Uvh ftp://195.220.108.108/linux/centos/6.6/os/x86_64/Packages/db4-4.7.25-18.el6_4.i686.rpm


but I receive this error:



Retrieving ftp://195.220.108.108/linux/centos/6.6/os/x86_64/Packages/db4-4.7.25-18.el6_4.i686.rpm
warning: /var/tmp/rpm-xfer.IKWqHE: Header V3 RSA/SHA1 signature: NOKEY, key ID c105b9de
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by db4-4.7.25-18.el6_4.i686
rpmlib(PayloadIsXz) <= 5.2-1 is needed by db4-4.7.25-18.el6_4.i686
db4 >= 4.4.0 conflicts with pam-0.99.6.2-12.el5.i386
db4 >= 4.4.0 conflicts with pam-0.99.6.2-12.el5.x86_64
libdb-4.3.so is needed by (installed) subversion-1.6.11-12.el5_10.i386
libdb-4.3.so is needed by (installed) pam_ccreds-3-5.i386
libdb-4.3.so is needed by (installed) apr-util-1.2.7-11.el5_5.2.i386
libdb-4.3.so is needed by (installed) db4-devel-4.3.29-10.el5_5.2.i386
libdb_cxx-4.3.so is needed by (installed) db4-devel-4.3.29-10.el5_5.2.i386


I also tried to compile from source db-4.5.20.tar.gz. I compiled it with no problem, however my software is still seeing the Berkley DB preinstalled in rpm package db4-4.3.29.



Any help please ?










share|improve this question
















I have a software which needs Berkeley DB 4.5 or above.



But in my CentOS 5.11 x86_64 Server I have:




  • Package db4-4.3.29-10.el5_5.2.x86_64 already installed and latest version

  • Package db4-4.3.29-10.el5_5.2.i386 already installed and latest version


How can I upgrade these rpm to a newer version?
I tried to upgrade using Centos 6.6 rpm in this way:



rpm -Uvh ftp://195.220.108.108/linux/centos/6.6/os/x86_64/Packages/db4-4.7.25-18.el6_4.i686.rpm


but I receive this error:



Retrieving ftp://195.220.108.108/linux/centos/6.6/os/x86_64/Packages/db4-4.7.25-18.el6_4.i686.rpm
warning: /var/tmp/rpm-xfer.IKWqHE: Header V3 RSA/SHA1 signature: NOKEY, key ID c105b9de
error: Failed dependencies:
rpmlib(FileDigests) <= 4.6.0-1 is needed by db4-4.7.25-18.el6_4.i686
rpmlib(PayloadIsXz) <= 5.2-1 is needed by db4-4.7.25-18.el6_4.i686
db4 >= 4.4.0 conflicts with pam-0.99.6.2-12.el5.i386
db4 >= 4.4.0 conflicts with pam-0.99.6.2-12.el5.x86_64
libdb-4.3.so is needed by (installed) subversion-1.6.11-12.el5_10.i386
libdb-4.3.so is needed by (installed) pam_ccreds-3-5.i386
libdb-4.3.so is needed by (installed) apr-util-1.2.7-11.el5_5.2.i386
libdb-4.3.so is needed by (installed) db4-devel-4.3.29-10.el5_5.2.i386
libdb_cxx-4.3.so is needed by (installed) db4-devel-4.3.29-10.el5_5.2.i386


I also tried to compile from source db-4.5.20.tar.gz. I compiled it with no problem, however my software is still seeing the Berkley DB preinstalled in rpm package db4-4.3.29.



Any help please ?







centos compiling upgrade rpm database






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 28 '16 at 22:34









Tomasz

10.4k73370




10.4k73370










asked Jan 28 '15 at 16:01









gr68gr68

4319




4319





bumped to the homepage by Community 44 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 44 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.















  • You can try to rebuild a BDB source rpm into a BDB binary rpm. This will probably succeed, since BDB doesn't have much by way of dependencies. However, you should be careful that the applications you are using with the current version of BDB don't break when you upgrade BDB.

    – Faheem Mitha
    Jan 28 '15 at 16:13













  • I have no idea how to do this, could you guide me please ?

    – gr68
    Jan 28 '15 at 16:14











  • It's a long time since I have used an RPM based distribution, but your first step should be to find a source rpm which corresponds to the version you want. Then install it. Then you may need to adjust the spec file.

    – Faheem Mitha
    Jan 28 '15 at 16:18











  • truly I do not understand what to do, however thank you for help.

    – gr68
    Jan 28 '15 at 16:20






  • 1





    It looks like you are on CentOS 5 and trying to mix in RPM's from CentOS 6. That is typically bad as it will create conflicts. Secondly, pam-0.99 is set to not allow the version of bdb that you want. That is the problem you should try to take care of.

    – Claris
    Jan 29 '15 at 0:04



















  • You can try to rebuild a BDB source rpm into a BDB binary rpm. This will probably succeed, since BDB doesn't have much by way of dependencies. However, you should be careful that the applications you are using with the current version of BDB don't break when you upgrade BDB.

    – Faheem Mitha
    Jan 28 '15 at 16:13













  • I have no idea how to do this, could you guide me please ?

    – gr68
    Jan 28 '15 at 16:14











  • It's a long time since I have used an RPM based distribution, but your first step should be to find a source rpm which corresponds to the version you want. Then install it. Then you may need to adjust the spec file.

    – Faheem Mitha
    Jan 28 '15 at 16:18











  • truly I do not understand what to do, however thank you for help.

    – gr68
    Jan 28 '15 at 16:20






  • 1





    It looks like you are on CentOS 5 and trying to mix in RPM's from CentOS 6. That is typically bad as it will create conflicts. Secondly, pam-0.99 is set to not allow the version of bdb that you want. That is the problem you should try to take care of.

    – Claris
    Jan 29 '15 at 0:04

















You can try to rebuild a BDB source rpm into a BDB binary rpm. This will probably succeed, since BDB doesn't have much by way of dependencies. However, you should be careful that the applications you are using with the current version of BDB don't break when you upgrade BDB.

– Faheem Mitha
Jan 28 '15 at 16:13







You can try to rebuild a BDB source rpm into a BDB binary rpm. This will probably succeed, since BDB doesn't have much by way of dependencies. However, you should be careful that the applications you are using with the current version of BDB don't break when you upgrade BDB.

– Faheem Mitha
Jan 28 '15 at 16:13















I have no idea how to do this, could you guide me please ?

– gr68
Jan 28 '15 at 16:14





I have no idea how to do this, could you guide me please ?

– gr68
Jan 28 '15 at 16:14













It's a long time since I have used an RPM based distribution, but your first step should be to find a source rpm which corresponds to the version you want. Then install it. Then you may need to adjust the spec file.

– Faheem Mitha
Jan 28 '15 at 16:18





It's a long time since I have used an RPM based distribution, but your first step should be to find a source rpm which corresponds to the version you want. Then install it. Then you may need to adjust the spec file.

– Faheem Mitha
Jan 28 '15 at 16:18













truly I do not understand what to do, however thank you for help.

– gr68
Jan 28 '15 at 16:20





truly I do not understand what to do, however thank you for help.

– gr68
Jan 28 '15 at 16:20




1




1





It looks like you are on CentOS 5 and trying to mix in RPM's from CentOS 6. That is typically bad as it will create conflicts. Secondly, pam-0.99 is set to not allow the version of bdb that you want. That is the problem you should try to take care of.

– Claris
Jan 29 '15 at 0:04





It looks like you are on CentOS 5 and trying to mix in RPM's from CentOS 6. That is typically bad as it will create conflicts. Secondly, pam-0.99 is set to not allow the version of bdb that you want. That is the problem you should try to take care of.

– Claris
Jan 29 '15 at 0:04










1 Answer
1






active

oldest

votes


















0














The somewhat non-obvious answer here is to install Yet Another Version of Berekeley DB in parallel to existing. Then build against the newly installed headers/libraries using -I/usr/include/db-X.Y and -ldb-X.Y flags while building.



The easiest way to avoid the "system" headers (i.e. #include "db.h") and libraries (i.e. -ldb) while building is to (temporarily) uninstall the db4-devel package to ensure that your build uses the -I/usr/include/db-X.Y and -ldb-X.Y flags during the build. Reinstall db4-devel afterwards.






share|improve this answer
























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f181595%2fupgrading-berkeley-db-rpm-in-a-centos-os%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    The somewhat non-obvious answer here is to install Yet Another Version of Berekeley DB in parallel to existing. Then build against the newly installed headers/libraries using -I/usr/include/db-X.Y and -ldb-X.Y flags while building.



    The easiest way to avoid the "system" headers (i.e. #include "db.h") and libraries (i.e. -ldb) while building is to (temporarily) uninstall the db4-devel package to ensure that your build uses the -I/usr/include/db-X.Y and -ldb-X.Y flags during the build. Reinstall db4-devel afterwards.






    share|improve this answer




























      0














      The somewhat non-obvious answer here is to install Yet Another Version of Berekeley DB in parallel to existing. Then build against the newly installed headers/libraries using -I/usr/include/db-X.Y and -ldb-X.Y flags while building.



      The easiest way to avoid the "system" headers (i.e. #include "db.h") and libraries (i.e. -ldb) while building is to (temporarily) uninstall the db4-devel package to ensure that your build uses the -I/usr/include/db-X.Y and -ldb-X.Y flags during the build. Reinstall db4-devel afterwards.






      share|improve this answer


























        0












        0








        0







        The somewhat non-obvious answer here is to install Yet Another Version of Berekeley DB in parallel to existing. Then build against the newly installed headers/libraries using -I/usr/include/db-X.Y and -ldb-X.Y flags while building.



        The easiest way to avoid the "system" headers (i.e. #include "db.h") and libraries (i.e. -ldb) while building is to (temporarily) uninstall the db4-devel package to ensure that your build uses the -I/usr/include/db-X.Y and -ldb-X.Y flags during the build. Reinstall db4-devel afterwards.






        share|improve this answer













        The somewhat non-obvious answer here is to install Yet Another Version of Berekeley DB in parallel to existing. Then build against the newly installed headers/libraries using -I/usr/include/db-X.Y and -ldb-X.Y flags while building.



        The easiest way to avoid the "system" headers (i.e. #include "db.h") and libraries (i.e. -ldb) while building is to (temporarily) uninstall the db4-devel package to ensure that your build uses the -I/usr/include/db-X.Y and -ldb-X.Y flags during the build. Reinstall db4-devel afterwards.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Oct 7 '16 at 12:13









        Jeff JohnsonJeff Johnson

        41624




        41624






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f181595%2fupgrading-berkeley-db-rpm-in-a-centos-os%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

            Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

            Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...