LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Need help installing Sendmail Patch, Please! (https://www.linuxquestions.org/questions/linux-newbie-8/need-help-installing-sendmail-patch-please-48206/)

ecroskey 03-04-2003 10:00 AM

Need help installing Sendmail Patch, Please!
 
I need to install the sendmail rpm update on my remote webserver and I am getting errors:


####

[admin@web10]$ rpm -Fvh sendmail-8.11.6-23.71.i386.rpm

error: cannot get exclusive lock on /var/lib/rpm/Packages

error: cannot open Packages index using db3 - Operation not permitted (1)

error: cannot open Packages database in /var/lib/rpm

####

I did not set this machine up, I took over the job, unwittingly, from the person who used to have it. Can someone please tell me what the heck I need to do?

Regards,
Eric

acid_kewpie 03-04-2003 10:02 AM

you need to be root. it says you are admin, but it is probably specifically requiring root.

ecroskey 03-04-2003 10:05 AM

Thanks Chris, is there a way to install all of the RPMs at once instead of one at a time?

Can I do something like:
rpm -Fvh sendmail-8.xxxx.xx.x, sendmail-8.xx.xx.x, sendmail-cf.x.x.x.x

Also, do I need the [ ] brackets around the filenames or is that just an identifier of where the filenames go?

Regards,
Eric

acid_kewpie 03-04-2003 10:08 AM

don't use the F switch unless you need to. it's safest to use -Uvh (upgrade). other than that your command line is fine, and you CAN add as many seperate files as you want on the command line. i've ended u pwith about 100 on one line before now.

ecroskey 03-04-2003 10:22 AM

Thanks Chris! Worked great.

By the way, thank you for helping me out with my sendmail problem from a couple days ago. What you told me helped me get it running. Now I can relay mail from all over the network out, but for some reason I still can't send any email directly from that machine.

Regards,
Eric


All times are GMT -5. The time now is 09:22 PM.