Re: How Can I Tell How Postfix Was Installed?
Thanks Wietse, On Tue, Aug 19, 2008 at 1:29 PM, Wietse Venema [EMAIL PROTECTED] wrote: You can verify if the installed software matches the RPM package. # rpm -qa 'postfix*' rpm -qa 'postfix*' postfix-2.3.3-2.el5.centos.mysql_pgsql postfix-pflogsumm-2.3.3-2 # rpm --verify name-of-package... I get a bunch of at least one of file's dependencies has changed since prelinking messages back on that. Here's just a few prelink: /usr/libexec/postfix/master: at least one of file's dependencies has changed since prelinking S.?T /usr/libexec/postfix/master prelink: /usr/libexec/postfix/nqmgr: at least one of file's dependencies has changed since prelinking S.?T /usr/libexec/postfix/nqmgr prelink: /usr/libexec/postfix/oqmgr: at least one of file's dependencies has changed since prelinking S.?T /usr/libexec/postfix/oqmgr prelink: /usr/libexec/postfix/pickup: at least one of file's dependencies has changed since prelinking S.?T /usr/libexec/postfix/pickup prelink: /usr/libexec/postfix/pipe: at least one of file's dependencies has changed since prelinking S.?T /usr/libexec/postfix/pipe
RE: How Can I Tell How Postfix Was Installed?
So a few other details I've grabbed didn't provide yesterday- These numbers don't seem to add up. My big question is how do I get this system upgraded without breaking it? postconf -d | grep mail_version mail_version = 2.4.5 and also rpm -qa | grep postfix postfix-2.3.3-2.el5.centos.mysql_pgsql postfix-pflogsumm-2.3.3-2 That would be a problem. Looks like someone installed Postfix from a tarball, which the RPM system knows nothing about. There are 2 options. 1. Just get and install Postfix again. Go to a CentOS mirror, and get postfix-2.3.3-2.1.el5_2.i386.rpm and do a force install. 2. If you really want something newer than 2.3, build your own. Since CentOS doesn't provide Postfix 2.4.5 or newer, and you need an RPM installation of Postfix, I'd recommend getting Simon Mudd's SRPM and building it yourself. This might not fix all your problems, since it's possible the tarball installation put files in places different from the RPM installation. Frankly, if you can, I think you should rebuild the system. --Brian
Re: How Can I Tell How Postfix Was Installed?
Blake Carver: I'm trying to help someone with Postfix, and it looks like this one is a few versions behind. They say that they're not sure if it was isntalled Via RPM or a source tarball. This is a RHEL5 server. It's set up to use Dovecot and MySQL. There are RPMs listed as installed (rpm -qa) but I don't know how I can tell what was used to install the currently used set up. (also asking on the Dovecot list) You can verify if the installed software matches the RPM package. # rpm -qa 'postfix*' # rpm --verify name-of-package... Wietse
Re: How Can I Tell How Postfix Was Installed?
2008/8/20 Wietse Venema [EMAIL PROTECTED]: You can verify if the installed software matches the RPM package. # rpm -qa 'postfix*' # rpm --verify name-of-package... If you're still stuck, you might also want to check if the files actually belong to any package (I don't believe they will if a tarball was used, though the system could still believe it was installed via package (but then the package would fail verification)). [EMAIL PROTECTED] ~]# rpm -qf /etc/postfix/main.cf postfix-2.3.3-2 -Barney Desmond