LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum update HTTP Error 404: Not found (https://www.linuxquestions.org/questions/linux-newbie-8/yum-update-http-error-404-not-found-4175577949/)

pradeepspa 04-20-2016 02:43 PM

yum update HTTP Error 404: Not found
 
Hi All,

I know this issue has been dealt before, but none of the solution given helped me out. I am trying to do yum update where I am getting following error,

libvolume_id-095-14.33.el5_11.x86_64: failed to retrieve getPackage/libvolume_id-095-14.33.el5_11.x86_64.rpm from centos5-x86_64-updates
error was [Errno 14] HTTP Error 404: Not Found



I have tried , yum clean all ; yum update (doesnt work)

Can someone help me out by your ideas/solutions please, i have been trying this for hours

TB0ne 04-20-2016 02:55 PM

Quote:

Originally Posted by pradeepspa (Post 5534126)
Hi All,
I know this issue has been dealt before, but none of the solution given helped me out. I am trying to do yum update where I am getting following error,

libvolume_id-095-14.33.el5_11.x86_64: failed to retrieve getPackage/libvolume_id-095-14.33.el5_11.x86_64.rpm from centos5-x86_64-updates
error was [Errno 14] HTTP Error 404: Not Found


I have tried , yum clean all ; yum update (doesnt work) Can someone help me out by your ideas/solutions please, i have been trying this for hours

Did you just think about the error message??? It's telling you very plainly that the particular website/repo you're trying to reach is DOWN. Either try later, or remove the repository.

pradeepspa 04-21-2016 07:27 AM

Thanks for responding. I have tried again and it shoes same error. I was looking to remove the repo but not sure where I could find one. Below are the repose i have

cd /etc/yum.repos.d/
ls
CentOS-Base.repo CentOS-fasttrack.repo CentOS-Sources.repo dell-omsa-repository.repo spacewalk-client.repo
CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo spacewalk-client-nightly.repo zabbix.repo

Habitual 04-21-2016 08:15 AM

in terminal issue
Code:

yum repolist
and post the results here please.

Thank you.

pradeepspa 04-21-2016 08:33 AM

When I do "yum repolist" , I can see that repo "centos5-x86_64-updates: but not under /etc/yum.repos.d

# yum repolist
Loaded plugins: dellsysid, fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
* base: mirror.netaddicted.ca
* extras: mirror.netaddicted.ca
* updates: mirror.netaddicted.ca
repo id repo name status
base CentOS-5 - Base 3,667
centos5-x86_64 CentOS 5 (x86_64) 3,667
centos5-x86_64-addons CentOS 5 Addons (x86_64) 0
centos5-x86_64-contrib CentOS 5 Contrib (x86_64) 0
centos5-x86_64-extras CentOS 5 Extras (x86_64) 266
centos5-x86_64-updates CentOS 5 Updates (x86_64) 515
clone-epel_rhel5_x86_64 EPEL for Red Hat Enterprise Linux 5 7,656
extras CentOS-5 - Extras 266
spacewalk-client Spacewalk Client Tools 22
updates CentOS-5 - Updates 705
zabbix Zabbix Official Repository - x86_64 193
zabbix-non-supported Zabbix Official Repository non-supported - x86_64 13
repolist: 16,970



**************************************************************************************************** ***************

# ls -lh /etc/yum.repos.d

total 48K
-rw-r--r-- 1 root root 1.9K Sep 19 2014 CentOS-Base.repo
-rw-r--r-- 1 root root 645 Sep 19 2014 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 277 Sep 19 2014 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 626 Sep 19 2014 CentOS-Media.repo
-rw-r--r-- 1 root root 1.3K Sep 19 2014 CentOS-Sources.repo
-rw-r--r-- 1 root root 8.2K Sep 19 2014 CentOS-Vault.repo
-rw-r--r-- 1 root root 1004 Jun 2 2015 dell-omsa-repository.repo
-rw-r--r-- 1 root root 223 Apr 21 2015 spacewalk-client-nightly.repo
-rw-r--r-- 1 root root 203 Apr 21 2015 spacewalk-client.repo
-rw-r--r-- 1 root root 401 Dec 6 2013 zabbix.repo

TB0ne 04-21-2016 08:38 AM

Quote:

Originally Posted by pradeepspa (Post 5534520)
When I do "yum repolist" , I can see that repo "centos5-x86_64-updates: but not under /etc/yum.repos.d

# yum repolist
Loaded plugins: dellsysid, fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
* base: mirror.netaddicted.ca
* extras: mirror.netaddicted.ca
* updates: mirror.netaddicted.ca
repo id repo name status
base CentOS-5 - Base 3,667
centos5-x86_64 CentOS 5 (x86_64) 3,667
centos5-x86_64-addons CentOS 5 Addons (x86_64) 0
centos5-x86_64-contrib CentOS 5 Contrib (x86_64) 0
centos5-x86_64-extras CentOS 5 Extras (x86_64) 266
centos5-x86_64-updates CentOS 5 Updates (x86_64) 515
clone-epel_rhel5_x86_64 EPEL for Red Hat Enterprise Linux 5 7,656
extras CentOS-5 - Extras 266
spacewalk-client Spacewalk Client Tools 22
updates CentOS-5 - Updates 705
zabbix Zabbix Official Repository - x86_64 193
zabbix-non-supported Zabbix Official Repository non-supported - x86_64 13
repolist: 16,970



**************************************************************************************************** ***************

# ls -lh /etc/yum.repos.d

total 48K
-rw-r--r-- 1 root root 1.9K Sep 19 2014 CentOS-Base.repo
-rw-r--r-- 1 root root 645 Sep 19 2014 CentOS-Debuginfo.repo
-rw-r--r-- 1 root root 277 Sep 19 2014 CentOS-fasttrack.repo
-rw-r--r-- 1 root root 626 Sep 19 2014 CentOS-Media.repo
-rw-r--r-- 1 root root 1.3K Sep 19 2014 CentOS-Sources.repo
-rw-r--r-- 1 root root 8.2K Sep 19 2014 CentOS-Vault.repo
-rw-r--r-- 1 root root 1004 Jun 2 2015 dell-omsa-repository.repo
-rw-r--r-- 1 root root 223 Apr 21 2015 spacewalk-client-nightly.repo
-rw-r--r-- 1 root root 203 Apr 21 2015 spacewalk-client.repo
-rw-r--r-- 1 root root 401 Dec 6 2013 zabbix.repo

Great...so did you try reading the man pages on the yum command, or looking this up?? One of the very first hits in Google for "remove yum repository" gives you a command:
Code:

yum --disablerepo=some-repository
http://www.if-not-true-then-false.co...po-repository/

pradeepspa 04-21-2016 08:41 AM

Yes i did. May be i am trying in a wrong way.
what i tried is ,
yum --disablerepo=centos5-x86_64-updates

yum --disablerepo="CentOS 5 Updates (x86_64)"
Loaded plugins: dellsysid, fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.


Error getting repository data for CentOS 5 Updates (x86_64), repository not found


Both doesnt work. I doubt i am using improper reponame

Habitual 04-21-2016 08:44 AM

Code:

yum --disablerepo=centos5-x86_64-updates
update|upgrade | whatever should do it.

And if you find that doesn't solve the problem or it become disabled permanently,
re-enable it using
Code:

yum --enablerepo=centos5-x86_64-updates
Good Luck.

pradeepspa 04-21-2016 08:48 AM

Guess syntax needs to be modeified

yum --disablerepo=centos5-x86_64-updates
Loaded plugins: dellsysid, fastestmirror, rhnplugin
This system is receiving updates from RHN Classic or Red Hat Satellite.
Loading mirror speeds from cached hostfile
* base: mirror.netaddicted.ca
* extras: mirror.netaddicted.ca
* updates: mirror.netaddicted.ca
You need to give some command
usage: yum [options] COMMAND

List of Commands:

erik2282 04-21-2016 08:54 AM

Are you behind a proxy?

pradeepspa 04-21-2016 08:56 AM

Figured out. I can see its getting packages from rhn satellite. So went into pluginconf.d and disabled rhnplugin.conf

Habitual 04-21-2016 09:11 AM

Good job!

pradeepspa 04-21-2016 09:49 AM

Thanks all for spending your precious time. Appreciate it :)

Habitual 04-21-2016 10:46 AM

You are very welcome.
Glad it worked out.


All times are GMT -5. The time now is 01:52 PM.