Fedora Linux Support Community & Resources Center
  #1  
Old 23rd May 2011, 06:19 AM
raviainani Offline
Registered User
 
Join Date: May 2011
Posts: 19
linuxfirefox
Question yum update error

hi all,

hope this is the right section for my problem if not please excuse me for this.... i am facing yum update error for past few days and i did a little googling but couldn't find the best way to do it. livna repo was giving me error firat so i disabled it by editing the .repo file but now when i do yum update following is the output

[root@ravi ravi]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...a-16&arch=i386 error was
14: curl#6 - "Couldn't resolve host"
updates/metalink | 19 kB 00:01
Could not parse metalink https://mirrors.fedoraproject.org/me...-f16&arch=i386 error was
No repomd file
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again

NOTE: - i have even tried yum clean all and then yum update / yum update --disablerepo=livna but till now no luck.... i am running FEDORA 15

thanks in advance
ravi
  #2  
Old 23rd May 2011, 06:39 AM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxredhatfirefox
Re: yum update error

Moved to Rawhide

Quote:
i am running FEDORA 15
You have F16 rawhide now.

Code:
Could not parse metalink https://mirrors.fedoraproject.org/metalink?repo=updates-released-f16&arch=i386 error was
There aren't any F16 repo's only development aka rawhide.
  #3  
Old 23rd May 2011, 09:19 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxsusefirefox
Re: yum update error

Quote:
--disablerepo=livna
seeing as that repo no longer exists WHY is it installed
it is dead .

Rawhide is THE NEXT version - right now fedora 16 and seeing as there are NO FEDORA 16 rpm's ....

do not use "rawhide"

turn it OFF

then remove the old and dead livna.repo
make sure that fedora is ON
and updates is ON
and updates-testing is OFF!!!

then run
Code:
su -
yum clean all
rpm --rebuilddb 
yum update
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
  #4  
Old 23rd May 2011, 10:02 AM
raviainani Offline
Registered User
 
Join Date: May 2011
Posts: 19
linuxfirefox
Re: yum update error

Quote:
Originally Posted by JohnVV View Post
seeing as that repo no longer exists WHY is it installed
it is dead .

Rawhide is THE NEXT version - right now fedora 16 and seeing as there are NO FEDORA 16 rpm's ....

do not use "rawhide"

turn it OFF

then remove the old and dead livna.repo
make sure that fedora is ON
and updates is ON
and updates-testing is OFF!!!

then run
Code:
su -
yum clean all
rpm --rebuilddb 
yum update
hi john,

could you please explain how to turn off the repos... actually i'm a n00b...

thanks and regards
ravi
  #5  
Old 23rd May 2011, 06:42 PM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxsusefirefox
Re: yum update error

there is a gui and a text way

the text
open the files /etc/yum.repos.d /??????
and change the line "enable=1" to " enable=0 "


or undo in ?? KDE4 or Gnome or xfce, or what desktop
what you did to turn them on in the first place

then you might want to post the output of this command that lists every repo installed and if it is on or off

Code:
su -
yum repolist all
what should be "on" is
fedora
fedora-updates
-- optional but RECOMMENDED--
rpmfusion
or maybe
rpmforge ( this one is ? )
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
  #6  
Old 24th May 2011, 02:05 AM
raviainani Offline
Registered User
 
Join Date: May 2011
Posts: 19
linuxchrome
Re: yum update error

hi john,

thanks for the guide.... i'm using GNOME and following is the output of "yum repolist all"

[root@ravi ravi]# yum repolist all
Loaded plugins: langpacks, presto, refresh-packagekit
adobe-linux-i386 | 951 B 00:00
google-chrome | 951 B 00:00
google-chrome/primary | 1.5 kB 00:00
rawhide/metalink | 6.5 kB 00:00
rawhide | 3.8 kB 00:00
rawhide/primary_db | 11 MB 01:06
rpmfusion-free-rawhide | 3.3 kB 00:00
rpmfusion-nonfree-rawhide | 3.3 kB 00:00
updates/metalink | 19 kB 00:00
Could not parse metalink https://mirrors.fedoraproject.org/me...-f16&arch=i386 error was
No repomd file
google-chrome 3/3
Error: File /var/cache/yum/i386/16/updates/metalink.xml does not exist

now i really don't know what should i do as i really can't see fedora and fedora-updates repo in the list

thanks for helping me out man!!

regards
ravi
  #7  
Old 24th May 2011, 02:38 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxsusefirefox
Re: yum update error

right know this is all from memory so the exact file names might be a bit different
--------------------------
at this point it might be easier to reformat and do a clean reinstall
some how you made a mess of things
-------------------------
so step 1
as in the above post #5
for EVERY AND ALL files that have "rawhide" in the name
as root change the 1 to a 0 in the line "enabled=1"
the files are in /etc/yum.repos.d

then READ the text in every file in the /etc/yum.repos.d folder and make sure that EVERY AND ALL that have the line pointing to fedora 16 are turned OFF

right now yum dose appear not to be working ( fixing the repo files MIGHT fix this ) this might be fixable ???

then clean the rpm and yum databases as in the above post


------------------
if that dose not do it you will need to MANUALLY reinstall the correct fedora 15 repo files to replace the fedora 16 files that are installed

but the easiest thing might to reinstall fedora 15

fixing this mess might not be easy for a "new to linux " person to do .
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
  #8  
Old 24th May 2011, 03:09 AM
raviainani Offline
Registered User
 
Join Date: May 2011
Posts: 19
linuxchrome
Re: yum update error

hey john,

followed your instructions... and after yum update following is the output

[root@ravi ravi]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
adobe-linux-i386 | 951 B 00:00
adobe-linux-i386/primary | 12 kB 00:00
fedora/metalink | 19 kB 00:02
Could not parse metalink https://mirrors.fedoraproject.org/me...a-16&arch=i386 error was
No repomd file
google-chrome | 951 B 00:00
google-chrome/primary | 1.5 kB 00:00
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...a-16&arch=i386 error was
14: curl#6 - "Couldn't resolve host"
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...d-16&arch=i386 error was
14: curl#6 - "Couldn't resolve host"
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...g-16&arch=i386 error was
14: curl#6 - "Couldn't resolve host"
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...a-16&arch=i386 error was
14: curl#6 - "Couldn't resolve host"
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...d-16&arch=i386 error was
14: curl#6 - "Couldn't resolve host"
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorl...g-16&arch=i386 error was
14: curl#6 - "Couldn't resolve host"
updates/metalink | 19 kB 00:01
Could not parse metalink https://mirrors.fedoraproject.org/me...-f16&arch=i386 error was
No repomd file
updates-testing/metalink | 19 kB 00:01
Could not parse metalink https://mirrors.fedoraproject.org/me...-f16&arch=i386 error was
No repomd file
adobe-linux-i386 18/18
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

thanks again for your time.....

regards
ravi
  #9  
Old 24th May 2011, 03:20 AM
JamesK Offline
Registered User
 
Join Date: May 2011
Posts: 24
linuxfirefox
Re: yum update error

extract this file and replace however you see fit:
Attached Files
File Type: gz yum.repos.d.tar.gz (2.2 KB, 290 views)
  #10  
Old 24th May 2011, 04:14 AM
raviainani Offline
Registered User
 
Join Date: May 2011
Posts: 19
linuxchrome
Re: yum update error

hi JamesK,

thanks.. i followed your instruction and after replacing your files and doing yum update this is what i got...

[root@ravi ravi]# yum update
Loaded plugins: langpacks, presto, refresh-packagekit
fedora/metalink | 19 kB 00:00
Could not parse metalink https://mirrors.fedoraproject.org/me...a-16&arch=i386 error was
No repomd file
updates/metalink | 19 kB 00:00
Could not parse metalink https://mirrors.fedoraproject.org/me...-f16&arch=i386 error was
No repomd file
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again

regards
ravi
  #11  
Old 24th May 2011, 04:49 AM
JohnVV's Avatar
JohnVV Offline
Registered User
 
Join Date: Aug 2005
Location: Ann Arbor
Age: 45
Posts: 3,907
linuxsusefirefox
Re: yum update error

you might ant to reinstall with a NEW iso
if you are intent on using the not 100% done fedora 15 then here is the Rc3
http://forums.fedoraforum.org/showthread.php?t=262864
burn a new dvd and do a clean install

rc3 should auto update to the official release
__________________
Running Arch ,OpenSUSE 11.4-64bit & Scientific Linux 6.1-64bit ( fedora 4 to 11)
My Celestia Downloads

http://celestiamotherlode.net/catalo...?creator_id=10
  #12  
Old 24th May 2011, 09:15 AM
JamesK Offline
Registered User
 
Join Date: May 2011
Posts: 24
linuxfirefox
Re: yum update error

after replacing your files with mine you may need to do this:
yum clean all
yum makecache
yum distribution-synchronization

this will downgrade the files from rawhide to the latest released, etc..

JohnVV , that was taken down yesterday in prep for the final release today..

Last edited by JamesK; 24th May 2011 at 09:20 AM.
  #13  
Old 25th May 2011, 12:50 AM
raviainani Offline
Registered User
 
Join Date: May 2011
Posts: 19
linuxchrome
Re: yum update error

@ JamesK: Tried your way... gave errors again and again....

@JohnVV: i really don't want to do a clean install again. is there any other way out.... maybe i can download the final release and do upgrade. will it solve the problem??

kindly help me out...

thanks
ravi
  #14  
Old 25th May 2011, 01:11 AM
glennzo's Avatar
glennzo Online
Un-Retired Administrator
 
Join Date: Mar 2004
Location: Salem, Mass USA
Posts: 13,930
linuxchrome
Re: yum update error

What about the fedora-release file?
Code:
[glenn@phenom15 ~>$ cat /etc/fedora-release 
Fedora release 15 (Lovelock)
[glenn@phenom15 ~>$ cat /etc/redhat-release 
Fedora release 15 (Lovelock)
raviainani, what is the result of the above commands on your system? If it doesn't show Fedora 15 but shows rawhide all the fiddling in the world isn't going to help. Can we delete that file and install the proper file using rpm? For example
PHP Code:
rpm -ivh http://mirror.pnl.gov/fedora/linux//releases/15/Fedora/i386/os/Packages/fedora-release-15-1.noarch.rpm 
__________________
Glenn
The Bassinator © ®


Laptop: Toshiba Satellite / Intel Core 2 Duo 1.73 GHz / 2GB / 160GB / Intel Mobile 945GM/GMS/GME/943/940GML Integrated Graphics
Desktop: BioStar MCP6PB M2+ / AMD Phenom 9750 Quad Core / 4GB / 1TB SATA / 500GB SATA / EVGA GeForce 8400 GS 1GB
  #15  
Old 25th May 2011, 02:02 AM
raviainani Offline
Registered User
 
Join Date: May 2011
Posts: 19
linuxchrome
Re: yum update error

hi glenzo,

i got th output as Rawhide not fedora 15..

could you please explain how can i delete this file. i know i have to run the code "rpm -ivh ....." in terminal as root but i just want to ask how do i delete the existing file (rawhide)...

thanks a lot for help
ravi
 

Tags
yum update error

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Yum update error: Error: Package tuple (...) not found in packagesack MuadNu EOL (End Of Life) Versions 8 12th January 2011 02:06 PM
software update error could not update packages accboy Using Fedora 2 29th June 2010 12:19 AM
Update error fairmonk Using Fedora 3 26th March 2010 12:56 AM
Update Error from System\Admin\Update glmarsh Using Fedora 1 12th December 2008 06:11 AM
yum update error :-/ elko|llnux Using Fedora 1 8th October 2005 05:00 PM


Current GMT-time: 18:17 (Thursday, 23-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