LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-04-2016, 09:59 AM   #1
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 568

Rep: Reputation: Disabled
Yum no longer working - [Errno 14] PYCURL ERROR 22


What might be causing this? yum was working earlier today, but not now. Thanks

Code:
[root@devserver etc]# yum clean all
Loaded plugins: fastestmirror, priorities, security
Cleaning repos: Webmin base dag epel extras ius updates virtualbox
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@devserver etc]# yum upgrade
Loaded plugins: fastestmirror, priorities, security
Setting up Upgrade Process
Determining fastest mirrors
epel/metalink                                                                                                                                                                                                         |  13 kB     00:00
 * base: linux.mirrors.es.net
 * epel: mirrors.cat.pdx.edu
 * extras: centos.mirrors.hoobly.com
 * ius: mirrors.kernel.org
 * updates: mirrors.usc.edu
Webmin                                                                                                                                                                                                                | 1.0 kB     00:00
Webmin/primary                                                                                                                                                                                                        |  32 kB     00:00
Webmin                                                                                                                                                                                                                               254/254
base                                                                                                                                                                                                                  | 3.7 kB     00:00
base/primary_db                                                                                                                                                                                                       | 4.7 MB     00:01
http://apt.sw.be/redhat/el6/en/x86_64/dag/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below knowledge base article

https://access.redhat.com/articles/1320623

If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.

Error: Cannot retrieve repository metadata (repomd.xml) for repository: dag. Please verify its path and try again
[root@devserver etc]#
 
Old 09-04-2016, 10:28 AM   #2
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 568

Original Poster
Rep: Reputation: Disabled
Ah, I think I know what is going on. I had added a repo way back when, but now it doesn't seem to be supported. Next step is how do I remove it?

Code:
#RPMforge.  Don't enable
wget -O /etc/pki/rpm-gpg/RPM-GPG-KEY.dag.txt http://apt.sw.be/RPM-GPG-KEY.dag.txt
gpg --quiet --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY.dag.txt
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY.dag.txt
rpm -Uvh http://packages.sw.be/rpmforge-relea....rf.x86_64.rpm
vi /etc/yum.repos.d/rpmforge.repo
    # Add priority=60 and enabled=0
 
Old 09-04-2016, 10:49 AM   #3
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 568

Original Poster
Rep: Reputation: Disabled
I think I got it fixed. Please review the steps I took, and let me know if I was correct. Also, how do I remove the old dag public key? Thanks
Code:
[root@devserver yum.repos.d]# ls -l # manually edited the list to remove non-related items
total 92
-rw-r--r--. 1 root root  143 May 26  2014 dag.repo
-rw-r--r--. 1 root root 1142 Dec 28  2015 rpmforge.repo
-rw-r--r--. 1 root root 1128 Mar 20  2013 rpmforge.repo.rpmnew
-rw-r--r--. 1 root root  234 Apr 19  2014 webmin.repo
[root@devserver yum.repos.d]# cat  rpmforge.repo
### Name: RPMforge RPM Repository for RHEL 6 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled =0
priorities=60
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
#priorities=1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-testing]
name = RHEL $releasever - RPMforge.net - testing
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/testing
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge-testing
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
[root@devserver yum.repos.d]# rpm -qa |grep -i rpmforge
rpmforge-release-0.5.3-1.el6.rf.x86_64
[root@devserver yum.repos.d]# rpm -e rpmforge-release-0.5.3-1.el6.rf.x86_64
warning: /etc/yum.repos.d/rpmforge.repo saved as /etc/yum.repos.d/rpmforge.repo.rpmsave
[root@devserver yum.repos.d]# cat dag.repo
[dag]
name=Dag RPM Repository for Red Hat Enterprise Linux
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
[root@devserver yum.repos.d]# rpm -qa |grep -i dag
[root@devserver yum.repos.d]# rm dag.repo
rm: remove regular file `dag.repo'? y
[root@devserver yum.repos.d]# rm rpmforge.repo.rpmnew
rm: remove regular file `rpmforge.repo.rpmnew'? y
[root@devserver yum.repos.d]# rm rpmforge.repo.rpmsave
rm: remove regular file `rpmforge.repo.rpmsave'? y
[root@devserver yum.repos.d]# yum clean all
Loaded plugins: fastestmirror, priorities, security
Cleaning repos: Webmin base epel extras ius updates virtualbox
Cleaning up Everything
Cleaning up list of fastest mirrors
[root@devserver yum.repos.d]# yum update
Loaded plugins: fastestmirror, priorities, security
Setting up Update Process
Determining fastest mirrors
epel/metalink                                                                                                                                                                                                         |  14 kB     00:00
 * base: mirror.spro.net
 * epel: mirrors.cat.pdx.edu
 * extras: mirror.tocici.com
 * ius: mirrors.kernel.org
 * updates: mirror.chpc.utah.edu
Webmin                                                                                                                                                                                                                | 1.0 kB     00:00
Webmin/primary                                                                                                                                                                                                        |  32 kB     00:00
Webmin                                                                                                                                                                                                                               254/254
base                                                                                                                                                                                                                  | 3.7 kB     00:00
base/primary_db                                                                                                                                                                                                       | 4.7 MB     00:01
epel                                                                                                                                                                                                                  | 4.3 kB     00:00
epel/primary_db                                                                                                                                                                                                       | 5.9 MB     00:01
extras                                                                                                                                                                                                                | 3.4 kB     00:00
extras/primary_db                                                                                                                                                                                                     |  37 kB     00:00
ius                                                                                                                                                                                                                   | 2.2 kB     00:00
ius/primary_db                                                                                                                                                                                                        | 209 kB     00:00
updates                                                                                                                                                                                                               | 3.4 kB     00:00
updates/primary_db                                                                                                                                                                                                    | 2.0 MB     00:00
virtualbox                                                                                                                                                                                                            |  951 B     00:00
virtualbox/primary                                                                                                                                                                                                    |  11 kB     00:00
virtualbox                                                                                                                                                                                                                             36/36
138 packages excluded due to repository priority protections
No Packages marked for Update
[root@devserver yum.repos.d]#

[root@devserver yum.repos.d]#
 
Old 09-04-2016, 10:53 AM   #4
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,309

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
The repo is dead, so just remove the file /etc/yum.repos.d/rpmforge.repo

The replacement is http://rpmfusion.org/

For a guide to repositories, see
https://wiki.centos.org/AdditionalRe...s/Repositories
For tracking where a package is obtainable, see
http://rpm.pbone.net/
http://pkgs.org/
 
1 members found this post helpful.
Old 09-04-2016, 10:57 AM   #5
NotionCommotion
Member
 
Registered: Aug 2012
Posts: 568

Original Poster
Rep: Reputation: Disabled
Thanks David, Yea, that is what I found. Should I also remove the key? If so, how?
 
Old 09-05-2016, 10:29 AM   #6
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,309

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
If you like to keep things tidy, although it's not taking up much space. Just delete
/etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
 
  


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
Problem: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" geoprogrammer Linux - Newbie 3 02-24-2016 06:04 PM
[SOLVED] [Errno 14] PYCURL ERROR 7 - "couldn't connect to host" Trying other mirror user1989 Linux - Networking 6 01-21-2016 10:31 AM
[SOLVED] pycurl error 6 - couldn't resolve host public-yum.oracle.com vjy Linux - Software 5 04-08-2015 06:29 AM
[SOLVED] YUM not working on the client - [Errno 14] PYCURL ERROR 7 - "" infinite_scale Red Hat 3 04-25-2012 09:13 AM
[SOLVED] ErrNo 14 and ErrNo 256 in yum server configuration nivedhitha Linux - Server 4 05-22-2011 12:45 AM


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

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