LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-23-2008, 10:48 PM   #1
joeatchen
LQ Newbie
 
Registered: Mar 2008
Location: shillong
Distribution: nothing special
Posts: 6

Rep: Reputation: 0
Angry how to configure yum


how to upgrade packages through yum, ple help me out, from the basic like how to configure yum first through root and then to proceed.

thank you
 
Old 04-23-2008, 11:11 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
What distro and version are you running?
 
Old 04-23-2008, 11:52 PM   #3
ufmale
Member
 
Registered: Feb 2007
Posts: 385

Rep: Reputation: 30
You need to point to the repo. google yum.conf. The setting is set in /etc/yum.conf
 
Old 04-24-2008, 01:57 AM   #4
yadava
Member
 
Registered: Apr 2008
Posts: 60

Rep: Reputation: 15
yum solution

to configure yum u need createrepo rpm
first off all install this rpm from ur DVD
then copy all the rpm from the DVD to the directory /var/ftp/pub
bydefault u might have already a created repo directory
first erase it
then type the command
createrepo /var/ftp/pub/
then make a file
vi /etc/yum.repo/abc.repo
in this file make these entry
******************************
[any name]
name=server1
baseurl=ftp://(IP ADDR)/pub
enabled=1
gpgcheck=0
*****************************
save and exit
then type
"yum clean all"
"yum update all"
for using yum u need the configured ftp server
so configure ur ftp server
then restart the ftp server
 
Old 05-22-2008, 10:39 AM   #5
joeatchen
LQ Newbie
 
Registered: Mar 2008
Location: shillong
Distribution: nothing special
Posts: 6

Original Poster
Rep: Reputation: 0
configuring of yum

when i tried to configure it says

Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=
rawhide&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: develop ment. Please verify its path and try again

so would you please help me out how to go along with

thank you
 
Old 05-22-2008, 10:43 AM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
Joe

Until you tell us what distro and version you are running it is going to be pretty tough for us to help you any more.
 
Old 05-22-2008, 11:30 PM   #7
joeatchen
LQ Newbie
 
Registered: Mar 2008
Location: shillong
Distribution: nothing special
Posts: 6

Original Poster
Rep: Reputation: 0
ple help me how to find distro and version
thanks
 
Old 05-22-2008, 11:35 PM   #8
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,362

Rep: Reputation: 171Reputation: 171
This will probably get us there. In a terminal enter this

Quote:
uname -a
and post back the results.
 
Old 05-22-2008, 11:40 PM   #9
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Or from a terminal go

ls /etc/*release*

Should give something like

/etc/fedora-release

Then type

cat /etc/fedora-release

And it will tell you there (clearly the example above needs the correct name from the second step substituted)
 
Old 05-23-2008, 12:06 AM   #10
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,261

Rep: Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028Reputation: 2028
Also
cat /etc/issue
 
Old 12-05-2009, 09:40 PM   #11
teluguswan
Member
 
Registered: Oct 2005
Posts: 116

Rep: Reputation: 15
Quote:
Originally Posted by joeatchen View Post
when i tried to configure it says

Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mirrorlist?repo=
rawhide&arch=i386 error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
Error: Cannot retrieve repository metadata (repomd.xml) for repository: develop ment. Please verify its path and try again

so would you please help me out how to go along with

thank you


Goto

/etc/yum.repos.d and edit the .repo file which is giving error

and

remove the comment before the baseurl and make
comment the mirrorlist

that's it problem solved very easy

bye
 
  


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
how to configure yum for proxy server jaycee4u Linux - Newbie 4 07-25-2009 06:55 AM
Need To Configure YUM on RH Enter.3 ALInux Red Hat 5 07-21-2007 08:08 PM
Yum.conf configure help MbowerARA Fedora 2 01-30-2005 08:57 AM
how to configure yum for more up to date repositories jax8 Linux - Newbie 3 07-30-2004 12:25 AM
configure yum to use fedora.us nandish Linux - Newbie 5 05-23-2004 08:46 PM


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