{"id":3429,"date":"2024-11-25T12:45:39","date_gmt":"2024-11-25T17:45:39","guid":{"rendered":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/?page_id=3429"},"modified":"2024-11-25T12:56:22","modified_gmt":"2024-11-25T17:56:22","slug":"one-of-the-configured-repositories-failed-desconocido","status":"publish","type":"page","link":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/one-of-the-configured-repositories-failed-desconocido\/","title":{"rendered":"One of the configured repositories failed (Desconocido)"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3429\" class=\"elementor elementor-3429\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-c345d53 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"c345d53\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d0da417 jltma-glass-effect-no\" data-id=\"d0da417\" data-element_type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-deb0580 jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"deb0580\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>yum -y install epel-release yum-utils<br \/>Complementos cargados:fastestmirror<br \/>Determining fastest mirrors<br \/>Could not retrieve mirrorlist http:\/\/mirrorlist.centos.org\/?release=7&amp;arch=x86_6 4&amp;repo=os&amp;infra=stock error was<br \/>14: curl#6 &#8211; &#8220;Could not resolve host: mirrorlist.centos.org; Error desconocido&#8221;<\/p><p>One of the configured repositories failed (Desconocido),<br \/>and yum doesn&#8217;t have enough cached data to continue. At this point the only<br \/>safe thing yum can do is fail. There are a few ways to work &#8220;fix&#8221; this:<\/p><p>1. Contact the upstream for the repository and get them to fix the problem.<\/p><p>2. Reconfigure the baseurl\/etc. for the repository, to point to a working<br \/>upstream. This is most often useful if you are using a newer<br \/>distribution release than is supported by the repository (and the<br \/>packages for the previous distribution release still work).<\/p><p>3. Run the command with the repository temporarily disabled<br \/>yum &#8211;disablerepo=&lt;repoid&gt; &#8230;<\/p><p>4. Disable the repository permanently, so yum won&#8217;t use it by default. Yum<br \/>will then just ignore the repository until you permanently enable it<br \/>again or use &#8211;enablerepo for temporary usage:<\/p><p>yum-config-manager &#8211;disable &lt;repoid&gt;<br \/>or<br \/>subscription-manager repos &#8211;disable=&lt;repoid&gt;<\/p><p>5. Configure the failing repository to be skipped, if it is unavailable.<br \/>Note that yum will try to contact the repo. when it runs most commands,<br \/>so will have to try and fail each time (and thus. yum will be be much<br \/>slower). If it is a very temporary problem though, this is often a nice<br \/>compromise:<\/p><p>yum-config-manager &#8211;save &#8211;setopt=&lt;repoid&gt;.skip_if_unavailable=true<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d2ffaad elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"d2ffaad\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f031cbf jltma-glass-effect-no\" data-id=\"f031cbf\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e700dff jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"e700dff\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Para solventar esta situaci\u00f3n, ejecuta los siguientes comandos y continua con la actualizaci\u00f3n de tu servidor CentOS 7 <\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1c375dd elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"1c375dd\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c499c80 jltma-glass-effect-no\" data-id=\"c499c80\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ef694aa jltma-glass-effect-no elementor-widget elementor-widget-html\" data-id=\"ef694aa\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<!DOCTYPE html>\r\n<html lang=\"es\">\r\n<head>\r\n    <meta charset=\"UTF-8\">\r\n    <title>Actualizaci\u00f3n Mirrors CentOS<\/title>\r\n    <style>\r\n        body {\r\n            font-family: Arial, sans-serif;\r\n            max-width: 100%;\r\n            margin: 20px auto;\r\n            padding: 20px;\r\n            background-color: #f5f5f5;\r\n        }\r\n        .command-block {\r\n            background-color: #1e1e1e;\r\n            color: #ffffff;\r\n            padding: 15px;\r\n            border-radius: 5px;\r\n            margin: 10px 0;\r\n            font-family: monospace;\r\n        }\r\n        .comment {\r\n            color: #6a9955;\r\n        }\r\n        .command {\r\n            color: #ce9178;\r\n        }\r\n        h1 {\r\n            color: #333;\r\n            border-bottom: 2px solid #333;\r\n            padding-bottom: 10px;\r\n        }\r\n    <\/style>\r\n<\/head>\r\n<body>\r\n    <h3>Actualizaci\u00f3n de Repositorios CentOS<\/h3>\r\n    <div class=\"command-block\">\r\n        <span class=\"comment\"># Actualizar los mirrors<\/span><br>\r\n        <span class=\"command\">cd \/etc\/yum.repos.d\/<\/span><br>\r\n        <span class=\"command\">sed -i 's\/mirrorlist\/#mirrorlist\/g' \/etc\/yum.repos.d\/CentOS-*<\/span><br>\r\n        <span class=\"command\">sed -i 's|#baseurl=http:\/\/mirror.centos.org|baseurl=http:\/\/vault.centos.org|g' \/etc\/yum.repos.d\/CentOS-*<\/span><br>\r\n        <br>\r\n        <span class=\"comment\"># Limpiar cach\u00e9 y actualizar<\/span><br>\r\n        <span class=\"command\">yum clean all<\/span><br>\r\n        <span class=\"command\">yum makecache<\/span>\r\n    <\/div>\r\n<\/body>\r\n<\/html>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>yum -y install epel-release yum-utilsComplementos cargados:fastestmirrorDetermining fastest mirrorsCould not retrieve mirrorlist http:\/\/mirrorlist.centos.org\/?release=7&amp;arch=x86_6 4&amp;repo=os&amp;infra=stock error was14: curl#6 &#8211; &#8220;Could not resolve host: mirrorlist.centos.org; Error desconocido&#8221; One of the configured repositories failed (Desconocido),and yum doesn&#8217;t have enough cached data to continue. At this point the onlysafe thing yum can do is fail. There are a few ways [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3429","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/wp-json\/wp\/v2\/pages\/3429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/wp-json\/wp\/v2\/comments?post=3429"}],"version-history":[{"count":10,"href":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/wp-json\/wp\/v2\/pages\/3429\/revisions"}],"predecessor-version":[{"id":3442,"href":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/wp-json\/wp\/v2\/pages\/3429\/revisions\/3442"}],"wp:attachment":[{"href":"https:\/\/servisistemas.com.co\/servicios-para-redes-computadores\/wp-json\/wp\/v2\/media?parent=3429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}