May be a question repeated

Odhiambo Washington wash at wananchi.com
Mon Dec 12 21:30:39 PST 2005


* On 13/12/05 04:15 +0530, Jayesh Jayan wrote:
> Hi,
> 
> I have a server which runs Apache/1.3.33 (Unix) and exim 4.53-0 on a FreeBSD
> 5.4.
> 
> I wanted to upgrade exim to 4.60
> 
> so i did the below steps
> 
> 1 ) cd /usr/ports/mail/exim
> 2 ) make clean
> 3 ) make
> 
> at this step the make stops saying openssl already installed. I have on the
> server OpenSSL 0.9.7e and exim is trying to upgrade even open ssl to the
> latest. This may break http and other services running on the server.
> 
> Error message is as below
> 
> ******************************************************************************************************************
> ===>  Installing for openssl-0.9.8a
> ===>   Generating temporary packing list
> ===>  Checking if security/openssl already installed
> pkg_info: package bsdpan-CPAN-1.80 has no origin recorded
> pkg_info: package bsdpan-Filesys-Statvfs_Statfs_Df-0.78 has no origin
> recorded
> pkg_info: package bsdpan-GDGraph-1.43 has no origin recorded
> pkg_info: package bsdpan-GDTextUtil-0.86 has no origin recorded
> pkg_info: package bsdpan-IO-Interactive-undef has no origin recorded
> pkg_info: package bsdpan-MailTools-1.67 has no origin recorded
> pkg_info: package bsdpan-Net_SSLeay.pm-1.25 has no origin recorded
> pkg_info: package bsdpan-ShadowHash-0.07 has no origin recorded
> pkg_info: package bsdpan-Term-ReadLine-Perl-1.0203 has no origin recorded
> pkg_info: package bsdpan-TermReadKey-2.30 has no origin recorded
> pkg_info: package bsdpan-Tie-Watch-1.2 has no origin recorded
> pkg_info: package bsdpan-Tree-MultiNode-1.0.10 has no origin recorded
> pkg_info: package bsdpan-libwww-perl-5.803 has no origin recorded
> pkg_info: package bsdpan-libwww-perl-5.804 has no origin recorded
> pkg_info: package bsdpan-libwww-perl-5.805 has no origin recorded
> ===>   An older version of security/openssl is already installed (
> openssl-0.9.7e_2)
>       You may wish to ``make deinstall'' and install this port again
>       by ``make reinstall'' to upgrade it properly.
>       If you really wish to overwrite the old port of security/openssl
>       without deleting it first, set the variable "FORCE_PKG_REGISTER"
>       in your environment or the "make install" command line.
> *** Error code 1
> 
> Stop in /usr/ports/security/openssl.
> *** Error code 1
> 
> Stop in /usr/ports/mail/exim.
> 
> ******************************************************************************************************************
> 
> Please guide me on how I can upgrade exim without effecting other services
> running on the server.


You did install openssl from the ports, yes? You probably shouldn't have
done that, as openssl is supposed to be in the base system for FreeBSD.
I am not going to help you fix that though. You have to decide on what
steps to take - either deinstall the /usr/ports/security/openssl and
rely on the one from the base system or use it as is.

For the purposes of your current problem, Exim is assuming you are
using TLS, which is what is pulling in the openssl dependency. If you
don't really need TLS support on Exim, then do:

cd /usr/ports/mail/exim
make -DWITHOUT_TLS

..and proceed from there...

I'd advise you to rely on utils like /usr/ports/sysutils/portupgrade
or /usr/ports/sysutils/portmanager to manage your ports.

Lastly, you will be happy to deinstall your openssl from the ports and
rebuild all your apps that were relying on it to instead link against
the one in the base system.


-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
Those who express random thoughts to legislative committees are often
surprised and appalled to find themselves the instigators of law.
		-- Mark B. Cohen


More information about the freebsd-questions mailing list