From owner-freebsd-questions@FreeBSD.ORG Tue Jun 5 21:29:30 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01D2816A41F for ; Tue, 5 Jun 2007 21:29:30 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id D8C7F13C468 for ; Tue, 5 Jun 2007 21:29:29 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 26030 invoked from network); 5 Jun 2007 21:29:29 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Jun 2007 21:29:29 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id D066D28440; Tue, 5 Jun 2007 17:29:27 -0400 (EDT) To: Robert Fitzpatrick References: <1181076645.4012.19.camel@columbus.webtent.org> From: Lowell Gilbert Date: Tue, 05 Jun 2007 17:29:27 -0400 In-Reply-To: <1181076645.4012.19.camel@columbus.webtent.org> (Robert Fitzpatrick's message of "Tue\, 05 Jun 2007 16\:50\:45 -0400") Message-ID: <44tztm3xag.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.99 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Subject: Re: Ports system gone 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: Tue, 05 Jun 2007 21:29:30 -0000 Robert Fitzpatrick writes: > How can I restore my ports system? > > I have no idea what happened. I have a server I setup over the weekend > to start testing Maia Mailguard, installed many packages over the last > few days (postfix+amavisd+SA+related). I can't remember the last package > installed via the ports system, I updated it to src-all and back to > ports-all once to compile my kernel. Now, today I go to install a > package and practically everything is gone...this is all I have left... > > mx1# ls /usr/ports > INDEX-6 INDEX-6.db dns security > INDEX-6.bz2 distfiles net > mx1# ls /usr/ports/dns > bind9-dlz > mx1# ls /usr/ports/security/ > vscan > mx1# ls /usr/ports/net/ > openldap23-client > > At this point I want to assume I mistakenly did a rm sometime, what else > could cause something like this? Can't find any issues in the logs and > no other issues with any services running on the box. Can't find > anything else missing. If I try to run my ports update my ports, it just > hangs here... > > mx1# cd /usr/ports > mx1# /usr/local/bin/cvsup /root/ports-supfile > Connected to cvsup9.us.FreeBSD.org > Updating collection ports-all/cvs On one of your cvsup runs, you probably used a tag (or branch name) that doesn't exist in the ports tree. Always use HEAD ("tag=.") for ports. It could be something else, but my bet would be to check your ports supfile.