From owner-freebsd-questions@FreeBSD.ORG Mon Feb 6 21:25:03 2006 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 3F67E16A420 for ; Mon, 6 Feb 2006 21:25:03 +0000 (GMT) (envelope-from millueradfa@yahoo.com) Received: from web36901.mail.mud.yahoo.com (web36901.mail.mud.yahoo.com [209.191.85.69]) by mx1.FreeBSD.org (Postfix) with SMTP id A752043D4C for ; Mon, 6 Feb 2006 21:25:02 +0000 (GMT) (envelope-from millueradfa@yahoo.com) Received: (qmail 49609 invoked by uid 60001); 6 Feb 2006 21:25:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=UIDgCXoQSve80JNB3zCCf4mrtPsLGjww7A2BE34WPlVsXHf1s6c3QjJzdrrPQjbsMWDL7Dmn+GpRyv8vZkPMa9B4fYYB8IFgJIwGQOne8Ae/PpNm5hp4dXFZa8yoyzH1/xQzi6Yn6GmGhwDyONIexR/eHq/dm1nHhBShZ07Ab2U= ; Message-ID: <20060206212501.49603.qmail@web36901.mail.mud.yahoo.com> Received: from [72.9.242.90] by web36901.mail.mud.yahoo.com via HTTP; Mon, 06 Feb 2006 13:25:01 PST Date: Mon, 6 Feb 2006 13:25:01 -0800 (PST) From: Alistar Erlas To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: package upgrade problems 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: Mon, 06 Feb 2006 21:25:03 -0000 Lately I have been having a lot of trouble installing packages from the FreeBSD packages-6-stable packages collection. Often it ends with error messages like this: portupgrade -PP -R -N inkscape .... ---> Skipping 'x11-toolkits/libgnomeprintui' (libgnomeprintui-2.10.2) because a requisite package 'libgnomecanvas-2.12.0' (graphics/libgnomecanvas) failed (specify -k to force) ---> Skipping 'textproc/gtkspell2' (gtkspell2-2.0.10_1) because a requisite package 'gtk-2.8.9' (x11-toolkits/gtk20) failed (specify -k to force) ---> Skipping 'graphics/inkscape' because a requisite port 'devel/gconf2' failed (specify -k to force) ** Listing the failed packages (*:skipped / !:failed) ! x11-toolkits/gtk20 (gtk-2.8.9) (package not found) * devel/gconf2 (gconf2-2.12.1) * devel/gnomevfs2 (gnomevfs2-2.12.2) * misc/gnome-icon-theme (gnome-icon-theme-2.12.1_2) * devel/libglade2 (libglade2-2.5.1_3) ! print/libgnomeprint (libgnomeprint-2.10.3_1) (package not found) * graphics/libgnomecanvas (libgnomecanvas-2.12.0) * x11-toolkits/libgnomeprintui (libgnomeprintui-2.10.2) * textproc/gtkspell2 (gtkspell2-2.0.10_1) * graphics/inkscape ---> Packages processed: 0 done, 54 ignored, 8 skipped and 2 failed Apparently, some of the packages that inkscape depends on have not been built yet, or, these dependancy packages have been deleted and replaced with new versions, but inkscape has not been rebuilt yet to use them and requires the old versions still. I have a brilliant solution to this problem. Why not simply rebuild all prerequisite packages before rebuilding the package that depends on them? Also, when building a new version of a library package for instance, in addition to placing the new version on ftp, also leave the old version there, if the old version is still being used by a another package that has not been rebuilt yet to use the new version. This would prevent new packages from being installed and replacing older packages until all dependancies have been built, and would also make sure that when a dependancy is rebuilt, the old version of the dependancy remians as well for any packages that have not been rebuilt yet to use the new version of the dependancy. This means that multiple versions of the same dependancy would be present in the FTP directory, until the old version is no longer need by any other packages. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com