LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-04-2003, 10:00 AM   #1
ecroskey
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Rep: Reputation: 0
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
 
Old 03-04-2003, 10:02 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you need to be root. it says you are admin, but it is probably specifically requiring root.
 
Old 03-04-2003, 10:05 AM   #3
ecroskey
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 03-04-2003, 10:08 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 03-04-2003, 10:22 AM   #5
ecroskey
LQ Newbie
 
Registered: Feb 2003
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
installing a .patch file nuzzy Linux - General 1 11-10-2003 05:30 PM
Installing a patch and DRI gamehack Slackware 0 10-28-2003 11:14 AM
sendmail patch installation muks Linux - Networking 1 10-09-2003 07:58 PM
help in applying sendmail patch please Tigger Linux - Newbie 19 06-11-2003 07:48 AM
Sendmail Patch? Cerbere Solaris / OpenSolaris 2 03-06-2003 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration