Question

installing rsync no key issue

Asked by: allwebnow

I'm trying to install rsync and am getting this error:

[root@d0527055 ~]# yum -y install rsync xinetd
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package rsync.i386 0:3.0.6-1.el5.rf set to be updated
---> Downloading header for xinetd to pack into transaction set.
xinetd-2.3.14-10.el5.i386 100% |=========================| 7.5 kB    00:00
---> Package xinetd.i386 2:2.3.14-10.el5 set to be updated
--> Running transaction check

Dependencies Resolved

=============================================================================
 Package                 Arch       Version          Repository        Size
=============================================================================
Installing:
 xinetd                  i386       2:2.3.14-10.el5  base              124 k
Updating:
 rsync                   i386       3.0.6-1.el5.rf   dag               366 k

Transaction Summary
=============================================================================
Install      1 Package(s)
Update       1 Package(s)
Remove       0 Package(s)

Total download size: 489 k
Downloading Packages:
(1/1): xinetd-2.3.14-10.e 100% |=========================| 124 kB    00:00
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6


Public key for rsync-3.0.6-1.el5.rf.i386.rpm is not installed

I tried all kinds of ways to install it.  Is there a way to get this key message to away?


Also, I found a question and answer here that is very similar to my warning message, but isn't the same package I'm trying to install.  Again there is some sort of key i need to import or something and I don't knwo where or how to do that.

 http://www.experts-exchange.com/Networking/Unix_Networking/Q_23360229.html#a21507279

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-05-21 at 06:35:03ID24427683
Tags

rsync

,

centos

Topics

Unix Networking

,

CentOS

,

rSync Backup Utility

Participating Experts
2
Points
500
Comments
35

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. rsync with expect
    I am using expect to anticipate a password prompt during an invocation of rsync over ssh. Unfortunately, expect prevents rsync from working properly in some way .. the rsync command has the desired effect when I run it directly, but when it is run by expect, it does nothing. ...
  2. rsync with expect
    I am using expect to anticipate a password prompt during an invocation of rsync over ssh. Unfortunately, expect prevents rsync from working properly in some way .. the rsync command has the desired effect when I run it directly, but when it is run by expect, it does nothing. ...
  3. RSYNC script
    I have the next bash command: rsync -e 'ssh -p22' -avz /home/user/public_html/* user@*.*.162.202:/home/user/public_html After executed, this requires a password, i need a script in php or perl that will automatly do that for me
  4. RSYNC Proxy
    HI, I have a linux server set up that runs a nightly RSYNC job to a remote site to update, However it is also a web server and so is suituated in our DMZ where there is very limited internet access. I was wondeing how I can proxy the RSYNC requests so I dont have to open ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: ai_ja_naiPosted on 2009-05-21 at 15:35:13ID: 24446506

It's not an error, it's a warning. Warnings don't prevent commands from completing. If the command doesn't work, look for an actual error message in the output.

You can clear the warning by importing the GPG key used to sign the package

 

by: allwebnowPosted on 2009-05-21 at 15:38:45ID: 24446525

Nothing installs though.  Warning message or not...The rsync no key message stops everything in its tracks.  There are no other error messages.  It just bumps me back to the command line and doesn't install anything.

 

by: ai_ja_naiPosted on 2009-05-21 at 15:45:23ID: 24446553

Ok, then we'll import the key; there are 2 ways
*via their website
rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

*or slam your install cd in your drive and do the same of above, but with the path to the key located in the root of the cd; this is the best of the two

 

by: allwebnowPosted on 2009-05-21 at 15:53:53ID: 24446604

Ok, So i did this and got conflict errors:  here were my steps.:

[root@d0527055 ~]# wget ftp://rpmfind.net/linux/dag/redhat/el5/en/i386/dag/RPMS/rsync-3.0.6-1.el5.rf.i386.rpm

[root@d0527055 ~]# rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

[root@d0527055 ~]# rpm -i rsync-3.0.6-1.el5.rf.*.rpm                            warning: rsync-3.0.6-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
        file /etc/xinetd.d/rsync from install of rsync-3.0.6-1.el5.rf.i386 conflicts with file from package rsync-2.6.8-3.1.i386
        file /usr/bin/rsync from install of rsync-3.0.6-1.el5.rf.i386 conflicts with file from package rsync-2.6.8-3.1.i386
        file /usr/share/man/man1/rsync.1.gz from install of rsync-3.0.6-1.el5.rf.i386 conflicts with file from package rsync-2.6.8-3.1.i386
        file /usr/share/man/man5/rsyncd.conf.5.gz from install of rsync-3.0.6-1.el5.rf.i386 conflicts with file from package rsync-2.6.8-3.1.i386

 

by: allwebnowPosted on 2009-05-21 at 16:04:32ID: 24446659

I guess I already have rsync setup on this server 2.6.8-3?  If so, how do I fix this so i can do other yum functions?  Can I uninstall and re-install it?  If so, how?

 

by: darrickhartmanPosted on 2009-05-22 at 07:07:01ID: 24451069

The DAG repository is a horrible mess.  Packages will conflict with the base (you should use the protectbase option in yum).  Packages may not be kept current.  Only use DAG if you absolutely must.  Also, limit the packages by using an 'include' line in your DAG.repo file.  That's the biggest source of the problem.

Any reason in particular feature you're trying to solve by going to rsync-3.0?

 

by: ai_ja_naiPosted on 2009-05-22 at 09:14:01ID: 24452590

Go to the folder where you downloaded the rpm package and issue

rpm -e rsync-3.0.6-1.el5.rf.i386.rpm

Then, after you sourced the GPG key, use YUM

 

by: allwebnowPosted on 2009-05-22 at 09:18:21ID: 24452635

i get:
error: package rsync-3.0.6-1.el5.rf.i386.rpm is not installed

 

by: allwebnowPosted on 2009-05-22 at 09:19:27ID: 24452646

The DAG repository is a horrible mess.  Packages will conflict with the base (you should use the protectbase option in yum).  Packages may not be kept current.  Only use DAG if you absolutely must.  Also, limit the packages by using an 'include' line in your DAG.repo file.  That's the biggest source of the problem.

Any reason in particular feature you're trying to solve by going to rsync-3.0?

I didn't know there was "I guess" already an rsync version on the server.  But now it's too late and now no yum functions work and that's where I'm at now.

 

by: darrickhartmanPosted on 2009-05-22 at 09:20:19ID: 24452661

Do rpm -qa |grep rsync to see what is installed.

Next do rpm -e <package> as produced by the rpm -qa command.  You don't need the .rpm when erasing the rpm from the system.

 

by: allwebnowPosted on 2009-05-22 at 09:26:39ID: 24452708

-bash: -qa: command not found

fyi,  I'm on a vps so I don't know if that matters or not.

 

by: darrickhartmanPosted on 2009-05-22 at 10:12:12ID: 24453115

rpm is the command -qa is the option

 

by: allwebnowPosted on 2009-05-22 at 10:14:18ID: 24453137

ahh, i didn't see the rpm in there.

rsync-2.6.8-3.1

 

by: allwebnowPosted on 2009-05-22 at 10:15:19ID: 24453149

[root@d0527055 ~]# rpm -e rsync-2.6.8-3.1
error: Failed dependencies:
        rsync is needed by (installed) exim-4.69-23.1_cpanel_maildir.i386

 

by: darrickhartmanPosted on 2009-05-22 at 10:21:09ID: 24453198

you don't want to remove that one.  You want to remove the 3.0.X version.  If that's not shown when you run 'rpm -qa |grep rsync' then the 3.0 version is not installed (and your problem with yum is elsewhere).

By the way, rpm's from DAG or other repositories are NOT designed to be installed by downloading them and installing them the way you are trying to do.  If you want to use an additional repository, add that to your /etc/yum.repos.d/ directory and enable it.

What errors do you see when you run 'yum update'?

 

by: allwebnowPosted on 2009-05-22 at 10:25:49ID: 24453235

after i run yum update i get the y/No prompt and I type y.

Then I get this:


Transaction Summary
=============================================================================
Install     10 Package(s)
Update     128 Package(s)
Remove       0 Package(s)

Total download size: 122 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6


Public key for rsync-3.0.6-1.el5.rf.i386.rpm is not installed

 

by: allwebnowPosted on 2009-05-22 at 10:26:34ID: 24453240

also, i get this:

rpm -e rsync-3.0.6-1
error: package rsync-3.0.6-1 is not installed

 

by: darrickhartmanPosted on 2009-05-22 at 10:30:22ID: 24453274

Ok.  rsync-3.0.6-1 is NOT installed.  There are also no errors with your yum configuration.

What exactly is the problem you're trying to solve?  rsync-3.0.6-1 is not installed on your system.  rsync-2.6.x is installed and probably works just fine.

I don't think you have a problem.

Are there other packages you'd like to install?  I'd look at using yum.  There are many resources on using yum to install and update packages.

 

by: allwebnowPosted on 2009-05-22 at 10:34:04ID: 24453301

well, yum update says it has to install and update this below.  I say yes and it never gets installed or updated becuase of this warning message about rsync.  That's my issue.

Install     10 Package(s)
Update     128 Package(s)
Remove       0 Package(s)

Total download size: 122 M
Is this ok [y/N]:

 

by: darrickhartmanPosted on 2009-05-22 at 10:36:13ID: 24453326

what exact errors do you see if you enter 'y'?

 

by: allwebnowPosted on 2009-05-22 at 10:55:05ID: 24453504

is this right?

[root@d0527055 ~]# yum update y
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
dag                       100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
updates                   100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Could not find update match for y
No Packages marked for Update/Obsoletion

 

by: darrickhartmanPosted on 2009-05-22 at 10:58:48ID: 24453542

No.  I didn't think I had to type out every exact command...

yum update

then when it says y or N, press y

Then what are the errors?

Please read some resources about using yum.  There are many on the internet.  You need some basic understanding about what you're trying to do.  You may be prompted to import a gpg key when you run 'yum update' the first time.  Say y there too.

 

by: allwebnowPosted on 2009-05-22 at 12:44:00ID: 24454495

I don't know how many times I have to repeat this.  It says this (as stated above several times):

Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6


Public key for rsync-3.0.6-1.el5.rf.i386.rpm is not installed

 

by: darrickhartmanPosted on 2009-05-22 at 21:04:42ID: 24456659

You don't have the gpg key installed for the rpmforge repository.  You can do that by running this command:

rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt

As I mentioned above though, you really should be very careful when using that repository.  I strongly urge you to use priorities as described here:

http://wiki.centos.org/PackageManagement/Yum/Priorities

This will ensure that packages maintained in the CentOS base are not overwritten by packages from the DAG or rpmforge repository.

 

by: ai_ja_naiPosted on 2009-05-23 at 01:31:26ID: 24457160

what about if you do

yum update rsync

?

 

by: darrickhartmanPosted on 2009-05-23 at 06:36:03ID: 24457797

ai_ja_nai:

The gpg-key is still not going to be installed unless he imports it.  He could never state why he wanted to install rsync from the DAG/rpmforge repository.

 

by: allwebnowPosted on 2009-05-23 at 07:39:09ID: 24457969

ai_ja_nai:

"The gpg-key is still not going to be installed unless he imports it."

DO you mean this:

[root@d0527055 ~]# rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5

[root@d0527055 ~]# rpm -i rsync-3.0.6-1.el5.rf.*.rpm                            warning: rsync-3.0.6-1.el5.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
        file /etc/xinetd.d/rsync from install of rsync-3.0.6-1.el5.rf.i386 conflicts with file from package rsync-2.6.8-3.1.i386
        file /usr/bin/rsync from install of rsync-3.0.6-1.el5.rf.i386 conflicts with file from package rsync-2.6.8-3.1.i386
        file /usr/share/man/man1/rsync.1.gz from install of rsync-3.0.6-1.el5.rf.i386 conflicts with file from package rsync-2.6.8-3.1.i386
        file /usr/share/man/man5/rsyncd.conf.5.gz from install of rsync-3.0.6-1.el5.rf.i386 conflicts with file from package rsync-2.6.8-3.1.i386

If not, I don't know how to import it, and even if I tried it probably still wouldn't work.

quote: "He could never state why he wanted to install rsync from the DAG/rpmforge repository."

Again, I appearantly didn't need to install it in the first place because it was already on the server.  Here were my original steps.  

I logged into the server for the first time and ran: yum install rsync

Then the warning messages above happened after that, probably because it was already installed on the system.  So then I did some searching and found this: http://www.experts-exchange.com/Networking/Unix_Networking/Q_23360229.html#a21507279

that said to download the rpm and manually install it that way, so i tried it but got similar errors (it's all in this post)  In the mean time, I tried other yum commands to update yum to see if that would fix things in general and then found I was stopped in my tracks for all yum commands.   Myabe I'm still not clear...if not please let me know what I'm leaving out.

 

by: ai_ja_naiPosted on 2009-05-23 at 08:30:18ID: 24458141

allwebnow, stop trying to install that rsync package you downloaded. Delete it.

type "yum update rsync", as I typed, and post the results please

 

by: allwebnowPosted on 2009-05-23 at 08:43:08ID: 24458176

same

Install      0 Package(s)
Update       1 Package(s)
Remove       0 Package(s)

Total download size: 366 k
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID 6b8d79e6


Public key for rsync-3.0.6-1.el5.rf.i386.rpm is not installed

 

by: darrickhartmanPosted on 2009-05-23 at 08:47:03ID: 24458195

Someone installed the DAG or rpmforge repository. Sounds like you don't need it or don't want to use it. You can disable it by editing the appropriate .repo file in /etc/yum.repo.d. It will likely be DAG.repo or rpmforge.repo. Change the enabled like to =0. Then yum update will work correctly.

 

by: darrickhartmanPosted on 2009-05-23 at 08:58:16ID: 24458249

Afew comments back I gave you the exact command to import the gpg-key for DAG. If you ran that command you wouldn't have the warning eithe
r.

 

by: allwebnowPosted on 2009-05-23 at 10:53:40ID: 24458767

[root@d0527055 ~]# rpm --import http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt
error: http://dag.wieers.com/packages/RPM-GPG-KEY.dag.txt: import read failed(-1).
warning: u 0x806ee28 ctrl 0x806fc50 nrefs != 0 (dag.wieers.com http)

 

by: ai_ja_naiPosted on 2009-05-24 at 07:35:24ID: 24461747

why don't you simply change repository?

 

by: darrickhartmanPosted on 2009-05-24 at 07:48:53ID: 24461785

I gave him instructions on how to disable it but that was ignored too. There's enough info to solve his question. He's just using selective reading. Good luck

 

by: allwebnowPosted on 2009-05-26 at 06:25:16ID: 24472957

I simply didn't see the post and skimmed over.  I've disabled it and it's now working.  Thanks guys.  It was a holiday this weekend so was very crazy...thus the "selective reading"

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...