LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 06-17-2011, 01:03 AM   #1
testpilot123
LQ Newbie
 
Registered: Jun 2011
Location: Houston, Texas
Distribution: Fedora 14
Posts: 5

Rep: Reputation: Disabled
I broke yum... i think


Well hello all, just starting out to use linux and of course, everytime i first install an OS, i download 2 things, flash and Chrome...

Chrome works fine, but flash has been giving me a lot of problems. Ive downloaded the yum file from the Adobe website, and unpacked it using the GUI, yet it still didnt work. So i started googling how to use yum. so i followed some directions and tried doing
Code:
yum install flash
, this is what i get:

Code:
[root@localhost testpilot]# yum update flash
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again
[root@localhost testpilot]#
but thats not the only problem, i think my repo's are messed up or something because look what happens when i type:
Code:
yum update
Code:
[root@localhost testpilot]# yum update flash
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml: [Errno 14] PYCURL ERROR 6 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: adobe-linux-i386. Please verify its path and try again
[root@localhost testpilot]#
as you can see, its still trying to goto the adobe website, even when i type in a complety different comand from getting flash.

SO i guess i have 2 questions:
1) how can i "restore defaults" on yum so that i can actualy use it
2) How can i install flash??


THANKS GUYS! im excited to be apart of this forum and any help will be greatly appreciated!

Testpilot
 
Old 06-17-2011, 03:09 AM   #2
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
a few things
1) fedora ( i like it ) BUT it is not the easiest to use
and it brakes a lot .But if you LIKE to fix things then fedora as great

2)
fedora DOSE have a LOT and i mean A LOT of very good documentation
http://docs.fedoraproject.org/en-US/index.html
and one of the BEST quick "at a glance" help pages Mjmwired's
http://www.mjmwired.net/resources/mjm-fedora-f15.html
( mjm uses "sudo" NOT INSTALLED by default in fedora !!!
an i dislike it -- ether you like sudo or you hate it " love/hate"
I use "su -" and be done with it )

so IF you do want to continue with fedora
flash
http://www.mjmwired.net/resources/mj...f15.html#flash

the Adobe repo is a KNOWN problem and has been OFFLINE as much as it has been ONLINE
--it is a pain in the @$$ --
disable it

to do that there are a few ways
i will not use the gui( it is different for kde,gnome,xfce,e17,... )
Code:
su -
---- your root password when asked for ----
gedit /etc/yum.repos.d/adobe-linux-i386.repo
then change the line
Code:
----
enabled=1
-- to this ---
enabled=0
change the 1 to a 0
 
Old 06-17-2011, 07:57 AM   #3
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
@John VV
Why do you tell someone who just started using Linux to disable the Adobe repo?
The repo may have been down when testpilot123 tried it, but it is up now.
The benefit of using the repo is that later when a new flash version appears on the repo, he'll get it as part of the automatic system update.

@testpilot123
Can you try this in a terminal window:
Code:
cd /tmp
wget http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml
ping linuxdownload.adobe.com
ping www.google.com
You may well have a network problem
 
Old 06-17-2011, 08:07 AM   #4
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 703

Rep: Reputation: 97
Actually I recommend that people disable any third party repos.
That's not the same as removing them. By disabling them, it
means they are not used by default.

It's rare that I've had an update from a distro break something,
but there have been many times that updates from third party
repos have broken packages. For a beginner it can be very
difficult to troubleshoot the effects of a broken package, so
I recommend that they only use them when they need them and
to leave them disabled by default.
 
Old 06-17-2011, 09:04 AM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,509

Rep: Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407Reputation: 1407
Quote:
Originally Posted by carltm View Post
Actually I recommend that people disable any third party repos.
That's not the same as removing them. By disabling them, it means they are not used by default. It's rare that I've had an update from a distro break something, but there have been many times that updates from third party repos have broken packages.
It depends on what distro you're using. For Fedora, you only need 3 repositories: the official one, RPMfusion, and Adobe. Adobe's content is unique, and RPMfusion is very careful to maintain compatability with Fedora. When you have several repositories carrying the same material, or repos that might be described as a bit amateurish, that's when you get trouble (think SuSe!).
 
Old 06-17-2011, 11:39 AM   #6
testpilot123
LQ Newbie
 
Registered: Jun 2011
Location: Houston, Texas
Distribution: Fedora 14
Posts: 5

Original Poster
Rep: Reputation: Disabled
WOW!

Thanks for all the quick replies!

@16pride i can ping all the websites, i am typeing this in fedora
but i couldnt wget adboe's:
Code:
[root@localhost ~]# wget http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml
--2011-06-17 11:54:55--  http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml
Resolving linuxdownload.adobe.com... failed: Name or service not known.
wget: unable to resolve host address “linuxdownload.adobe.com”
[root@localhost ~]#
Ok, i disable'd adobe's repo, now its looking for rpmfusion's...

while using the command:
Code:
yum update yum
Code:
[root@localhost ~]# yum update yum
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-14&arch=i386 error was
14: PYCURL ERROR 6 - ""
Error: Cannot retrieve repository metadata (repomd.xml) for repository: rpmfusion-free. Please verify its path and try again

Last edited by testpilot123; 06-17-2011 at 11:56 AM.
 
Old 06-17-2011, 01:04 PM   #7
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
if wget http://linuxdownload.adobe.com/... fails, I still think you have a network problem of some sort because that exact same command works for me here right now.
Your browser could be working through a proxy, etc ... but wget should work for yum to be happy.

You said you wanted to have flash working, and the adobe repository would give that in a matter of seconds if only you could reach that site.

If you want to debug it from the network angle, I can help you, if you post the output of the commands I mention above.

Additionally, please post the output of:
Code:
cat /etc/resolv.conf
route
nslookup www.google.com
nslookup linuxdownload.adobe.com
 
Old 06-17-2011, 01:56 PM   #8
testpilot123
LQ Newbie
 
Registered: Jun 2011
Location: Houston, Texas
Distribution: Fedora 14
Posts: 5

Original Poster
Rep: Reputation: Disabled
Network Stuff

@16pide

Code:
[root@localhost tmp]# cd /tmp
[root@localhost tmp]# wget http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml
--2011-06-17 13:57:31--  http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml
Resolving linuxdownload.adobe.com... failed: Name or service not known.
wget: unable to resolve host address “linuxdownload.adobe.com”
[root@localhost tmp]# ping linuxdownload.adobe.com
PING linuxdownload.wip4.adobe.com (192.150.16.37) 56(84) bytes of data.
64 bytes from 192.150.16.37: icmp_req=1 ttl=240 time=60.8 ms
64 bytes from 192.150.16.37: icmp_req=2 ttl=240 time=66.3 ms
64 bytes from 192.150.16.37: icmp_req=3 ttl=240 time=69.8 ms
64 bytes from 192.150.16.37: icmp_req=4 ttl=240 time=80.8 ms
64 bytes from 192.150.16.37: icmp_req=5 ttl=240 time=58.2 ms
64 bytes from 192.150.16.37: icmp_req=6 ttl=240 time=68.0 ms
64 bytes from 192.150.16.37: icmp_req=7 ttl=240 time=60.1 ms
^C
--- linuxdownload.wip4.adobe.com ping statistics ---
7 packets transmitted, 7 received, 0% packet loss, time 6009ms
rtt min/avg/max/mdev = 58.294/66.323/80.872/7.178 ms
Code:
--- linuxdownload.wip4.adobe.com ping statistics ---
30 packets transmitted, 30 received, 0% packet loss, time 29017ms
rtt min/avg/max/mdev = 125.300/219.810/328.892/49.885 ms
[root@localhost tmp]# man cat
[root@localhost tmp]# cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.254
[root@localhost tmp]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     1      0        0 eth0
default         192.168.1.254   0.0.0.0         UG    0      0        0 eth0
[root@localhost tmp]# nslookup www.google.com
Server:		192.168.1.254
Address:	192.168.1.254#53

Non-authoritative answer:
www.google.com	canonical name = www.l.google.com.
Name:	www.l.google.com
Address: 74.125.227.16
Name:	www.l.google.com
Address: 74.125.227.18
Name:	www.l.google.com
Address: 74.125.227.20
Name:	www.l.google.com
Address: 74.125.227.17
Name:	www.l.google.com
Address: 74.125.227.19

[root@localhost tmp]# nslookup linuxdownload.adobe.com
Server:		192.168.1.254
Address:	192.168.1.254#53

Non-authoritative answer:
linuxdownload.adobe.com	canonical name = linuxdownload.wip4.adobe.com.
Name:	linuxdownload.wip4.adobe.com
Address: 192.150.16.37

Last edited by testpilot123; 06-17-2011 at 01:58 PM.
 
Old 06-18-2011, 07:49 AM   #9
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
192.150.16.37 is the address that your dns is providing (your post above)
So I tried:
Code:
wget http://192.150.16.37/linux/i386/repodata/repomd.xml
Ans it does not work.
So I'm suspecting a DNS issue.
Can you try that wget and yum using google's dns:
Code:
$ cat /etc/resolv.conf
nameserver 8.8.8.8
then try:
Code:
wget http://linuxdownload.adobe.com/linux/i386/repodata/repomd.xml
yum update

Last edited by 16pide; 06-18-2011 at 07:58 AM.
 
Old 06-18-2011, 11:30 AM   #10
testpilot123
LQ Newbie
 
Registered: Jun 2011
Location: Houston, Texas
Distribution: Fedora 14
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks for the reply,

I am having trouble editing resolv.conf:

Code:
[root@localhost /]# gedit /etc/resolv.conf
No protocol specified

(gedit:3022): Gtk-WARNING **: cannot open display: :0.0
[root@localhost /]#
and if i try it through the GUI it wont let me save....
 
Old 06-18-2011, 02:00 PM   #11
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
then use the DEFAULT terminal test editor "nano"
Code:
su -
nano /etc/resolv.conf
unless you KNOW how to use "vi"

-- vi /etc/resolv.conf ---
 
Old 06-21-2011, 06:34 PM   #12
testpilot123
LQ Newbie
 
Registered: Jun 2011
Location: Houston, Texas
Distribution: Fedora 14
Posts: 5

Original Poster
Rep: Reputation: Disabled
Well, i got the nameserver to be at 8.8.8.8 and now i can actualy update yum,

YAY!

So now, all i need to do is update flash... i think

P
 
Old 06-22-2011, 04:41 AM   #13
16pide
Member
 
Registered: Jan 2010
Posts: 418

Rep: Reputation: 83
great news!
don't forget to mark the thread as solved
 
  


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 broke install. bocochoco Fedora 3 03-24-2010 01:52 PM
I broke 'yum' bourne Linux - Software 3 09-11-2007 01:17 PM
YUM broke my GNOME desktop. Scared of YUM Micro420 Red Hat 4 06-14-2007 09:44 AM
i think i broke yum... nshorts Fedora 1 05-24-2006 10:29 AM
OMG Yum just broke Infernal211283 Linux - Newbie 5 01-14-2006 07:42 AM

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

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