{"id":97,"date":"2012-07-03T16:23:58","date_gmt":"2012-07-03T16:23:58","guid":{"rendered":"http:\/\/www.milesweb.co.uk\/blog\/?p=97"},"modified":"2024-01-15T10:43:49","modified_gmt":"2024-01-15T10:43:49","slug":"yum-issues-with-centos-4-x","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/blog\/technology-hub\/yum-issues-with-centos-4-x\/","title":{"rendered":"yum issues with CentOS 4.x"},"content":{"rendered":"<p>Recently, I tried installing\/updating few rpm&#8217;s with yum installer and got the error below.<\/p>\n<blockquote><p><strong>Searching Packages:<\/strong><br \/>\n<strong>Setting up repositories<\/strong><br \/>\n<strong>not using ftp, http[s], or file for repos, skipping &#8211; 4 is not a valid release or hasnt been released yet<\/strong><br \/>\n<strong>Cannot find a valid baseurl for repo: update<\/strong><br \/>\n<strong>Error: Cannot find a valid baseurl for repo: update<\/strong><\/p><\/blockquote>\n<p>It turned out to be an issue with End Of Life (EOL) for CentOS 4. It&#8217;s not feasible to upgrade the current CentOS version right now &amp; the same situation will be for others too. There is a workaround to overcome this error.<\/p>\n<blockquote><p><strong>\u00a0 Open \/etc\/yum.repos.d\/CentOS-Base.repo in an editor<\/strong><br \/>\n<strong>\u00a0 Comment all &#8220;mirrorlist&#8221; entries.<\/strong><br \/>\n<strong>\u00a0 Uncomment the &#8220;baseurl&#8221; entries and change them to http:\/\/vault.centos.org\/4.9\/os\/$basearch<\/strong><\/p><\/blockquote>\n<p>This will allow yum to search the rpm&#8217;s from CentOS&#8217;s vault.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently, I tried installing\/updating few rpm&#8217;s with yum installer and got the error below. Searching Packages: Setting up repositories not using ftp, http[s], or file for repos, skipping &#8211; 4 is not a valid release or hasnt been released yet Cannot find a valid baseurl for repo: update Error: Cannot find a valid baseurl for&#8230; <a class=\"read-more\" href=\"https:\/\/www.milesweb.co.uk\/blog\/technology-hub\/yum-issues-with-centos-4-x\/\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[127],"tags":[27],"class_list":["post-97","post","type-post","status-publish","format-standard","hentry","category-technology-hub","tag-yum-issues"],"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/97","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=97"}],"version-history":[{"count":6,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions"}],"predecessor-version":[{"id":18638,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/posts\/97\/revisions\/18638"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=97"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=97"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=97"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}