From owner-freebsd-questions@FreeBSD.ORG Sat Oct 29 03:18:48 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 B458E16A41F for ; Sat, 29 Oct 2005 03:18:48 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 382D943D46 for ; Sat, 29 Oct 2005 03:18:48 +0000 (GMT) (envelope-from ringworm01@gmail.com) Received: by zproxy.gmail.com with SMTP id 40so493309nzk for ; Fri, 28 Oct 2005 20:18:47 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=eHnI4IFDIXW1L372jMa8Po4/3TUqevIsOXByYrYpV35VkD6FLA4YImiEKMGENamTai/VN3H4ND3Dot+2XuZcyZMxcx8Voz25la70D6Ax2SOo7Q+T3i+zzYGWqXxohGEcEWJY5EKtq+awhHwAQcqgkHQWJC5YEhuKy4gB7Simmcc= Received: by 10.36.43.11 with SMTP id q11mr1024182nzq; Fri, 28 Oct 2005 20:18:47 -0700 (PDT) Received: from ?192.168.1.10? ( [71.102.14.129]) by mx.gmail.com with ESMTP id 6sm604582nzn.2005.10.28.20.18.43; Fri, 28 Oct 2005 20:18:47 -0700 (PDT) From: "Michael C. Shultz" To: John DeStefano Date: Fri, 28 Oct 2005 20:20:29 -0700 User-Agent: KMail/1.8.2 References: <200510281922.16495.ringworm01@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200510282020.32005.ringworm01@gmail.com> Cc: Eric F Crist , freebsd-questions@freebsd.org Subject: Re: portupgrade stale dependencies 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: Sat, 29 Oct 2005 03:18:48 -0000 On Friday 28 October 2005 19:51, John DeStefano wrote: > On 10/28/05, Michael C. Shultz wrote: > > On Friday 28 October 2005 17:31, John DeStefano wrote: > > > On 10/28/05, Eric F Crist wrote: > > > > > status report finished > > > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > >=3D=3D=3D =3D=3D > > > > > percentDone-=3D>0 =3D 100 - ( 100 * ( QTY_outOfDatePortsDb-=3D>1 / > > > > > TOTAL_outOfDatePortsDb-=3D>1 ) ) > > > > > upgrade 0.3.0_0 info: ignoring apache-2.0.48, reason: failed duri= ng > > > > > (2) make > > > > > -----------------------------------------------------------------= =2D- > > > > >--- -- > > > > > update of ports collection complete with either some errors, > > > > > ignored ports or both > > > > > > > > > > > > > > > Unfortunately, this is the most crucial of all, and ironically the > > > > > one about which I've been asking since the beginning. As I > > > > > mentioned earlier, upgrading this port bails consistently with a C > > > > > callout to PEM_F_DEF_CALLBACK. I'd really like to get this port > > > > > updated, not only to finally complete this insane goose chase of > > > > > updating, but because I know that apache-2.0.48 is chock full of > > > > > vulerabilities. > > > > > > > > cd /usr/ports/www/apache20 && make deinstall && make clean && make > > > > reinstall > > > > > > > > See what happens. > > > > > > Talk about strange: > > > > > > # cd /usr/ports/www/apache20/ > > > # make deinstall > > > =3D=3D=3D> Deinstalling for www/apache20 > > > =3D=3D=3D> apache not installed, skipping > > > > > > # make -V PKGNAME > > > apache-2.0.55 > > > > > > # pkg_info | grep apache > > > apache-2.0.48 Version 2 of the extremely popular Apache http > > > server > > > > > > # apachectl -v > > > Server version: Apache/2.0.48 > > > Server built: Nov 19 2003 22:44:21 > > > _______________________________________________ > > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > > To unsubscribe, send any mail to > > > "freebsd-questions-unsubscribe@freebsd.org" > > > > Try > > ls /var/db/pkg/a* > > any apache versions in there? > > > > -Mike > > Yep: it was 2.0.48 > > I ended up deinstalling that apache installation (which I was not keen > on doing), and installing the apache20 port (which was the same > version (2.0.55) as the apache2 port ), and, thankfully, it's > working fine. I'm also now able to run both 'pkgdb -F'and 'portsdb > -Uu' without ANY errors (except for a few 'Duplicate INDEX entry' > warnings). > > Needless to say, this process wasn't much fun. What can I do to keep > this from happening again? What can/can't I safely include in cron to > automate database and index maintenance? > > Thanks to all. Pardon my bias agan ;) but I'd recommend only updating with portmanager. =46rom cron I'd just run a cvsupdate and portmanager -s > /root/portmanager= =2Elog. Review the log from time toi time and when you see something that should be= =20 updated run portmanager -u manually. Some ports do not do well being built= =20 from cron so will save you much trouble to do the updates manually. As far= =20 as the INDEX goes, portmanager doesn't require it, but other utilies do so= =20 maybe add a make fetch index to cron as well. Congradulations on getting everything fixed BTW. =2DMike