Improvements to install.sh ?
MailScanner at ecs.soton.ac.uk
Sun Sep 28 17:44:42 IST 2008
Good idea, I like that one. There is now a "reinstall" or "--reinstall"
command-line option which will attempt to remove the perl-<module-name>
rpm if it is installed, just before it attempts to install the new one.
Should solve your problem nicely.
I have also added a logfile called "install.log" in the current
directory, in which all output will be copied.
Michael H. Warfield wrote:
> Hey Juian!
> Wow... Serendipity or what. I was just in the middle of a yum upgrade
> of some Fedora 8 systems to Fedora 9 and ran smack into a bloody
> nightmare with MailScanner. The problem here is that Fedora 8 had perl
> 5.8 and had all the modules installed for that. Fedora 9 has perl 5.10.
> The yum upgrade (which was also nightmarish due to the signing key
> rollover and a dependency hell on openssl and openldap) upgraded all the
> base perl stuff but not the MailScanner stuff. Trying to reinstall
> MailScanner seems to work but then it doesn't run, complaining about
> Hostname/Long.pm not existing amongst others (fix one and there's more).
> The problem is, the rpm is installed but for the wrong version of perl
> and wasn't upgraded and the install doesn't install it because it thinks
> it's already there, even though the .pm module is in the wrong version
> directory. I had to manually build and install the bad modules until
> MailScanner would restart.
> I strongly suspect that this would be the case even if I did not use a
> live yum upgrade but used an anaconda install (CD or preupgrade) as
> My suggestion for install.sh would be a sanity check to insure the
> correct rpm's are there for that distribution or a "reinstall" option
> that will reinstall the rpm's even if the exact same rpm is already
> present. Yeah, this is a corner case that rarely comes up but it's an
> UGLY corner case, in this case.
> On Sat, 2008-09-27 at 19:52 +0100, Julian Field wrote:
>> Hi folks!
>> I haven't done anything to the installer in quite a long time.
>> Are there any improvements people would like to see, particularly in the
>> RPM installer as that's by far the most common distribution, and is used
>> by the least tech-savvy people who need the most guidance.
>> Today I have done some work on both the README and the QuickInstall.txt
>> files, to bring the up to date and to simplify them.
>> Also I have documented the "./install.sh fast" option, so people who
>> read the docs know it exists, as it greatly speeds things up if you know
>> what you're doing and don't need to read all the output.
>> But what would people like to see improved in the actual installation
>> script, install.sh?
>> Julian Field MEng CITP CEng
>> Buy the MailScanner book at www.MailScanner.info/store
>> MailScanner customisation, or any advanced system administration help?
>> Contact me at Jules at Jules.FM
>> PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>> PGP public key: http://www.jules.fm/julesfm.asc
>> This message has been scanned for viruses and
>> dangerous content by MailScanner, and is
>> believed to be clean.
Julian Field MEng CITP CEng
Buy the MailScanner book at www.MailScanner.info/store
MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
PGP public key: http://www.jules.fm/julesfm.asc
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the MailScanner