I wasn't very clear. If you have spamassassin installed and do not have perl-DB_File installed and then run sa-learn --spam some_file_with_spam you get the error message Cannot open bayes_path /rhome/john/.spamassassin/bayes R/O: No locks available Cannot open bayes_path /rhome/john/.spamassassin/bayes R/W: Inappropriate ioctl for device Cannot open bayes_path /rhome/john/.spamassassin/bayes R/W: Inappropriate ioctl for device The last is repeated many times. This can be fixed by installing perl-DB_File. I think that spamassassin should depend on perl-DB_File which it currently does not as your test shows. I think a default install of 3.0.2 installs spamassassin but not perl-DB_File (I may be wrong that spamassassin is a default, but I know that perl-DB_File is not). Both rpms are present and fine in 3.0.2 -- my objection was that installing spamassassin does not force an install of perl-DB_File. John On Wed, 2004-07-21 at 08:52, Troy Dawson wrote: > Hi John, > After some checking, I guess I just don't see the problem. Here is my output > of a yum install of spamassasin > > # yum install spamassassin > Gathering header information file(s) from server(s) > Server: SL 302 errata > Server: SL 302 notsupported rpms > Server: SL 302 main > Finding updated packages > Downloading needed headers > Resolving dependencies > ...Dependencies resolved > I will do the following: > [install: spamassassin 2.55-3.1.i386] > I will install/upgrade these to satisfy the dependencies: > [deps: perl-Net-DNS 0.31-3.1.noarch] > [deps: perl-Digest-HMAC 1.01-11.1.noarch] > [deps: perl-Time-HiRes 1.38-3.i386] > [deps: perl-Digest-SHA1 2.01-15.1.i386] > Is this ok [y/N]: y > Downloading Packages > Getting perl-Net-DNS-0.31-3.1.noarch.rpm > perl-Net-DNS-0.31-3.1.noa 100% |=========================| 158 kB 00:00 > Getting spamassassin-2.55-3.1.i386.rpm > spamassassin-2.55-3.1.i38 100% |=========================| 425 kB 00:00 > Getting perl-Digest-HMAC-1.01-11.1.noarch.rpm > perl-Digest-HMAC-1.01-11. 100% |=========================| 11 kB 00:00 > Getting perl-Time-HiRes-1.38-3.i386.rpm > perl-Time-HiRes-1.38-3.i3 100% |=========================| 22 kB 00:00 > Getting perl-Digest-SHA1-2.01-15.1.i386.rpm > perl-Digest-SHA1-2.01-15. 100% |=========================| 15 kB 00:00 > Running test transaction: > Test transaction complete, Success! > perl-Digest-SHA1 100 % done 1/5 > perl-Digest-HMAC 100 % done 2/5 > perl-Net-DNS 100 % done 3/5 > perl-Time-HiRes 100 % done 4/5 > spamassassin 100 % done 5/5 > Installed: spamassassin 2.55-3.1.i386 > Dep Installed: perl-Net-DNS 0.31-3.1.noarch perl-Digest-HMAC 1.01-11.1.noarch > perl-Time-HiRes 1.38-3.i386 perl-Digest-SHA1 2.01-15.1.i386 > Transaction(s) Complete > # > > > Also, here is my output of yum listing perl-DB_File > > # yum list perl-DB_File > Gathering header information file(s) from server(s) > Server: SL 302 errata > Server: SL 302 notsupported rpms > Server: SL 302 main > Finding updated packages > Downloading needed headers > Looking in Available Packages: > Name Arch Version Repo > -------------------------------------------------------------------------------- > perl-DB_File i386 2:1.804-88.4 sl302server > > Looking in Installed Packages: > Name Arch Version Repo > -------------------------------------------------------------------------------- > > # > > > So, it looks like you might not be pointing at a mirror that is fully populated. > > Troy > > Troy Dawson wrote: > > Hi John, > > I'm checking on this, but while I check could you send your yum error. > > perl-DB_File is indeed included in 3.0.2, in particular > > perl-DB_File-1.804-88.4.i386.rpm > > Troy > > > > John Franks wrote: > > > >> We are rolling out SL 3.0.2 and our users quickly found that the > >> spamassassin helper "sa-learn" fails with an error message. It appears > >> that the rpm package "perl-DB_File" is needed for sa-learn. > >> Yum seems unaware of this dependency and I believe it is also missing in > >> the 3.0.2 distribution. > > > > > > -- > > __________________________________________________ > > Troy Dawson [log in to unmask] (630)840-6468 > > Fermilab ComputingDivision/CSS CSI Group > > __________________________________________________ > > -- > __________________________________________________ > Troy Dawson [log in to unmask] (630)840-6468 > Fermilab ComputingDivision/CSS CSI Group > __________________________________________________ -- John Franks <[log in to unmask]> Dept of Mathematics, Northwestern Univ