[SLL] Case for forcing install without dependencies?
Paul A. Franz, P.E.
paul at eucleides.com
Sun Oct 5 21:26:06 PDT 2008
On Sun, October 5, 2008 8:06 pm, Mark Foster wrote:
> 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:
>>
>> Recommendations?
>>
> You'll probably be fine with the CPAN approach and use --nodeps on the
> spamassassin rpm install.
That's what I suspected.
> Or you could try cpan2rpm
> http://perl.arix.com/cpan2rpm/#build
That would be a good alternative but what are the names I need for the tarballs that
correspond to doing this: ??
[root at Beaker tmp]# sudo cpan Net::DNS
and
[root at Beaker tmp]# sudo cpan Time::HiRes
This might help answer the question:
[root at Beaker tmp]# ls -l ~/.cpan/sources/modules/
total 840
-rw-r--r-- 1 root root 695142 Oct 5 03:48 02packages.details.txt.gz
-rw-r--r-- 1 root root 153022 Oct 5 03:48 03modlist.data.gz
[root at Beaker tmp]# ls -l ~/.cpan/build/
total 20
drwxr-xr-x 5 paul paul 4096 Oct 5 03:51 Digest-HMAC-1.01
drwxr-xr-x 4 1000 users 4096 Oct 5 03:48 Digest-SHA1-2.11
drwxr-xr-x 7 1001 wheel 4096 Oct 5 03:51 Net-DNS-0.63
drwxr-xr-x 5 1000 1000 4096 Oct 5 03:51 Net-IP-1.25
drwx------ 6 rochana games 4096 Oct 5 04:33 Time-HiRes-1.9715
I got all these:
-rw-r--r-- 1 root root 20557 Jun 25 2004 perl-Digest-HMAC-1.01-1.noarch.rpm
-rw-r--r-- 1 root root 104349 Jun 8 2005 perl-Digest-SHA-5.28-1.i386.rpm
-rw-r--r-- 1 root root 264272 Oct 1 2004 perl-Net-DNS-0.48-1.i386.rpm
-rw-r--r-- 1 root root 182211 Mar 3 2005 perl-Net-RawIP-0.2-1.i386.rpm
-rw-r--r-- 1 root root 84531 Nov 3 2004 perl-Time-HiRes-1.65-1.i386.rpm
-rw-r--r-- 1 root root 557462 Aug 8 2004 spamassassin-2.64-2.1.fc1.dag.i386.rpm
But still no joy:
# rpm -ivh spamassassin-2.64-2.1.fc1.dag.i386.rpm perl-Time-HiRes-1.65-1.i386.rpm
perl-Net-DNS-0.48-1.i386.rpm perl-Digest-HMAC-1.01-1.noarch.rpm
perl-Digest-SHA-5.28-1.i386.rpm
warning: spamassassin-2.64-2.1.fc1.dag.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: perl-Time-HiRes-1.65-1.i386.rpm: V3 DSA signature: NOKEY, key ID de770456
error: Failed dependencies:
perl(Win32::Registry) is needed by perl-Net-DNS-0.48-1
perl(Digest::SHA1) is needed by perl-Digest-HMAC-1.01-
Those last two I could not find. Why would I neet Win32::Registry anyway?
I tried to use already built rpms because I don't know where the tarballs are that
would satisfy the fill in table in the link you provide:
<http://perl.arix.com/cpan2rpm/#build>
Thanks. Maybe I should do the --nodeps
I did this for the time being:
[root at Beaker tmp]# rpm -ivh --nodeps spamassassin-2.64-2.1.fc1.dag.i386.rpm
perl-Time-HiRes-1.65-1.i386.rpm perl-Net-DNS-0.48-1.i386.rpm
perl-Digest-HMAC-1.01-1.noarch.rpm perl-Digest-SHA-5.28-1.i386.rpm
warning: spamassassin-2.64-2.1.fc1.dag.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6
warning: perl-Time-HiRes-1.65-1.i386.rpm: V3 DSA signature: NOKEY, key ID de770456
Preparing... ########################################### [100%]
1:perl-Digest-SHA ########################################### [ 20%]
2:spamassassin ########################################### [ 40%]
3:perl-Time-HiRes ########################################### [ 60%]
4:perl-Net-DNS ########################################### [ 80%]
5:perl-Digest-HMAC ########################################### [100%]
Now I'll just see if SpamAssassin works.
--
Paul A. Franz, P.E.
PAF Consulting Engineers
Office 425.440.9505
Cell 425.241.1618
More information about the linux-list
mailing list