LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum update not work (https://www.linuxquestions.org/questions/linux-newbie-8/yum-update-not-work-4175450106/)

daljit 02-14-2013 04:36 AM

yum update not work
 
I was trying to config epel but following error was coming

[root@jagdish ~]# yum update
Loaded plugins: refresh-packagekit, security
Setting up Update Process
No Packages marked for Update


[root@jagdish ~]# yum repolist
Loaded plugins: refresh-packagekit, security
repolist: 0
[root@jagdish ~]# wget http://ftp.riken.jp/Linux/fedora/epe...GPG-KEY-EPEL-6
--2013-02-14 21:35:12-- http://ftp.riken.jp/Linux/fedora/epe...GPG-KEY-EPEL-6
Resolving ftp.riken.jp... failed: Temporary failure in name resolution.
wget: unable to resolve host address “ftp.riken.jp”

RaviTezu 02-14-2013 05:24 AM

1.Click here for configuring EPEL.
2.Under How can I use these extra packages? section.
3.Click on "The newest version of 'epel-release' for EL6".
4.you can download the package and install it.

John VV 02-14-2013 12:57 PM

this is Fedora ?? right ?

what version ?
only fedora 17 and 18 are supported

Quote:


[root@jagdish ~]# yum repolist
Loaded plugins: refresh-packagekit, security
repolist: 0
from this output you disabled or uninstalled every required software repo
there at a bare minimum should be
fedora base
and
fedora update

daljit 03-21-2013 06:15 AM

still not working
 
[root@nitj nitj]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Could not retrieve mirrorlist http://mirrorlist.centos.org/?releas...h=i386&repo=os error was
14: PYCURL ERROR 6 - "Couldn't resolve host 'mirrorlist.centos.org'"
Error: Cannot find a valid baseurl for repo: base


-----------------------------------------------------------
my kernal version is
[root@nitj nitj]# uname -a
Linux nitj 2.6.32-279.el6.i686 #1 SMP Fri Jun 22 10:59:55 UTC 2012 i686 i686 i386 GNU/Linux

fpmurphy 03-21-2013 11:21 AM

You need to get your network name resolution, i.e. DNS, working first. From what you have shown us, DNS is not working.

daljit 03-22-2013 04:40 AM

[root@nitj nitj]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
[root@nitj nitj]#
-------------------------------------------------------------------------------------
pls tell what should i do to get it working

RaviTezu 03-22-2013 05:05 AM

We Need some info.
1. Distro. you're using?? (cat /etc/redhat-release)
2. Is your machine connected to internet?
3. files in /etc/yum.repos.d & if possible their content??

daljit 05-03-2013 06:26 AM

yum update not wokr
 
root@nitj yum.repos.d]# cat /etc/redhat-release
CentOS release 6.3 (Final)
yes machine is conneted to internet otherwise how can reach you??
[root@nitj yum.repos.d]# ls
adobe-linux-i386.repo CentOS-Media.repo epel-testing.repo
CentOS-Base.repo CentOS-Vault.repo google-chrome.repo
CentOS-Debuginfo.repo epel.repo linuxtech.repo

John VV 05-03-2013 05:48 PM

Quote:

CentOS release 6.3 (Final)
that is why there are no updates
only cent 6.4 and the old 5.9 are supported

the "ls" command dose show that you did not delete the repos, but from the above posts you turned them OFF

you have the "vault" repo in there
did you READ the warning ?
( this has not yet been added to ALL the mirrors for 6.3 yet )
Warning:
This directory (and version of CentOS) is depreciated. For normal users,
you should use /6/ and not /6.2/ in your path. Please see this FAQ
concerning the CentOS release scheme:

http://www.centos.org/modules/smartfaq/faq.php?faqid=34

If you know what you are doing, and absolutely want to remain at the 6.2
level, go to http://vault.centos.org/ for packages.

Please keep in mind that 6.0, 6.1 and 6.2 no longer gets any updates, nor
any security fix's.

this applies to CentOS 6.3 now

so if you aree going to keep using 6.3 with out any of the current SECURITY FIXES
then only turn on the vault
edit the line
" enable=0" to "enable =1 "


but upgrading to 6.4 is the ONLY way to get updates

there are NO updates in the vault except for the very LAST updates that 6.3 received

also mixing "The Vault" and the EPEL-Testing is a VERY VERY VERY bad idea

daljit 05-05-2013 02:29 AM

link not working
 
link that you have listed is not working
http://www.centos.org/modules/smartfaq/faq.php?faqid=34


Quote:

Originally Posted by John VV (Post 4944461)
that is why there are no updates
only cent 6.4 and the old 5.9 are supported

the "ls" command dose show that you did not delete the repos, but from the above posts you turned them OFF

you have the "vault" repo in there
did you READ the warning ?
( this has not yet been added to ALL the mirrors for 6.3 yet )
Warning:
This directory (and version of CentOS) is depreciated. For normal users,
you should use /6/ and not /6.2/ in your path. Please see this FAQ
concerning the CentOS release scheme:

http://www.centos.org/modules/smartfaq/faq.php?faqid=34

If you know what you are doing, and absolutely want to remain at the 6.2
level, go to http://vault.centos.org/ for packages.

Please keep in mind that 6.0, 6.1 and 6.2 no longer gets any updates, nor
any security fix's.

this applies to CentOS 6.3 now

so if you aree going to keep using 6.3 with out any of the current SECURITY FIXES
then only turn on the vault
edit the line
" enable=0" to "enable =1 "


but upgrading to 6.4 is the ONLY way to get updates

there are NO updates in the vault except for the very LAST updates that 6.3 received

also mixing "The Vault" and the EPEL-Testing is a VERY VERY VERY bad idea


daljit 05-05-2013 02:36 AM

pls guide me in easiest way that i can use centos
 
sir i m totally newbie please guide me according. many time i tried to learn. but bcz of such small problems i left. please tell wt should i do. should i update my os. i want yum and other media player to get work.


Quote:

Originally Posted by daljit (Post 4945157)
link that you have listed is not working
http://www.centos.org/modules/smartfaq/faq.php?faqid=34


jdkaye 05-05-2013 04:27 AM

Quote:

Originally Posted by daljit (Post 4945163)
sir i m totally newbie please guide me according. many time i tried to learn. but bcz of such small problems i left. please tell wt should i do. should i update my os. i want yum and other media player to get work.

Ok Daljit, don't panic. No, that link doesn't work for me either. It seems your simplest solution is to install CentOS 6.4. Is there any reason you don't do that? Back up all your data before starting. You can find an installation image here. I checked and this link does work. :)
jdk


All times are GMT -5. The time now is 02:56 PM.