Cannot upgrade to PSA 7.5.4 because of spamassassin?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Cannot upgrade to PSA 7.5.4 because of spamassassin?

Unread post 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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

hmm.. rough guess the rpm db is corrupted. Do this:

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

then try it again
tonisius

Unread post by tonisius »

nvm, removed spamassassin and psa-spamassassin and that fixed everything.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

Its a very common and safe procedure, give it a shot and see if it fixes the issue.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post 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.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post 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 -----
marsupillami
Forum User
Forum User
Posts: 16
Joined: Sun Apr 24, 2005 8:21 am

Unread post by marsupillami »

I have the exact same issues with maildrop :S

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