LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-28-2015, 03:24 PM   #1
Datcom001
LQ Newbie
 
Registered: May 2015
Posts: 8

Rep: Reputation: Disabled
Yum Repo


Yum Command worked fine until , nginx was installed.
For some reason , this error is persistent with any yum command.
Used.
What does the error mean?
Tx.



" Loading mirror speeds from cached hostfile
* base: mirrors.gigenet.com
* epel: ftp.cse.buffalo.edu
* extras: mirror.tzulo.com
* rpmforge: mirror.de.leaseweb.net
* updates: mirror.tzulo.com
http://nginx.org/packages/mainline/c...ta/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: nginx. Please verify its path and try again "
 
Old 12-28-2015, 05:07 PM   #2
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Datcom001 View Post
What does the error mean?
Hi...

Welcome to the forum

It means the the URL or address where the package is located is no longer available or has moved. To get rid of this error message, see if the commands mentioned in #1 here help. If not, you will most likely need to edit your "etc/apt/sources" list.

If you don't already have this package, there may be an rpm for it available somewhere so you can install it manually. What is the distribution and version of Linux you're using?

Regards...
 
Old 12-28-2015, 05:56 PM   #3
Datcom001
LQ Newbie
 
Registered: May 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
Those commands work but the error comes back.

Centos 6.7
 
Old 12-28-2015, 06:15 PM   #4
Datcom001
LQ Newbie
 
Registered: May 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
Eventually went into the

/etc/yum.repo.d and then took out the nginx files within, updated yum , and that made it continue to work .
 
Old 12-28-2015, 06:39 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the reason is YOU ARE USING THE WRONG ADDRESS
Code:
the repo 
 http://nginx.org/packages/mainline/centos/6/x86_64/RPMS/ 

the mirror lists 
http://nginx.org/packages/mainline/centos/6/x86_64/repodata/
you almost NEVER manually add a link

you used "6.7" when the real location is " 6 "
 
Old 12-28-2015, 10:30 PM   #6
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by Datcom001 View Post
Eventually went into the

/etc/yum.repo.d and then took out the nginx files within, updated yum , and that made it continue to work .
Hi...

Ok, good. If you want to install the program manually, simply go here, using the link John VV provided.

After that and if everything works properly, if you feel this issue is resolved, please mark this thread as "SOLVED" by clicking on "Thread Tools" directly above your initial post. Thanks!

@John VV: Thanks for the links!

Regards...

Last edited by ardvark71; 12-28-2015 at 10:33 PM. Reason: Correction.
 
Old 12-29-2015, 08:28 PM   #7
Datcom001
LQ Newbie
 
Registered: May 2015
Posts: 8

Original Poster
Rep: Reputation: Disabled
Worked out fine.



Tx.
 
Old 12-29-2015, 09:59 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,348

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
If you are using extra repos other than the Centos ones, I highly recommend you install/setup yum-plugin-priorities to protect your system, see https://wiki.centos.org/PackageManag...Yum/Priorities for details/reasons.
 
  


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
YUM Repo Archangelmscj Linux - Newbie 1 06-19-2015 06:28 PM
yum repo Vimuth Linux - Newbie 2 11-20-2012 03:15 PM
some yum repo help please cwc Fedora 6 09-24-2009 07:35 PM
yum.conf - extract files from a DVD. How define repo location and what is yum command emuub Linux - Software 2 06-17-2007 07:28 AM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:08 AM.

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
Open Source Consulting | Domain Registration