[SLL] Case for forcing install without dependencies? resend

Paul A. Franz, P.E. paul at eucleides.com
Sun Oct 5 23:01:46 PDT 2008


On Sun, October 5, 2008 9:50 pm, Brian C. Lane wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Paul A. Franz, P.E. wrote:
>> I found an rpm I need, right version and all. Has dependencies but I possibly have the
>> right stuff installed, just not the dependent rpm's:
>>
>> [root at Beaker tmp]# rpm -ivh spamassassin-.64-2.1.fc1.dag.i386.rpm
>>  warning: spamassassin-2.64-2.1.fc1.dag.i386.rpm: V3 DSA signature: NOKEY, key ID
>> 6b8d79e6
>> error: Failed dependencies:
>>         perl(Time::HiRes) is needed by spamassassin-2.64-2.1.fc1.dag perl-Net-DNS
is needed by spamassassin-2.64-2.1.fc1.dag
>
> Why aren't you using yum? The rpm appears to be from dag's repository, it should
have all the dependencies that it needs.
>
> Hmm, I don't remember if fc1 had yum support, so in the case it didn't you should
still be able to find the dependent rpms in the same repo you found the spamassassin
rpm.

I does. I just can't make it work. Here's my cobbled up yum.conf

# See the yum.conf(5) man page for information the syntax of this file, # including
failover setup.

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
exclude=kernel*

[base]
gpgcheck=1
name=Fedora Core $releasever - Base
baseurl=http://download.fedoralegacy.org/fedora/$releasever/os/$basearch # PAF adds
this line
baseurl = http://apt.sw.be/fedora/1/en/$basearch/dag

[updates]
gpgcheck=1
name=Fedora Core $releasever updates
# PAF adds this line
baseurl = http://apt.sw.be/fedora/1/en/$basearch/dag
baseurl=http://download.fedoralegacy.org/fedora/$releasever/updates/$basearch

[legacy-utils]
gpgcheck=1
name=Fedora Legacy utilities for Fedora Core $releasever
# PAF adds this line
baseurl = http://apt.sw.be/fedora/1/en/$basearch/dag
baseurl=http://download.fedoralegacy.org/fedora/$releasever/legacy-utils/$basearch

# PAF Added the from here down Oct 5, 2008
# Name: RPMforge RPM Repository for Fedora Core 1 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Fedora Core $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/fedora/1/en/$basearch/dag
mirrorlist = http://apt.sw.be/fedora/1/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

Which Does this:

[root at Beaker tmp]# yum install spamassassin
Gathering header information file(s) from server(s)
Server: Fedora Core 1 - Base
Server: Fedora Legacy utilities for Fedora Core 1
retrygrab() failed for:
  http://download.fedoralegacy.org/fedora/1/legacy-utils/i386/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file
http://download.fedoralegacy.org/fedora/1/legacy-utils/i386/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found

Can you suggest what it should be?


-- 
Paul A. Franz, P.E.
PAF Consulting Engineers
Office 425.440.9505
Cell 425.241.1618



-- 
Paul A. Franz, P.E.
PAF Consulting Engineers
Office 425.440.9505
Cell 425.241.1618


More information about the linux-list mailing list