From owner-freebsd-questions@FreeBSD.ORG Fri Jul 25 22:27:04 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 9A8C037B401 for ; Fri, 25 Jul 2003 22:27:04 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E306B43F93 for ; Fri, 25 Jul 2003 22:27:03 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.9/8.12.9) id h6Q5R3aN045373; Sat, 26 Jul 2003 00:27:03 -0500 (CDT) (envelope-from dan) Date: Sat, 26 Jul 2003 00:27:03 -0500 From: Dan Nelson To: Leonardo Lazarte Message-ID: <20030726052703.GA42396@dan.emsphone.com> References: <46021.121861-30410-1720054187-1059175905@seznam.cz> <20030726015449.G52327-100000@mx1.mat.unb.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030726015449.G52327-100000@mx1.mat.unb.br> X-OS: FreeBSD 5.1-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.4i cc: Tom Kraus cc: freebsd-questions@freebsd.org Subject: Re: Cannot install any port 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: Sat, 26 Jul 2003 05:27:04 -0000 In the last episode (Jul 26), Leonardo Lazarte said: > Unfortunately you have found a problem which those in the know > prefer to ignore. > > The ports system has been broken with the last upgrade, and many > of us which have found the same problem could not find a solution. Hm? I've seen lots of responses explaining the problem and multiple solutions (upgrade system to 4.7 or later, upgrade pkg_* tools). You are running an old version of FreeBSD which the ports tree no longer supports (although someone mentioned they were looking at a workaround, I think). > It has been suggested by some that you could copy pkg_info from > some newer version. Other person suggested re-building pkg_install > (in fact, it was incorrectly suggested to build pkg_info), after > cvsuping src. Building and installing in /usr/src/pkg_install installs pkg_add, pkg_check, pkg_create, pkg_delete, pkg_info, pkg_sign, and pkg_version. > I tried both, with no luck. You sure? Are you failing with this error: ===> Checking if portd/portname already installed *** Error code 1 This is almost certainly caused by an old pkg_info command that does not understand -O. To disprove me: cd /usr/ports/devel/portlint ktrace -di make install kdump | tail -60 and let us see those 60 lines, plus the output of "pkg_info -O" and "ident /usr/sbin/pkg_info | grep info" -- Dan Nelson dnelson@allantgroup.com