Using 'rpm -i' to install a package on CentOS6 but getting dependency error, even though I have installed the dependency, why?
Clash 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>
centos software-installation yum rpm sqlite
add a comment |Â
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>
centos software-installation yum rpm sqlite
1
You source-compiledsqlite3
.rpm
is looking for thesqlite
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
add a comment |Â
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>
centos software-installation yum rpm sqlite
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
centos software-installation yum rpm sqlite
edited Aug 15 at 17:14
Jeff Schaller
32.6k849110
32.6k849110
asked Aug 15 at 15:57
MarkMark
9918
9918
1
You source-compiledsqlite3
.rpm
is looking for thesqlite
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
add a comment |Â
1
You source-compiledsqlite3
.rpm
is looking for thesqlite
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
add a comment |Â
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
.
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
add a comment |Â
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
.
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
add a comment |Â
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
.
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
add a comment |Â
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
.
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
.
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
add a comment |Â
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
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
You source-compiled
sqlite3
.rpm
is looking for thesqlite
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