MailScanner-4.34.8-1 Installation Problems

Quentin Campbell Q.G.Campbell at NEWCASTLE.AC.UK
Tue Oct 5 17:17:13 IST 2004


Julian

There appears to be a bug in the logic of install.sh. You should not be
using Perl to check for the presence of modules since Perl will find
them even when they were not installed by RPM.

This causes a problem because when you install a RPM binary it seems to
check whether dependent modules are present by reference to the RPM
database.

However a module may have been installed earlier by non-RPM means. Your
script decides whether a module is present or not by using Perl. This
will find the module when it was _not_ installed by RPM. You then skip
the necessary rpmbuild and rpm -Uvh steps needed to update the RPM
database.

This was the case with Compress-Zlib. It _is_ installed on the system
but is not in the RPM database. However the binary RPM for Archive-Zip
expects to see Compress-Zlib in the list of RPM-installed modules.



Quentin 
---
PHONE: +44 191 222 8209    Information Systems and Services (ISS),
                           University of Newcastle,
                           Newcastle upon Tyne,
FAX:   +44 191 222 8765    United Kingdom, NE1 7RU.
------------------------------------------------------------------------
"Any opinion expressed above is mine. The University can get its own."  

>-----Original Message-----
>From: MailScanner mailing list 
>[mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Quentin Campbell
>Sent: 05 October 2004 15:04
>To: MAILSCANNER at JISCMAIL.AC.UK
>Subject: Re: MailScanner-4.34.8-1 Installation Problems
>
>Julian
>
>I have just upgraded two RedHat AS/ES 3 systems to 4-34.8-1 but the
>attempt to ugrade a third AS 3 system failed in install.sh with:
>
>   error: Failed dependencies:
>          perl (Compress::Zlib) is needed by perl-Archive-Zip-1.13-1.
>
>Using CPAN and "installing Compress::Zlib" I am told that it is up to
>date!
>
>However looking a bit more closely I find that on the two systems on
>which 4.34.8-1 was successfully installed there is present the files 
>
>  /usr/src/redhat/RPMS/i386/perl-Compress-Zlib-1.33-1.i396.rpm
>  
>/usr/src/redhat/RPMS/i386/perl-Compress-Zlib-debuginfo-1.33-1.i396.rpm
>
>
>These are not present in the system on which install.sh is failing. I
>assume it should thus install the 
>perl-Compress-Zlib-1.33-2.i396.rpm you
>provide on the download for RedHat systems.
>
>However this begs the question as to why the later version you provide
>(1.33-2) is not installed in place of the existing version (1.33-1) on
>my two successful builds.
>
>Quentin
>---
>PHONE: +44 191 222 8209    Information Systems and Services (ISS),
>                           University of Newcastle,
>                           Newcastle upon Tyne,
>FAX:   +44 191 222 8765    United Kingdom, NE1 7RU.
>---------------------------------------------------------------
>---------
>"Any opinion expressed above is mine. The University can get 
>its own."  
>
>>-----Original Message-----
>>From: MailScanner mailing list 
>>[mailto:MAILSCANNER at JISCMAIL.AC.UK] On Behalf Of Julian Field
>>Sent: 05 October 2004 03:42
>>To: MAILSCANNER at JISCMAIL.AC.UK
>>Subject: Re: MailScanner-4.34.8-1 Installation Problems
>>
>>At 00:11 05/10/2004, you wrote:
>>
>>>Ladies and Gents,
>>>         rpmbuild --rebuild perl-Archive-Zip-1.13-1.src.rpm yields
>>> serveral errors.  Some of which had inherent bzip2 syntax 
>>problems.  What
>>> is the issue?  After editing the following 
>>/usr/lib/rpm/brp-compress, and
>>> taking off the "-n" directive, then everything went through. Now its
>>> doing some more weirdness with perl-Compress-Zlib-1.33-2.src.rpm.
>>>
>>>What is going on???
>>>
>>>Processing files: perl-Compress-Zlib-1.33-2
>>>error: File not found:
>>>/var/tmp/perl-Compress-Zlib-1.33-2-root/usr/lib/perl5/site_per
>>l/5.8.3/i386-linux-thread-multi/auto/Compress/Zlib/Zlib.bs
>>>
>>>RPM build errors:
>>>     File not found:
>>> 
>>/var/tmp/perl-Compress-Zlib-1.33-2-root/usr/lib/perl5/site_perl
>>/5.8.3/i386-linux-thread-multi/auto/Compress/Zlib/Zlib.bs
>>
>>Something failed in the "make" stage of building perl-Compress-Zlib.
>>Suggest you take a good look at the output from that rebuild.
>>--
>>Julian Field
>>www.MailScanner.info
>>Professional Support Services at www.MailScanner.biz
>>MailScanner thanks transtec Computers for their support
>>Buy the MailScanner book at www.MailScanner.info/store
>>
>>PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
>>
>>------------------------ MailScanner list ------------------------
>>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>>'leave mailscanner' in the body of the email.
>>Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>>
>
>------------------------ MailScanner list ------------------------
>To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
>'leave mailscanner' in the body of the email.
>Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
>the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
>
>

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).



More information about the MailScanner mailing list