Improvements to install.sh ?
Michael H. Warfield
mhw at WittsEnd.com
Sun Sep 28 19:59:57 IST 2008
On Sun, 2008-09-28 at 11:47 -0400, 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.
Managed to narrow it down to three critical perl modules that had to be
manually removed via rpm -e and then rebuilt and reinstalled manually.
perl-Sys-Hostname-Long
perl-Net-CIDR
perl-OLE-Storage_Lite
Reinstalling MailScanner then reinstalling those three did the trick.
Maybe just something peculiar to them. Everything else upgraded
smoothly.
> 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
> well.
>
> 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.
>
> Mike
>
> 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?
> >
> > Jules
> >
> > --
> > Julian Field MEng CITP CEng
> > www.MailScanner.info
> > 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.
--
Michael H. Warfield (AI4NB) | (770) 985-6132 | mhw at WittsEnd.com
/\/\|=mhw=|\/\/ | (678) 463-0932 | http://www.wittsend.com/mhw/
NIC whois: MHW9 | An optimist believes we live in the best of all
PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://lists.mailscanner.info/pipermail/mailscanner/attachments/20080928/f4ac4adb/attachment.bin
More information about the MailScanner
mailing list