Ali Helmy wrote:
> Hey mates,
>
> After downloading and installing the freshrpms .rpm package, i
> constanlty get a problem when trying to do anything with yum... for example
>
> [root@Laptop RPMs]# yum update
> Loading "installonlyn" plugin
> Setting up Update Process
> Setting up repositories
> livna [1/5]
> livna 100% |=========================| 951 B 00:00
> core [2/5]
> core 100% |=========================| 1.1 kB 00:00
> updates [3/5]
> updates 100% |=========================| 951 B 00:00
> freshrpms [4/5]
> Cannot find a valid baseurl for repo: freshrpms
> Error: Cannot find a valid baseurl for repo: freshrpms
>
> the only way around it is using the --disablerepo=freshrpms option in
> yum, however, i dont like this... what is wrong with the repo?
>
> --
> Cheers,
> A. Helmy
> ==================
> One Life... LIVE It
> ==================
>
You need a base url such as this in '/etc/yum.repos.d'
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
#mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey= file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1
david
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
ok, so instead of doing the
rpm -ivh http://ftp.freshrpms.net/pub/freshrpms/fedora/linux/5/freshrpms-release/freshrpms-release-1.1-1.fc.noarch.rpm step, i downloaded the .rpm and installed it locally...
now after examining the freshsrpms.repo file in /etc/yum.repo.d, it says
# $Id: freshrpms.repo 3341 2005-06-28 18:40:26Z thias $
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
#baseurl= http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1
so i reallly cant find out whats wrong
--
Cheers,
A. Helmy
==================
One Life... LIVE It
==================