Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Installing from RPM

Posted on 2006-10-24
Last Modified: 2013-12-06
I'm trying to check if there are any available Apache updates to install on a brand new web server running Fedora 5, but when I enter the following command:
yum check-update httpd
I get the following error:
[root@ren-production ~]# yum check-update httpd
Loading "installonlyn" plugin
Setting up repositories
core                                                                 [1/3]
Cannot find a valid baseurl for repo: core
Error: Cannot find a valid baseurl for repo: core
[root@ren-production ~]#

Question by:horalia
  • 4
  • 2

Author Comment

ID: 17799153
By the way, the box does connect to the Internet.
LVL 14

Accepted Solution

ygoutham earned 250 total points
ID: 17801227
your repos listing in  files in /etc/yum.repos.d/ is not valid or pointing to a repository which is not available any more.

edit the file to see if the url given there is accessible over internet

this is my file


name=Fedora Core $releasever - $basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
name=Fedora Core $releasever - $basearch - Debug
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
name=Fedora Core $releasever - Source
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


Expert Comment

ID: 17801480
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.


Expert Comment

ID: 17801484

Author Comment

ID: 17804293
Could this be happening because the fedora web site is down?

Author Comment

ID: 17804762
I just checked the files in yum.repos.d and they all point to the main fedora web page. Is there any other place where I can get the updates or do I have to wait for the site to come back up?

Author Comment

ID: 17805341
I found this solution at a Linux forum site. I followed the instructions detailed below, removed the repos on yum.repos.d (copies them to another file, of course) and I'm now able to run yum without any errors. I wasn't able to Add/Remove Software.

To use CD/DVD as repository

create a .repo file as shown below in /etc/yum.repos.d/
Sample: /etc/yum.repos.d/installcd.repo
name=Fedora Core 5 Installation DVD

# baseurl : give the path where the repodata folder exists on CD
# gpgkey : give path of folder on CD where RPM-GPG-KEY exists

In case no internet connection is available then disable rest of the repos and one should be able to install from CD only.

I'll award the points to ygoutham since his suggestions of checking the repos dawned on me that this was not working with the fedora site being down. Still very much a newbie in this area.......

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Need To Change Centos 6 Timestamp Form In Log File 24 92
LINUX backups with VEEAM 8 117
linux SFTP 8 60
Remove Resilio directory from Netgear ReadyNAS 212 via SSH. 2 46
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question