Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm try to install the sqlite-devel package on a Red Hat 4.1.2-51 x86_64 Linux server with rpm command:

# rpm -i ftp://ftp.muug.mb.ca/mirror/fedora/epel/4/x86_64/sqlite-devel-3.3.6-0.3.el4.x86_64.rpm
warning: /var/tmp/rpm-xfer.2rFvHg: Header V3 DSA signature: NOKEY, key ID 217521f6
error: Failed dependencies:
        sqlite = 3.3.6-0.3.el4 is needed by sqlite-devel-3.3.6-0.3.el4.x86_64

When I chek the version I get this:

# rpm -V sqlite -v
S.5.....    /usr/bin/sqlite3
........    /usr/lib64/libsqlite3.so.0
S.5.....    /usr/lib64/libsqlite3.so.0.8.6
........    /usr/share/doc/sqlite-3.3.6
........  d /usr/share/doc/sqlite-3.3.6/README
........  d /usr/share/man/man1/sqlite3.1.gz
........    /usr/bin/sqlite3
........    /usr/lib/libsqlite3.so.0
........    /usr/lib/libsqlite3.so.0.8.6
........    /usr/share/doc/sqlite-3.3.6
........  d /usr/share/doc/sqlite-3.3.6/README
........  d /usr/share/man/man1/sqlite3.1.gz

I try to install sqlite to local directory but unsuccessful:

# rpm -i --prefix=/home2/domain/soft/ ftp://ftp.muug.mb.ca/mirror/fedora/epel/4/x86_64/sqlite-3.3.6-0.3.el4.x86_64.rpm
warning: /var/tmp/rpm-xfer.VZmRAA: Header V3 DSA signature: NOKEY, key ID 217521f6
error: package sqlite is not relocatable

How can I install this package?

share|improve this question
    
well, I try use sqlite-devel-3.3.6-2.x86_64.rpm package and I understand that sqlite-devel package is not relocatable too. When I try rpm -V sqlite-devel -v I see that this package actually install! –  Allur Nov 27 '11 at 19:33
add comment

migrated from stackoverflow.com Nov 28 '11 at 11:49

This question came from our site for professional and enthusiast programmers.

1 Answer

Can't you just use the --nodeps option to install it without complaining? If sqlite-devel really does require sqlite however, you should download both rpm's in a folder and run rpm-iVh sqlite*.rpm so it auto-resolve its own dependencies.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.