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 12-28-2012, 05:41 AM   #1
swaggerlee
Member
 
Registered: Jul 2012
Location: India,Kolkata
Distribution: fedora,ubuntu
Posts: 35

Rep: Reputation: Disabled
Exclamation unable to use YUM


i installed fresh fedora 16 on my pc & tried to install google chrome via yum but all the time it gives me same problem

i inserted the attachment plzz suggest me.
Attached Images
File Type: png Screenshot at 2012-12-28 17:04:21.png (57.7 KB, 30 views)
File Type: png Screenshot at 2012-12-28 16:58:57.png (80.9 KB, 28 views)
 
Old 12-28-2012, 10:30 AM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 1,536

Rep: Reputation: 375Reputation: 375Reputation: 375Reputation: 375
Are you sure your network is working properly? Try:

Code:
host www.google.com
ping 74.125.131.105
 
Old 12-28-2012, 10:47 AM   #3
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,630
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Right, a couple of things:

1) It's often easier for us if you post the actual output of commands in [CODE][/CODE] tags, instead of attaching screenshots:
Code:
like this
2) Running as root is often a Bad Idea - using sudo is a better option for most situations.

3) Running
Code:
echo 'dp ALL=(ALL) ALL' >> /etc/sudoers
is almost always a bad idea - use the 'visudo' command, as it makes sure you don't mess up your sudoers file by putting invalid syntax in it

4) It sounds like you're having difficulty connecting to mirrors. Is your internet connection working? (I assume it probably is, as you have a browser window open in one of your screenshots looking at LinuxQuestions). Do you use a proxy in your web browser? What does running

Code:
curl www.linuxquestions.org
give you? The other possibility is that it's the linuxdownload.adobe.blah and the rpmfusion mirrors which are down - in which case try commenting out their lines in the mirrorlist file.

Hope this helps,
 
Old 12-28-2012, 06:07 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,916

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
the adobe reop is VERY VERY notorious for being off line and causing problems

disable it !!!
change the "enabled=1" to "enabled=0" in the repo text file in /etc/yum.repo.d folder

then use yum's " --enablerepo=adobe" to turn it on ( temporally )to update flash

Also the "fast-mirror" is known to cause all kinds of annoying little problems all the time ( hence the "annoying" part )

unless you REALLY need it
i would recommend you not use it
But if you want then use it -- your choice .


Also Be Aware that -- Fedora 16 will hit it's END OF LIFE on Feb. 08 2013 in just over one month
at that time there will never be any more support for fedora 16 -- it will be basically dead.

time to upgrade to fedora 17
or after Jan. 08 fedora 18


as to "Snark1994"
post about SUDO
fedora By Default dose not use it !!!
Fedora used "su" and "su -"
It was deemed a "too big" of a security risk and was disabled by default .

also do not just try to install some named program
SEARCH for it first
-- it might have a slightly different name --
for example
fedora has "chromium" in the base repos
and if you add googles repo then chrome is in that one
try as a normal user and NOT root
Code:
su -
---- your root password when asked for -----
yum search chrome
then from the list - copy/paste "google-chrome-stable"


your "echo do all for SUDO is the problem
fedora dose not use sudo

please use "su -" and do not forget the blank space and the dash
 
Old 12-29-2012, 05:39 AM   #5
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,630
Blog Entries: 3

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
Quote:
Originally Posted by John VV View Post
as to "Snark1994"
post about SUDO
fedora By Default dose not use it !!!
Fedora used "su" and "su -"
It was deemed a "too big" of a security risk and was disabled by default .
Sorry, I was not aware of that. I was misled by the fact that ey was attempting to write to the sudoers file at the top of the second screen shot: so I assumed they were using sudo!

Apologies,
 
Old 12-31-2012, 12:28 AM   #6
swaggerlee
Member
 
Registered: Jul 2012
Location: India,Kolkata
Distribution: fedora,ubuntu
Posts: 35

Original Poster
Rep: Reputation: Disabled
@ smallpond i tried what you asked me to i.e.
Code:
host www.google.com
ping 74.125.131.105
and it gave me the following result that i attached hereby


until i pressed ctrl+z it was in same state as i showwed in the picture
Attached Images
File Type: png Screenshot at 2012-12-31 11:52:30.png (54.8 KB, 8 views)

Last edited by swaggerlee; 12-31-2012 at 12:32 AM.
 
Old 12-31-2012, 12:38 AM   #7
John VV
Guru
 
Registered: Aug 2005
Posts: 12,916

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
???
Have you done this ????
------ after installing Google's repo for fedora --------
Code:
su -
yum search google
????
then from the list
installing " google-chrome-stable"
 
Old 12-31-2012, 12:42 AM   #8
swaggerlee
Member
 
Registered: Jul 2012
Location: India,Kolkata
Distribution: fedora,ubuntu
Posts: 35

Original Poster
Rep: Reputation: Disabled
@ Snark1994

Quote:
Originally Posted by Snark1994 View Post

4) It sounds like you're having difficulty connecting to mirrors. Is your internet connection working? (I assume it probably is, as you have a browser window open in one of your screenshots looking at LinuxQuestions). Do you use a proxy in your web browser? What does running

Code:
curl www.linuxquestions.org
give you? The other possibility is that it's the linuxdownload.adobe.blah and the rpmfusion mirrors which are down - in which case try commenting out their lines in the mirrorlist file.
yes my internet connection is working fine & i do use proxy in my web browser since am working in my office so they have a setup up proxy through which we connect to internet.

after running you suggesttion i ran this
Code:
curl www.linuxquestions.org
and it gave me the following

Quote:
[root@localhost dp]# curl www.linuxquestions.org
curl: (7) couldn't connect to host
[root@localhost dp]#
now what to do..........?????/
 
Old 12-31-2012, 01:07 AM   #9
swaggerlee
Member
 
Registered: Jul 2012
Location: India,Kolkata
Distribution: fedora,ubuntu
Posts: 35

Original Poster
Rep: Reputation: Disabled
@ John VV

Quote:
Originally Posted by John VV View Post
yum search google
[/code]
this is what it give me after running the above code :

Code:
[root@localhost ~]# yum search google
Loaded plugins: langpacks, presto, refresh-packagekit
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-16&arch=i386 error was
12: Timeout on http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-16&arch=i386: (28, '')
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-16&arch=i386 error was
12: Timeout on http://mirrors.rpmfusion.org/mirrorlist?repo=free-fedora-updates-released-16&arch=i386: (28, '')
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-16&arch=i386 error was
12: Timeout on http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-16&arch=i386: (28, '')
Could not retrieve mirrorlist http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-16&arch=i386 error was
12: Timeout on http://mirrors.rpmfusion.org/mirrorlist?repo=nonfree-fedora-updates-released-16&arch=i386: (28, '')
Error: Cannot retrieve repository metadata (repomd.xml) for repository: fedora. Please verify its path and try again
[root@localhost ~]#

also i enabled=0 at etc/yum.d.repos but no succes

Last edited by swaggerlee; 12-31-2012 at 01:08 AM.
 
Old 12-31-2012, 02:49 PM   #10
John VV
Guru
 
Registered: Aug 2005
Posts: 12,916

Rep: Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715Reputation: 1715
did you read the fedora documentation about a proxy?
you need to configure yum to use the proxy .


the fedora wiki
http://fedoraproject.org/wiki/Docs/D...Guide/YumProxy
and
http://www.linux2aix.com/linux/redha...h-a-proxy.html

this is from the fedora 5 docs but it still applies
http://docs.fedoraproject.org/en-US/...xy-server.html



Yum needs to be able to use your proxy
 
  


Reply

Tags
attachments, chrome, fedora 16, yum


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
unable to use yum in fedora 14 mrinaljidal Linux - Server 2 04-25-2011 08:43 AM
yum install flash ... yum: command not found ... which yum ... /usr/bin/yum tg3793 Fedora 8 04-13-2011 11:25 AM
unable to update yum seeker48 Linux - Newbie 2 06-05-2009 06:22 AM
Unable to start yum kaplan71 Fedora 1 11-21-2006 12:20 AM
unable to set up yum chirayan Fedora 4 07-23-2005 07:56 PM


All times are GMT -5. The time now is 01:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration