LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-08-2013, 08:31 PM   #1
1881Alex1099
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Rep: Reputation: Disabled
Update fails in new Fedora 17 installation


Hello, everyone...
I recently installed Fedora 17 on a old HP/Pavilion laptop and receive an error when applying the first group of updates.
The error is thrown with:
Signature URL: /etc/pki/rpm-gpg/RPM-GPG-Key-fedora-i386
Signature user identifiers: Fedora 17 <fedora@fedoraproject.org>
Signature identifier: 1ACA3465
Package: libreoffice-core-1:3.7.2-12.fc17.i686
The update process asks: "Do you recognize the user and trust this key?", and offers "Yes" or "Cancel".
If "Yes" is chosen, a dialog box appears with space to enter characters, but nothing I submit there works.
If "Cancel" is chosen, the update halts.
If I restart the update, it proceeds to the same point, with the same error and choices.
I have looked in /etc/pki/ and find there what appears to be the correct key.
I have found references on the Fedora site to a key change project. But, it refers to Fedora 8 and 9, not later distributions.
Any ideas?
 
Old 05-09-2013, 02:13 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Open a terminal window and then run 'sudo yum -y update'. If Sudo isn't installed or configured then you probably want to install that first. Try 'su -l' if your unprivileged user account isn't in the wheel group or try to log in as root on another terminal.
 
1 members found this post helpful.
Old 05-09-2013, 09:55 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,107

Rep: Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478Reputation: 2478
and if you used the " pam hack" to allow root to login to the gui ( gnome and KDE )
that can cause problems like this

yum issues can also be caused by a "bad" rpm database
the very first thing to try is
Code:
su -
---- your root password when asked for ---
yum clean all
rpm --rebuilddb 
yum update
 
1 members found this post helpful.
Old 05-10-2013, 12:26 AM   #4
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,630

Rep: Reputation: 495Reputation: 495Reputation: 495Reputation: 495Reputation: 495
yes what John VV stated, no need to install and configure sudo, that is not the best practice for handeling Linux. sorry unSpawn. sudo at times can be helpful, but this is not one of them.

updates and repairs to the OS should be properly handled only by root, not sudo.
 
1 members found this post helpful.
Old 05-10-2013, 03:45 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,354
Blog Entries: 55

Rep: Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541Reputation: 3541
Quote:
Originally Posted by John VV View Post
the very first thing to try is
Actually the very first thing to do would be to look at the log file or else make the application show debug info telling you what is wrong, which running
Code:
yum -d3 update
would do.


Quote:
Originally Posted by lleb View Post
updates and repairs to the OS should be properly handled only by root, not sudo.
Other than depsolves I've never had problems running 'sudo yum update' so that's a proven "no" wrt updates.
 
1 members found this post helpful.
Old 05-10-2013, 08:00 AM   #6
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 2,981

Rep: Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511Reputation: 511
Yum has a few ignore options. If you just type, yum, it will print the options
 
1 members found this post helpful.
Old 05-10-2013, 05:38 PM   #7
1881Alex1099
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you, AwesomeMachine, JohnVV, lleb, and UnSpawn (in alphabetical order):
Since there was some conflict, I merged your comments giving attention to cautions expressed by two of you.
From my user account I ran:
yum -h
I noticed the REPOLIST command, and then ran:
yum -d3 -t repolist
The command returned:
Error: Cannot retrieve metalink for repository: fedora. Please verify its path and try again
Thinking a database error might be at fault, I logged in as root and ran:
yum -d3 -t clean all
rpm --rebuilddb
yum -d3 -t update
The update manager "built updates object", "set up package sacks", and then return the same error as above.
My newbie toes fell comfortable in the water, but any ideas on how I resolve the metalink problem?
 
Old 05-10-2013, 06:07 PM   #8
1881Alex1099
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hello again, everyone:
I found the cause for the "metalink" problem was a bad Ethernet cable. I will report on progress later.
 
Old 05-11-2013, 12:25 PM   #9
1881Alex1099
LQ Newbie
 
Registered: Mar 2013
Posts: 4

Original Poster
Rep: Reputation: Disabled
Thank you, everyone...
The problem I experienced with not being able to install updates in a new installation of Fedora 17 is solved. All of your contributions were valuable and very much appreciated.
Best regards...
 
  


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
yum update fails after upgrading Fedora 16 to 17 using the F17 DVD fakie_flip Linux - Newbie 5 12-06-2012 09:42 PM
yum update in Fedora Leonidas fails micmizer Fedora 0 07-14-2009 03:18 PM
port installation fails after update Villain *BSD 1 12-24-2004 09:03 AM
Fedora Core 2 (1.91) Kernel Update to 2.6.5 fails rstr Fedora 7 04-18-2004 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:57 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