LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum not seeing duplicity (https://www.linuxquestions.org/questions/linux-newbie-8/yum-not-seeing-duplicity-740013/)

Zeno McDohl 07-14-2009 11:32 AM

yum not seeing duplicity
 
I have CentOS running on 2 servers, both with yum 3.2.19. duplicity is showing up on one server but not the other. I checked the repolist and they match:

Server1:
Code:

[root@localhost yum.repos.d]# yum repolist all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: pubmirrors.reflected.net
 * updates: mirror.atlanticmetro.net
 * addons: chi-10g-1-mirror.fastsoft.net
 * extras: mirrors.greenmountainaccess.net
repo id              repo name                                status
addons              CentOS-5 - Addons                        enabled:      0
base                CentOS-5 - Base                          enabled:  2,508
c5-media            CentOS-5 - Media                        disabled
centosplus          CentOS-5 - Plus                          disabled
contrib              CentOS-5 - Contrib                      disabled
extras              CentOS-5 - Extras                        enabled:    311
updates              CentOS-5 - Updates                      enabled:    339
repolist: 3,158

Server2:
Code:

[root@server yum.repos.d]# yum repolist all
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.sanctuaryhost.com
 * updates: mirror.trouble-free.net
 * addons: mirror.skiplink.com
 * extras: mirror.atlanticmetro.net
repo id              repo name                                status
addons              CentOS-5 - Addons                        enabled:      0
base                CentOS-5 - Base                          enabled:  2,508
c5-media            CentOS-5 - Media                        disabled
centosplus          CentOS-5 - Plus                          disabled
contrib              CentOS-5 - Contrib                      disabled
extras              CentOS-5 - Extras                        enabled:    311
updates              CentOS-5 - Updates                      enabled:    339
repolist: 3,158

Server1 sees duplicity in yum:
Code:

[root@localhost yum.repos.d]# yum search duplicity
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: pubmirrors.reflected.net
 * updates: mirror.atlanticmetro.net
 * addons: chi-10g-1-mirror.fastsoft.net
 * extras: mirrors.greenmountainaccess.net
============================================================ Matched: duplicity =============================================================
duplicity.i386 : Encrypted bandwidth-efficient backup using rsync algorithm

Server2 does not see duplicity:

Code:

[root@server yum.repos.d]# yum search duplicity
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.sanctuaryhost.com
 * updates: mirror.trouble-free.net
 * addons: mirror.skiplink.com
 * extras: mirror.atlanticmetro.net
Finished
Warning: No matches found for: duplicity
No Matches found

What am I missing (trying to get duplicity using yum on Server2)? I know the mirrors are different, but I didn't think that would matter if the repos are the same. I've tried a clean all, didn't help.

viGeek 07-14-2009 08:39 PM

Mirror's as you said should all have the same files for the most part.

I would use the mirror your main server is utilizing and then adding that to your yum repos manually to see if it will pull in.

Zeno McDohl 07-14-2009 09:31 PM

Quote:

I would use the mirror your main server is utilizing and then adding that to your yum repos manually to see if it will pull in.
I figured, but how do I do that?

Zeno McDohl 07-23-2009 01:03 PM

Any ideas?

XavierP 08-06-2009 05:22 PM

http://www.cyberciti.biz/faq/rhel-li...-installation/ and have a look at https://rpmrepo.org/RPMforge to set up Yum to use Dag's repos.

Zeno McDohl 08-06-2009 06:04 PM

Installed Dag's repos, installed it via yum. It doesn't work though.
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
Shouldn't yum install all dependencies? It seems like there's something missing?


All times are GMT -5. The time now is 07:27 PM.