rrpm -U is already installed rpm -v is not installed

Hello,

I hope someone can answer my question.

I upgraded my spamassassin modules:

rpm -U perl-Mail-SpamAssassin-3.0.1-1.i386.rpm spamassassin-3.0.1-1.i386.rpm.

If I verify this it thinks they are upgraded:
rpm -Uv perl-Mail-SpamAssassin-3.0.1-1.i386.rpm spamassassin-3.0.1-1.i386.rpm
Preparing packages for installation...
package perl-Mail-SpamAssassin-3.0.1-1 is already installed
package spamassassin-3.0.1-1 is already installed

rpm -q spamassassin
spamassassin-3.0.1-1


My spamd would not start. When I verify the packages are installed it says they are not installed:

 rpm -e -v --test perl-Mail-SpamAssassin-3.0.1-1.i386.rpm spamassassin-3.0.1-1.i386.rpm | more
error: package perl-Mail-SpamAssassin-3.0.1-1.i386.rpm is not installed
error: package spamassassin-3.0.1-1.i386.rpm is not installed.

I understand that the -U flag removed the previous version before it installs the version to upgrade to. So, I am loathed to try and uninstall it.

Does anyone know what the best course of action to take is?

Thanks
Bernie



misscarbonaraAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

jlevieCommented:
Your "verify" is flawed. "--test' is only a valid option to and 'rpm -i' (install) operation. You attempted to invoke an 'rpm -e' which would have erased the packages had the syntax an options been valid.

You can verify the packages with 'rpm -q --verify perl-Mail-SpamAssassin-3.0.1-1 spamassassin-3.0.1-1'. See 'man rpm' for details.

If spamd is failing to start it probably isn't happy about something and it may log it's compaints to /var/log/messages, have you looked there for errors?
0
wesly_chenCommented:
> My spamd would not start.
After you do "rpm -qa | grep -i spamassassin" to verify spamassassin installation.
Then as root, do
# service spamassassin start    <==== start spamassassin
chkconfig --level 2345 spamassassin on  <===turn on spamassassin at boot up

Wesly
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.