From owner-freebsd-questions@FreeBSD.ORG Tue Dec 13 05:30:39 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 35E9D16A41F for ; Tue, 13 Dec 2005 05:30:39 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (mail.wananchi.com [62.8.64.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4C1643D60 for ; Tue, 13 Dec 2005 05:30:37 +0000 (GMT) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.60 #0 (FreeBSD 4.11-STABLE)) id 1Em2kF-000E3c-6w by authid ; Tue, 13 Dec 2005 08:30:35 +0300 Date: Tue, 13 Dec 2005 08:30:35 +0300 From: Odhiambo Washington To: freebsd-questions@freebsd.org Message-ID: <20051213053035.GI20962@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-questions@freebsd.org, Jayesh Jayan References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.11 (2005-09-15) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.11 Cc: Jayesh Jayan Subject: Re: May be a question repeated X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Dec 2005 05:30:39 -0000 * 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 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