LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-06-2009, 03:46 PM   #1
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
Installing a rpm


I'm trying to install duplicity via a rpm:
Quote:
[root@server ~]# rpm -i duplicity-0.5.18-0.fdr.6.i386.rpm
error: Failed dependencies:
librsync >= 0.9.6 is needed by duplicity-0.5.18-0.fdr.6.i386
librsync.so.1 is needed by duplicity-0.5.18-0.fdr.6.i386
Okay, so I downloaded librsync v0.9.8 and the README says:
Quote:
To build and test librsync from the extracted distribution do;

$ ./configure
$ make all check
I finish ./configure:
Quote:
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating popt/Makefile
config.status: creating testsuite/Makefile
config.status: creating librsync-config.h
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
make all check:
Quote:
signature.test: .........OK
PASS: signature.test
mutate.test: .................................................................................................... OK
PASS: mutate.test
sources.test: .........OK
PASS: sources.test
isprefix.test: OK
PASS: isprefix.test
delta.test: ...........................OK
PASS: delta.test
mksum.test: .........OK
PASS: mksum.test
triple.test: .................................................................................................... ............................................OK
PASS: triple.test
changes.test: OK
PASS: changes.test
==================
All 8 tests passed
==================
make[2]: Leaving directory `/root/librsync-0.9.7/testsuite'
make[1]: Leaving directory `/root/librsync-0.9.7/testsuite'
make[1]: Entering directory `/root/librsync-0.9.7'
make[1]: Leaving directory `/root/librsync-0.9.7'
I get the feeling I'm missing something else, but the README says nothing more about what to do.

Of course the RPM still says
Quote:
[root@server ~]# rpm -i duplicity-0.5.18-0.fdr.6.i386.rpm
error: Failed dependencies:
librsync >= 0.9.6 is needed by duplicity-0.5.18-0.fdr.6.i386
librsync.so.1 is needed by duplicity-0.5.18-0.fdr.6.i386
What did I miss?
 
Old 08-06-2009, 03:49 PM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
RPMs can only see other RPMs. If you install something via source, the RPM database is unaware of it.
Quote:
If you install from the source package, you will also need:

* Python development files, normally found in module 'python-dev'
* librsync development files, normally found in module 'librsync-dev'
Get the librsync from here: http://rpm.pbone.net/index.php3/stat....i386.rpm.html
 
Old 08-06-2009, 03:53 PM   #3
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
I'm using CentOS, which RPM is for that? Tried one and got
Quote:
[root@server ~]# rpm -i librsync-devel-0.9.7-10.fc7.i386.rpm
warning: librsync-devel-0.9.7-10.fc7.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
librsync = 0.9.7-10.fc7 is needed by librsync-devel-0.9.7-10.fc7.i386
librsync.so.1 is needed by librsync-devel-0.9.7-10.fc7.i386
 
Old 08-06-2009, 05:51 PM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Try here then http://dag.wieers.com/rpm/packages/librsync/ note the instruction at the top: These packages are part of DAG RPM Repository and may depend on other packages. Please consider installing Apt and rpmforge-release to automatically install packages and their dependencies. Only use the package for your distribution and architecture.

See also http://centos.karan.org/el4/extras/s...0-0.9.7-2.html & http://packages.sw.be/librsync/ for other options.

Why haven't you configured Yum to download and install packages for you? http://wiki.centos.org/HowTos/Packag...ment/YumOnRHEL
 
Old 08-06-2009, 06:01 PM   #5
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
Quote:
Why haven't you configured Yum to download and install packages for you? http://wiki.centos.org/HowTos/Packag...ment/YumOnRHEL
I already have yum installed, but no one has answered my question/issue about it.

http://www.linuxquestions.org/questi...licity-740013/
 
Old 08-06-2009, 06:22 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I don't use Centos or Duplicity, but I think I may have a solution in your thread.
 
Old 08-06-2009, 08:22 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,980

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
first "rpm -i librsync-devel-0.9.7-10.fc7.i386.rpm" IS NOT MEANT FOR CENTOS 5.3 That is a VERY VERY old Fedora 7 rpm . although the two share some things and SOME Fedora rpm's do work on centOS ( i have a few fedora rpm -- games -- installed . Most will not work .


see the CentOS 5.3 wiki for the "tips and tricks" & "help "
http://wiki.centos.org/

and the how to for setting up the software repos
http://wiki.centos.org/AdditionalResources/Repositories

also here
http://rpm.pbone.net/index.php3/stat....i386.rpm.html

if you do not use yum to install then you will also need the dependencies
libpthread.so.0
python-boto => 0.9d
ncftp => 3.1.9
rtld(GNU_HASH)
rsync
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
python-GnuPGInterface => 0.3.2
python(abi) = 2.4
libc.so.6(GLIBC_2.4)
rpmlib(CompressedFileNames) <= 3.0.4-1
openssh-clients
librsync.so.1
libc.so.6(GLIBC_2.1.3)
/usr/bin/python
libc.so.6
libc.so.6(GLIBC_2.3.4)
gnupg => 1.0.6

Last edited by John VV; 08-06-2009 at 08:30 PM.
 
Old 08-06-2009, 08:30 PM   #8
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
I installed it via yum and it doesn't work:
Quote:
[root@server ~]# duplicity
Traceback (most recent call last):
File "/usr/bin/duplicity", line 29, in ?
from duplicity import collections, commandline, diffdir, dup_temp, \
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 22, in ?
import log, file_naming, path, dup_time, globals, manifest
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 653, in ?
import robust, tarfile, log, selection, globals, gpg, file_naming
File "/usr/lib/python2.4/site-packages/duplicity/gpg.py", line 22, in ?
import GnuPGInterface, misc, log, path
ImportError: No module named GnuPGInterface
 
Old 08-07-2009, 01:29 AM   #9
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,980

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
Quote:
ImportError: No module named GnuPGInterface
GnuPG was not installed
from the dependency list above
gnupg => 1.0.6
 
Old 08-07-2009, 10:45 AM   #10
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
From what I can see, it's already installed:
Quote:
[root@server ~]# yum install gnupg
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* rpmforge: ftp-stud.fht-esslingen.de
* base: styx.biochem.wfubmc.edu
* updates: mirror.skiplink.com
* addons: styx.biochem.wfubmc.edu
* extras: mirror.linux.duke.edu
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Package gnupg-1.4.5-14.i386 already installed and latest version
Nothing to do
[root@server ~]# duplicity
Traceback (most recent call last):
File "/usr/bin/duplicity", line 29, in ?
from duplicity import collections, commandline, diffdir, dup_temp, \
File "/usr/lib/python2.4/site-packages/duplicity/collections.py", line 22, in ?
import log, file_naming, path, dup_time, globals, manifest
File "/usr/lib/python2.4/site-packages/duplicity/path.py", line 653, in ?
import robust, tarfile, log, selection, globals, gpg, file_naming
File "/usr/lib/python2.4/site-packages/duplicity/gpg.py", line 22, in ?
import GnuPGInterface, misc, log, path
ImportError: No module named GnuPGInterface
 
Old 08-07-2009, 02:53 PM   #11
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,980

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
oops it is , But is this prerequisite
python-GnuPGInterface
 
Old 08-10-2009, 04:34 PM   #12
Zeno McDohl
Member
 
Registered: Apr 2005
Location: Saratoga, NY
Distribution: Slackware
Posts: 317

Original Poster
Rep: Reputation: 30
I don't see that in yum.
Quote:
[root@server weekly]# yum search GnuPGInterface
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* rpmforge: fr2.rpmfind.net
* base: mirrors.cmich.edu
* updates: holmes.umflint.edu
* addons: centos.secsup.org
* extras: mirror.newnanutilities.org
Excluding Packages in global exclude list
Finished
Warning: No matches found for: GnuPGInterface
No Matches found
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
checking for particular RPM installed r not before installing other RPM yshashidhar Linux - Newbie 8 10-24-2008 02:06 PM
Installing an rpm...not sure what I'm looking at... cbjhawks Linux - Software 3 03-05-2006 01:21 PM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 03:44 PM
Installing RPM`s BajaNick Linux - Software 2 07-10-2003 11:00 PM
Installing RPM-4 ugge Linux - General 5 04-09-2001 01:43 AM


All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration