Page 1 of 1

Cannot upgrade to PSA 7.5.4 because of spamassassin?

Posted: Sun Aug 28, 2005 9:13 pm
by breun
Tonight I wanted to upgrade from PSA 7.5.3 to 7.5.4 on a FC2 machine using the Atomic Rocket Turtle repo for spamassassin and qmail-scanner.

However the update to 7.5.4 failed, with the e-mail telling me:
error: Failed dependencies:
spamassassin is needed by (installed) qmail-scanner-1.25-9.rhfc2.art
spamassassin is needed by (installed) squirrelmail-1.4.4-4.rhfc2.art
I made sure I had spamassassin installed:
# rpm -q spamassassin
spamassassin-3.0.3-1.rhfc2.art
I even removed (rpm -e --nodeps spamassassin) and reinstalled (yum install spamassassin) spamassassin. Checked it again (it's working according to my mail logs) and ran the PSA updater again.

But I got the same error in my mailbox:
error: Failed dependencies:
spamassassin is needed by (installed) qmail-scanner-1.25-9.rhfc2.art
spamassassin is needed by (installed) squirrelmail-1.4.4-4.rhfc2.art
Any ideas?

Posted: Mon Aug 29, 2005 8:03 am
by scott
hmm.. rough guess the rpm db is corrupted. Do this:

rm /var/lib/rpm/__*
rpm --rebuilddb

then try it again

Posted: Mon Aug 29, 2005 6:21 pm
by tonisius
nvm, removed spamassassin and psa-spamassassin and that fixed everything.

Posted: Tue Aug 30, 2005 7:50 am
by breun
tonisius: I don't have psa-spamassassin installed. And how will removing spamassassin fix everything?

scott: I'd rather not just go and rebuild my rpmdb, I never had any problems and when I run a yum update for instance I get no errors about qmail-scanner and squirrelmail missing spamassassin as a dependency. Or is rebuilding your rpmdb a mostly painless operation?

Posted: Tue Aug 30, 2005 8:09 am
by scott
Its a very common and safe procedure, give it a shot and see if it fixes the issue.

Posted: Tue Aug 30, 2005 1:52 pm
by breun
I rebuilt the rpmdb, but unfortunately it doesn't help.
Update of system was failed for some reason.

[snip]

---

Retrieving Plesk files
---

Preparing for packages installation...
----- begin of output -----
Installing tomcat4-4.1.24-full.2jpp.noarch.rpm
warning: /root/psa/PSA_7.5.4/FC2_std.updates/tomcat4-4.1.24-full.2jpp.noarch.rpm: V3 DSA signature: NOKEY, key ID 307a10a5

Don't forget to setup vars in /etc/tomcat4/tomcat4.conf to
adapt the RPM to your configuration.
Also edit/create /etc/java/java.conf to define your default JDK

For security purposes, tomcat4 service is installed
but not activated by default.
use your service installer for such purposes
ie: ntsysv

Installing tomcat4-webapps-4.1.24-full.2jpp.noarch.rpm
warning: /root/psa/PSA_7.5.4/FC2_std.updates/tomcat4-webapps-4.1.24-full.2jpp.noarch.rpm: V3 DSA signature: NOKEY, key ID 307a10a5
Installing tomcat4-admin-webapps-4.1.24-full.2jpp.noarch.rpm
warning: /root/psa/PSA_7.5.4/FC2_std.updates/tomcat4-admin-webapps-4.1.24-full.2jpp.noarch.rpm: V3 DSA signature: NOKEY, key ID 307a10a5
Installing /PSA_7.5.4/rpm_FedoraCore_2/base/Mambo-4.5.2-7505.noarch.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/base/psa-7.5.4-fc2.build75050824.12.i586.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/base/psa-api-common-7.5.4-fc2.build75050824.12.noarch.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/base/psa-api-cli-7.5.4-fc2.build75050824.12.noarch.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/opt/api/psa-api-rpc-7.5.4-fc2.build75050824.12.noarch.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/opt/api/psa-agent-1.3.5-75050824.12.noarch.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/base/psa-key-7.5-fc2.build75050824.12.noarch.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/base/psa-locale-base-en-US-7.5.4-fc2.build75050824.12.noarch.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/opt/bu/psa-bu-7.5.4-fc2.build75050824.12.i586.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/opt/modules/firewall/psa-firewall-1.0.1-fc2.build75050824.12.i586.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/opt/modules/vpn/psa-vpn-1.0.0-fc2.build75050824.12.i586.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/opt/docs/psa-manual-custom-skin-guide-7.5.4-fc2.build75050824.12.noarch.rpm
error: Failed dependencies:
spamassassin is needed by (installed) qmail-scanner-1.25-9.rhfc2.art
spamassassin is needed by (installed) squirrelmail-1.4.4-4.rhfc2.art

----- end of output -----
===> Autoinstaller: stopped logging at Tue Aug 30 19:43:47 2005

***** end of log file *****
Any more ideas?

Posted: Tue Aug 30, 2005 2:10 pm
by scott
aha well for starters Im not supporting 7.5.4 yet, but my guess is that they've got something looking for a differently named version of spamassassin. It says its looking for spamassassin, but in reality it might be looking for something like perl-Mail-Spamassassin or something like that. I'll know more when I get around to installing 7.5.4 myself.

Posted: Tue Aug 30, 2005 5:42 pm
by breun
I just did a fresh install of Plesk 7.5.4 on a Fedora Core 3 machine and then installed spamassassin, clamd and qmail-scanner and it's all working just fine.

I think I'll go and temporarily uninstall qmail-scanner and spamassassin, retry the upgrade to 7.5.4 and then reinstall qmail-scanner and spamassassin.

Posted: Fri Sep 02, 2005 9:04 pm
by breun
I just tried doing

Code: Select all

rpm -e --nodeps spamassassin
and then running the Plesk autoupdater and then installing spamassassin again. This kind of worked (the installer doesn't complain about spamassassin missing) and I'm now running Plesk 7.5.4, but it seems not all Plesk packages are upgraded (the Updater still has updates).

There seem to be some more conflicts with ART packages:
----- begin of output -----
Installing /PSA_7.5.4/rpm_FedoraCore_2/base/psa-courier-imap-add-7.5.4-fc2.build75050824.12.i586.rpm
Installing /PSA_7.5.4/rpm_FedoraCore_2/base/courier-imap-3.0.8-fc2.build75050824.12.i586.rpm
file /usr/bin/deliverquota from install of courier-imap-3.0.8-fc2.build75050824.12 conflicts with file from package maildrop-1.8.1-1.rhfc2.art
file /usr/bin/maildirmake from install of courier-imap-3.0.8-fc2.build75050824.12 conflicts with file from package maildrop-1.8.1-1.rhfc2.art

----- end of output -----

Posted: Sat Sep 03, 2005 9:31 am
by marsupillami
I have the exact same issues with maildrop :S

http://www.atomicrocketturtle.com/forum ... .php?t=483