LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Yum Repo (https://www.linuxquestions.org/questions/linux-software-2/yum-repo-4175562529/)

Datcom001 12-28-2015 03:24 PM

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 "

ardvark71 12-28-2015 05:07 PM

Quote:

Originally Posted by Datcom001 (Post 5470052)
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...

Datcom001 12-28-2015 05:56 PM

Those commands work but the error comes back.

Centos 6.7

Datcom001 12-28-2015 06:15 PM

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 .

John VV 12-28-2015 06:39 PM

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 "

ardvark71 12-28-2015 10:30 PM

Quote:

Originally Posted by Datcom001 (Post 5470102)
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...

Datcom001 12-29-2015 08:28 PM

Worked out fine.

:)

Tx.

chrism01 12-29-2015 09:59 PM

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.


All times are GMT -5. The time now is 02:24 AM.