From owner-freebsd-questions@FreeBSD.ORG Fri Oct 28 20:30:37 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 B9E6E16A41F for ; Fri, 28 Oct 2005 20:30:37 +0000 (GMT) (envelope-from john.destefano@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7218843D49 for ; Fri, 28 Oct 2005 20:30:32 +0000 (GMT) (envelope-from john.destefano@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so384790wxc for ; Fri, 28 Oct 2005 13:30:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=f+KG8dIFTRC4tD4ngLoqMP1zrwZcSAJ5GeZ6ZaZTxbn+hf1LkwQRe0pGXWdJetxKd5vDnJcG3YNKRJl6t6zIOw7mghIuIocWuWmw5Xfa2pCkxeE2aBVTDvlOauHAsDeLGiNhlsRv08AB13D6A80kB9CNXcTpQc9gfMvtPALNsnM= Received: by 10.65.148.15 with SMTP id a15mr388992qbo; Fri, 28 Oct 2005 13:30:31 -0700 (PDT) Received: by 10.65.154.4 with HTTP; Fri, 28 Oct 2005 13:30:31 -0700 (PDT) Message-ID: Date: Fri, 28 Oct 2005 16:30:31 -0400 From: John DeStefano To: freebsd-questions@freebsd.org, Eric F Crist In-Reply-To: <200510280640.04025.ringworm01@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200510271904.17908.ringworm01@gmail.com> <200510280640.04025.ringworm01@gmail.com> Cc: 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: Fri, 28 Oct 2005 20:30:37 -0000 On 10/28/05, Michael C. Shultz wrote: > On Friday 28 October 2005 05:53, John DeStefano wrote: > > On 10/27/05, Michael C. Shultz wrote: > > > On Thursday 27 October 2005 18:49, Eric F Crist wrote: > > > > On Oct 27, 2005, at 8:32 PM, John DeStefano wrote: > > > > > On 10/27/05, Andrew P. wrote: > > > > >> On 10/27/05, John DeStefano wrote: > > > > >>> After clearing out the ports, updating ports (with portsnap) an= d > > > > >>> source, and rebuilding the system and kernel... it seemed the > > > > >>> ultimate > > > > >>> problem was actually a dependency of the package to apache1.3. > > > > >>> After I > > > > >>> ran 'pkgdb -F' and "fixed" this dependency to point to apache2.= 1, > > > > >>> but > > > > >>> I still had trouble installing ports. > > > > > > > > At this point, what usually works for me is to: > > > > > > > > #cd /usr && rm -rf ./ports > > > > > > > > #mkdir ./ports && cvsup /root/ports-supfile > > > > > > > > The above will delete your ENTIRE ports tree, provided it's kept in= / > > > > usr/ports and as long as you use cvsup (and your ports supfile is / > > > > root/ports-supfile as mine is). When a whole bunch of ports stop > > > > working, I find this is the easiest thing to do. > > > > > > > > The other thing I do is run a cron job every week that updates, via > > > > cvsup, the ports tree. About once a year I perform the above, most= ly > > > > to clean out the crap. Re-downloading your entire ports tree will = be > > > > quicker if you don't use the ports-all tag and actually define whic= h > > > > port segments you are interested in. For example, there's no real > > > > reason to download all the x11/kde/gnome crap if you're doing this = on > > > > a headless server that isn't going to serve X. > > > > > > > > HTH > > > > > > Replacing /usr/ports won't fix his problems, they reside in /var/db/p= kg. > > > I may be a bit biased but I reaaly think John D. should try running > > > portmanager -u (ports/sysutils/portmanager). Stale dependencies is a= non > > > issue for portmanager. > > > > > > -Mike > > > > Biased indeed. ;) I tried it, and it did work for some ports, but not > > all. Here's the report output of a second run-through: > > > > 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>16 =3D 100 - ( 100 * ( QTY_outOfDatePortsDb-=3D>10 / > > TOTAL_outOfDatePortsDb-=3D>12 ) ) > > checkForOldDepencies 0.3.0_0 skip: apsfilter-7.2.6 has a dependency > > acroread-5.08 that needs to be updated first > > upgrade 0.3.0_0 info: ignoring scrollkeeper-0.3.12_1,1, reason: failed > > during (2) make > > upgrade 0.3.0_0 info: ignoring cups-pstoraster-7.07, reason: failed > > during (2) make > > checkForOldDepencies 0.3.0_0 skip: eog2-2.2.1 has a dependency > > scrollkeeper-0.3.12_1,1 that needs to be updated first > > checkForOldDepencies 0.3.0_0 skip: apsfilter-7.2.6 has a dependency > > acroread-5.08 that needs to be updated first > > upgrade 0.3.0_0 info: ignoring emacs-21.3, reason: failed during (2) ma= ke > > upgrade 0.3.0_0 info: ignoring gconf-editor-2.4.0,1, reason: performed > > (6) emergancy restore > > upgrade 0.3.0_0 info: ignoring apache-2.0.48, reason: failed during (2) > > make checkForOldDepencies 0.3.0_0 skip: gnomeuserdocs2-2.0.6_1 has a > > dependency scrollkeeper-0.3.12_1,1 that needs to be updated first > > upgrade 0.3.0_0 info: ignoring acroread-5.08, reason: marked FORBIDDEN > > -----------------------------------------------------------------------= - > > update of ports collection complete with either some errors, ignored > > ports or both > > A few suggestions: > > If you want to update acroread-5.08 you should do that one manually > because it is FORBIDDEN, there is probably an overide switch, I don't > know what it is. You can also just comment out the FORBIDDEN line in > acroread-5.08's Makefile. Note ports are marked FORBIDDEN because > they have security problems.... > > I'm not sure about cups-pstoraster-7.07 builds but scrollkeeper-0.3.14_1= ,1 > builds on my system, try pkg_delete -f scrollkeeper-0.3.12_1,1 then > rerun portmanager -u and hopefully you will be down to just > cups-pstoraster-7.07 failing. You'll have to figure out its problem on yo= ur > own or contact the maintainer for help. > > -Mike After tons of manual deinstalling, upgrading, tinkering, etc. (I wanted to script everything I did, but at this point the audit trail would have been about a GB in size), I am down to a single outdated port: 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 during (2) mak= e ------------------------------------------------------------------------ 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.