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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-23-2008, 10:48 PM
|
#1
|
LQ Newbie
Registered: Mar 2008
Location: shillong
Distribution: nothing special
Posts: 6
Rep:
|
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
|
|
|
04-23-2008, 11:11 PM
|
#2
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
What distro and version are you running?
|
|
|
04-23-2008, 11:52 PM
|
#3
|
Member
Registered: Feb 2007
Posts: 386
Rep:
|
You need to point to the repo. google yum.conf. The setting is set in /etc/yum.conf
|
|
|
04-24-2008, 01:57 AM
|
#4
|
Member
Registered: Apr 2008
Posts: 60
Rep:
|
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
|
|
|
05-22-2008, 10:39 AM
|
#5
|
LQ Newbie
Registered: Mar 2008
Location: shillong
Distribution: nothing special
Posts: 6
Original Poster
Rep:
|
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
|
|
|
05-22-2008, 10:43 AM
|
#6
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
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.
|
|
|
05-22-2008, 11:30 PM
|
#7
|
LQ Newbie
Registered: Mar 2008
Location: shillong
Distribution: nothing special
Posts: 6
Original Poster
Rep:
|
ple help me how to find distro and version
thanks
|
|
|
05-22-2008, 11:35 PM
|
#8
|
Senior Member
Registered: Jan 2006
Posts: 4,363
Rep: 
|
This will probably get us there. In a terminal enter this
and post back the results.
|
|
|
05-22-2008, 11:40 PM
|
#9
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
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)
|
|
|
05-23-2008, 12:06 AM
|
#10
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.x
Posts: 18,443
|
Also
cat /etc/issue
|
|
|
12-05-2009, 09:40 PM
|
#11
|
Member
Registered: Oct 2005
Posts: 116
Rep:
|
Quote:
Originally Posted by joeatchen
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
|
|
|
All times are GMT -5. The time now is 09:13 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|