Fedora Linux Support Community & Resources Center
  #1  
Old 15th May 2005, 01:37 AM
brisray Offline
Registered User
 
Join Date: May 2005
Location: Terre Haute, Indiana
Age: 54
Posts: 81
struts11

Whilst updating using yum I'm still getting the following error...

Error: Missing Dependency: struts11 = 1.1-1jpp_2fc is needed by package struts11-webapps-tomcat5

I'm attempting to stop this from happening by finding the file struts11-1.1-1jpp_2fc.noarch.rpm, downloading it to a folder named downloads, then forcing an installation using rpm -i --nodeps --force /downloads/struts11-1.1-1jpp_2fc.noarch.rpm

However, when I try that I'm getting the following error...

warning: /downloads/struts11-1.1-1jpp_2fc.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 30c9ecf8

I take it I'm messing up somewhere. So, I'm using i386, what file do I really need, where do I get it from, what changes do I need to make to the rpm command line to force an install?

Ray
  #2  
Old 15th May 2005, 03:02 AM
wtogami Offline
Registered User
 
Join Date: Mar 2005
Posts: 160
Never use --nodeps, it will screw your system every time.
rawhide sometimes changes in ways that are not automatically fixable. Rawhide and test releases are not meant for end users. Most likely this is one of those cases where you need to remove stuff in order to upgrade. You probably don't need it anyway.
  #3  
Old 15th May 2005, 05:47 AM
tejas's Avatar
tejas Offline
Registered User
 
Join Date: Feb 2005
Location: Bangalore
Age: 25
Posts: 1,574
Um, you just need to import the GPG signature

This really doesn't affect anything it just helps rpm ensure that your package is original, and doesn't give out this error, even though it let your package install, through the error.

# rpm --import /usr/share/rhn/RPM-GPG-KEY-fedora

should fix it. And don't EVER use no deps, except in EXTREME cases.

Edit: The above command will stop the warning for rpms fedora gives you. You will need a different GPG for each site you download from. Or you can be like the rest of us, and just ignore that warning

Edit #2: I'm talking about your 2nd 'error', not the first.
__________________
I Was Counted! Registered Linux User #384707

BASH && Beer && Bass! Now THAT makes sense!!

Last edited by tejas; 15th May 2005 at 05:51 AM.
  #4  
Old 15th May 2005, 06:48 AM
brisray Offline
Registered User
 
Join Date: May 2005
Location: Terre Haute, Indiana
Age: 54
Posts: 81
Thanks for the advice. Ignoring it is exactly what I have been doing by using the --exclude switch in yum. I've managed to stop a couple of other warnings and errors by uninstalling and reinstalling some of the packages, but I just wanted to see if there was a quick fix.

Just a newbie messing around to see what I can do. If I manage to wreck the installation I know not to do it again - I learn very fast if I end up having to spend a couple of hours redoing something. A good way to learn but very time consuming.

Ray

Last edited by brisray; 15th May 2005 at 06:55 AM.
  #5  
Old 15th May 2005, 07:09 AM
tejas's Avatar
tejas Offline
Registered User
 
Join Date: Feb 2005
Location: Bangalore
Age: 25
Posts: 1,574
um, that isn't exactly what yum exclude does. Yum --exclude stops a particular package from updating. You can get this warning to go away by importing the various GPG keys for various websites.

for example. for www.freshrpms.net [ a mirror in yum ], you download the file RPM-GPG-KEY-freshrpms, [a text file] and
rpm --import RPM-GPG-KEY-freshrpms
__________________
I Was Counted! Registered Linux User #384707

BASH && Beer && Bass! Now THAT makes sense!!
  #6  
Old 15th May 2005, 02:01 PM
brisray Offline
Registered User
 
Join Date: May 2005
Location: Terre Haute, Indiana
Age: 54
Posts: 81
I should have made myself clearer, what I meant was that by excluding the packages in yum I was simply ignoring the dependency errors, not fixing them.

What I did was to follow your advice, then uninstalled both struts11* and tomcat* then reinstalled both. No errors at all now using "yum -y update" and up2date is now showing the blue tick for the first time -even though I haven't been able to get it past "checking for installed rpms" since I first installed Fedora.

Guess I don't know enough about dependencies yet to try fixing them without uninstalling everything to do with them.

Ray
 

Tags
struts11

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump


Current GMT-time: 05:35 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat