Solved

Installing from RPM

Posted on 2006-10-24
7
313 Views
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 ~]#

0
Comment
Question by:horalia
  • 4
  • 2
7 Comments
 

Author Comment

by:horalia
Comment Utility
By the way, the box does connect to the Internet.
0
 
LVL 14

Accepted Solution

by:
ygoutham earned 250 total points
Comment Utility
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

***********

[core]
name=Fedora Core $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
                                                                               
[core-debuginfo]
name=Fedora Core $releasever - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/debug/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
                                                                               
[core-source]
name=Fedora Core $releasever - Source
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/source/SRPMS/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY


*************************
0
 

Expert Comment

by:gharnett
Comment Utility
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

Expert Comment

by:gharnett
Comment Utility
0
 

Author Comment

by:horalia
Comment Utility
Could this be happening because the fedora web site is down?
0
 

Author Comment

by:horalia
Comment Utility
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?
0
 

Author Comment

by:horalia
Comment Utility
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
#
[installcd]
name=Fedora Core 5 Installation DVD
baseurl=file:///media/disk
enabled=1
gpgkey=file:///media/disk/RPM-GPG-KEY
gpgcheck=1

# 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.......
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

One of the most frequently asked questions on EE in the "Windows Installer" zone is how to eliminate self-triggered installation of some product.  The problem occurs when, suddenly, whenever a certain application is launched, or even when a folder i…
If you don't know how to downgrade, my instructions below should be helpful.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now