Using 'rpm -i' to install a package on CentOS6 but getting dependency error, even though I have installed the dependency, why?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












Operating System = CentOS 6



I'm trying to install a package as follows:



rpm -i package_name.rpm


But I get the following error:



error: Failed dependencies:
sqlite >= 3.7.15 is needed by package_name


However, I've already installed the required dependency as follows:



Opened a browser and navigate to https://www.sqlite.org/download.html, downloaded sqlite-autoconf-3240000.tar.gz and extracted the files:



Then:



cd sqlite-autoconf-3240000
./configure --prefix = /usr/local
./configure
make
make install


I verify that sqlite3 is working as follows:



[root@MyMachine home]# sqlite3
SQLite version 3.24.0 2018-06-04 19:24:41
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite>









share|improve this question



















  • 1




    You source-compiled sqlite3. rpm is looking for the sqlite rpm on which it depends. As it isn't installed, you are getting the error.
    – Nasir Riley
    Aug 15 at 16:24










  • @Nasir Riley Thanks for your comment. So basically your saying that the package_name.rpm I am trying to install has a dependency (i.e. sqlite_package_name.rpm) as part of the installation process. And when it cant be found the installer thinks it hasn't already been installed?
    – MarkMark
    Aug 16 at 9:08










  • Exactly. Jeff Schaller's answer below gives the exact details.
    – Nasir Riley
    Aug 16 at 12:02










  • @Nasir Riley Thank you, I appreciate the help
    – MarkMark
    Aug 16 at 15:40














up vote
1
down vote

favorite












Operating System = CentOS 6



I'm trying to install a package as follows:



rpm -i package_name.rpm


But I get the following error:



error: Failed dependencies:
sqlite >= 3.7.15 is needed by package_name


However, I've already installed the required dependency as follows:



Opened a browser and navigate to https://www.sqlite.org/download.html, downloaded sqlite-autoconf-3240000.tar.gz and extracted the files:



Then:



cd sqlite-autoconf-3240000
./configure --prefix = /usr/local
./configure
make
make install


I verify that sqlite3 is working as follows:



[root@MyMachine home]# sqlite3
SQLite version 3.24.0 2018-06-04 19:24:41
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite>









share|improve this question



















  • 1




    You source-compiled sqlite3. rpm is looking for the sqlite rpm on which it depends. As it isn't installed, you are getting the error.
    – Nasir Riley
    Aug 15 at 16:24










  • @Nasir Riley Thanks for your comment. So basically your saying that the package_name.rpm I am trying to install has a dependency (i.e. sqlite_package_name.rpm) as part of the installation process. And when it cant be found the installer thinks it hasn't already been installed?
    – MarkMark
    Aug 16 at 9:08










  • Exactly. Jeff Schaller's answer below gives the exact details.
    – Nasir Riley
    Aug 16 at 12:02










  • @Nasir Riley Thank you, I appreciate the help
    – MarkMark
    Aug 16 at 15:40












up vote
1
down vote

favorite









up vote
1
down vote

favorite











Operating System = CentOS 6



I'm trying to install a package as follows:



rpm -i package_name.rpm


But I get the following error:



error: Failed dependencies:
sqlite >= 3.7.15 is needed by package_name


However, I've already installed the required dependency as follows:



Opened a browser and navigate to https://www.sqlite.org/download.html, downloaded sqlite-autoconf-3240000.tar.gz and extracted the files:



Then:



cd sqlite-autoconf-3240000
./configure --prefix = /usr/local
./configure
make
make install


I verify that sqlite3 is working as follows:



[root@MyMachine home]# sqlite3
SQLite version 3.24.0 2018-06-04 19:24:41
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite>









share|improve this question















Operating System = CentOS 6



I'm trying to install a package as follows:



rpm -i package_name.rpm


But I get the following error:



error: Failed dependencies:
sqlite >= 3.7.15 is needed by package_name


However, I've already installed the required dependency as follows:



Opened a browser and navigate to https://www.sqlite.org/download.html, downloaded sqlite-autoconf-3240000.tar.gz and extracted the files:



Then:



cd sqlite-autoconf-3240000
./configure --prefix = /usr/local
./configure
make
make install


I verify that sqlite3 is working as follows:



[root@MyMachine home]# sqlite3
SQLite version 3.24.0 2018-06-04 19:24:41
Enter ".help" for usage hints.
Connected to a transient in-memory database.
Use ".open FILENAME" to reopen on a persistent database.
sqlite>






centos software-installation yum rpm sqlite






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 15 at 17:14









Jeff Schaller

32.6k849110




32.6k849110










asked Aug 15 at 15:57









MarkMark

9918




9918







  • 1




    You source-compiled sqlite3. rpm is looking for the sqlite rpm on which it depends. As it isn't installed, you are getting the error.
    – Nasir Riley
    Aug 15 at 16:24










  • @Nasir Riley Thanks for your comment. So basically your saying that the package_name.rpm I am trying to install has a dependency (i.e. sqlite_package_name.rpm) as part of the installation process. And when it cant be found the installer thinks it hasn't already been installed?
    – MarkMark
    Aug 16 at 9:08










  • Exactly. Jeff Schaller's answer below gives the exact details.
    – Nasir Riley
    Aug 16 at 12:02










  • @Nasir Riley Thank you, I appreciate the help
    – MarkMark
    Aug 16 at 15:40












  • 1




    You source-compiled sqlite3. rpm is looking for the sqlite rpm on which it depends. As it isn't installed, you are getting the error.
    – Nasir Riley
    Aug 15 at 16:24










  • @Nasir Riley Thanks for your comment. So basically your saying that the package_name.rpm I am trying to install has a dependency (i.e. sqlite_package_name.rpm) as part of the installation process. And when it cant be found the installer thinks it hasn't already been installed?
    – MarkMark
    Aug 16 at 9:08










  • Exactly. Jeff Schaller's answer below gives the exact details.
    – Nasir Riley
    Aug 16 at 12:02










  • @Nasir Riley Thank you, I appreciate the help
    – MarkMark
    Aug 16 at 15:40







1




1




You source-compiled sqlite3. rpm is looking for the sqlite rpm on which it depends. As it isn't installed, you are getting the error.
– Nasir Riley
Aug 15 at 16:24




You source-compiled sqlite3. rpm is looking for the sqlite rpm on which it depends. As it isn't installed, you are getting the error.
– Nasir Riley
Aug 15 at 16:24












@Nasir Riley Thanks for your comment. So basically your saying that the package_name.rpm I am trying to install has a dependency (i.e. sqlite_package_name.rpm) as part of the installation process. And when it cant be found the installer thinks it hasn't already been installed?
– MarkMark
Aug 16 at 9:08




@Nasir Riley Thanks for your comment. So basically your saying that the package_name.rpm I am trying to install has a dependency (i.e. sqlite_package_name.rpm) as part of the installation process. And when it cant be found the installer thinks it hasn't already been installed?
– MarkMark
Aug 16 at 9:08












Exactly. Jeff Schaller's answer below gives the exact details.
– Nasir Riley
Aug 16 at 12:02




Exactly. Jeff Schaller's answer below gives the exact details.
– Nasir Riley
Aug 16 at 12:02












@Nasir Riley Thank you, I appreciate the help
– MarkMark
Aug 16 at 15:40




@Nasir Riley Thank you, I appreciate the help
– MarkMark
Aug 16 at 15:40










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










You've installed the program, not the dependency. The package_name RPM specifies a dependency on the sqlite RPM, not the sqlite program.



Either install the sqlite RPM (after removing your manually-installed one) or tell RPM to ignore the dependencies while installing package_name: rpm -i --nodeps package_name.rpm.






share|improve this answer




















  • Thank you, very good explanation. I actually got around the sqlite dependency error by doing an rpm -i older_sqlite_version.rpm and then doing an rpm -U older_sqlite_version.rpm before finally doing an rpm -i package_name.rpm which sorted my issues. I appreciate your help, I have a lot to learn about installing software on Unix like systems.
    – MarkMark
    Aug 16 at 15:49











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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
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%2f462772%2fusing-rpm-i-to-install-a-package-on-centos6-but-getting-dependency-error-eve%23new-answer', 'question_page');

);

Post as a guest






























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
3
down vote



accepted










You've installed the program, not the dependency. The package_name RPM specifies a dependency on the sqlite RPM, not the sqlite program.



Either install the sqlite RPM (after removing your manually-installed one) or tell RPM to ignore the dependencies while installing package_name: rpm -i --nodeps package_name.rpm.






share|improve this answer




















  • Thank you, very good explanation. I actually got around the sqlite dependency error by doing an rpm -i older_sqlite_version.rpm and then doing an rpm -U older_sqlite_version.rpm before finally doing an rpm -i package_name.rpm which sorted my issues. I appreciate your help, I have a lot to learn about installing software on Unix like systems.
    – MarkMark
    Aug 16 at 15:49















up vote
3
down vote



accepted










You've installed the program, not the dependency. The package_name RPM specifies a dependency on the sqlite RPM, not the sqlite program.



Either install the sqlite RPM (after removing your manually-installed one) or tell RPM to ignore the dependencies while installing package_name: rpm -i --nodeps package_name.rpm.






share|improve this answer




















  • Thank you, very good explanation. I actually got around the sqlite dependency error by doing an rpm -i older_sqlite_version.rpm and then doing an rpm -U older_sqlite_version.rpm before finally doing an rpm -i package_name.rpm which sorted my issues. I appreciate your help, I have a lot to learn about installing software on Unix like systems.
    – MarkMark
    Aug 16 at 15:49













up vote
3
down vote



accepted







up vote
3
down vote



accepted






You've installed the program, not the dependency. The package_name RPM specifies a dependency on the sqlite RPM, not the sqlite program.



Either install the sqlite RPM (after removing your manually-installed one) or tell RPM to ignore the dependencies while installing package_name: rpm -i --nodeps package_name.rpm.






share|improve this answer












You've installed the program, not the dependency. The package_name RPM specifies a dependency on the sqlite RPM, not the sqlite program.



Either install the sqlite RPM (after removing your manually-installed one) or tell RPM to ignore the dependencies while installing package_name: rpm -i --nodeps package_name.rpm.







share|improve this answer












share|improve this answer



share|improve this answer










answered Aug 15 at 16:29









Jeff Schaller

32.6k849110




32.6k849110











  • Thank you, very good explanation. I actually got around the sqlite dependency error by doing an rpm -i older_sqlite_version.rpm and then doing an rpm -U older_sqlite_version.rpm before finally doing an rpm -i package_name.rpm which sorted my issues. I appreciate your help, I have a lot to learn about installing software on Unix like systems.
    – MarkMark
    Aug 16 at 15:49

















  • Thank you, very good explanation. I actually got around the sqlite dependency error by doing an rpm -i older_sqlite_version.rpm and then doing an rpm -U older_sqlite_version.rpm before finally doing an rpm -i package_name.rpm which sorted my issues. I appreciate your help, I have a lot to learn about installing software on Unix like systems.
    – MarkMark
    Aug 16 at 15:49
















Thank you, very good explanation. I actually got around the sqlite dependency error by doing an rpm -i older_sqlite_version.rpm and then doing an rpm -U older_sqlite_version.rpm before finally doing an rpm -i package_name.rpm which sorted my issues. I appreciate your help, I have a lot to learn about installing software on Unix like systems.
– MarkMark
Aug 16 at 15:49





Thank you, very good explanation. I actually got around the sqlite dependency error by doing an rpm -i older_sqlite_version.rpm and then doing an rpm -U older_sqlite_version.rpm before finally doing an rpm -i package_name.rpm which sorted my issues. I appreciate your help, I have a lot to learn about installing software on Unix like systems.
– MarkMark
Aug 16 at 15:49


















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462772%2fusing-rpm-i-to-install-a-package-on-centos6-but-getting-dependency-error-eve%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?