From owner-freebsd-questions@FreeBSD.ORG Fri May 2 14:45:14 2003 Return-Path: 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 B00E137B401 for ; Fri, 2 May 2003 14:45:14 -0700 (PDT) Received: from blacklamb.mykitchentable.net (170-215-84-217.br1.elk.ca.frontiernet.net [170.215.84.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id E720943F3F for ; Fri, 2 May 2003 14:45:13 -0700 (PDT) (envelope-from drew@mykitchentable.net) Received: from tagalong (unknown [165.107.42.110]) by blacklamb.mykitchentable.net (Postfix) with SMTP id B6E89EE52A for ; Fri, 2 May 2003 14:45:12 -0700 (PDT) Message-ID: <031301c310f4$1c456380$6e2a6ba5@tagalong> From: "Drew Tomlinson" To: "FreeBSD Questions" Date: Fri, 2 May 2003 14:45:10 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: Help With Portupgrade/Ports Mess Please X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2003 21:45:15 -0000 I'm not sure what I've done but I'll describe my symptoms. I'm running 4.8-RELEASE with a Gnome2 desktop and the dependent ports. The only additional ports I've installed are cvsup-without-gui, portupgrade, mplayer, evolution, galeon, and their dependencies. Everything was installed by portupgrade except portupgrade itself. Everything was running along fine until I decided to use portupgrade to upgrade my installed ports. It doesn't seem to matter which port I pick to upgrade, I get the same result. In my latest attempt, I tried to upgrade XFree86-libraries-4.3.0_1. Here is the error: pkg_delete: package 'XFree86-libraries-4.3.0_1' doesn't have a prefix ** The following packages were not deinstalled (*:skipped / !:failed) ! XFree86-libraries-4.3.0_1 (pkg_delete failed) ** The following packages were not installed or upgraded (*:skipped / !:failed) ! x11/XFree86-4-libraries (XFree86-libraries-4.3.0_1) (uninstall error) Now at this point, anything else I try to do with portupgrade tells me that I have stale dependencies and to run 'pkgdb -f' which I do and get many messages such as this: Stale dependency: xenostep-200011270836_1 -> XFree86-libraries-4.3.0_3 (x11/XFree86-4-libraries): Fixed. (-> XFree86-libraries-4.3.0_1) And then the process repeats itself no matter what port I try to upgrade. Another anomoly is that a 'pkg_info' command shows the following in addition to the normal output: pkg_info: can't find package 'freetype2-2.1.4' installed or in a file! pkg_info: can't find package 'glib-1.2.10_8' installed or in a file! pkg_info: can't find package 'glib-2.2.1' installed or in a file! pkg_info: can't find package 'libxml2-2.5.6' installed or in a file! pkg_info: can't find package 'nspr-4.3' installed or in a file! I've tried removing and reinstalling these ports both within portupgrade and separately using 'make deinstall', 'make clean', and 'make install' but am still having these symptoms. Anyway, if anyone has ideas on what I may have screwed up I'd really like to know so I can fix my mess and learn something along the way. But if not I can remove everything and start over as this is just a box I am playing with. Thanks for your suggestions!!! Drew I would like to understand what is going on and fix it rather than just removing everything and starting over.