From owner-freebsd-questions@FreeBSD.ORG Fri Sep 21 10:45:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7527416A417 for ; Fri, 21 Sep 2007 10:45:52 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from unsane.co.uk (unknown [IPv6:2001:470:1f01:ffff::121]) by mx1.freebsd.org (Postfix) with ESMTP id D0A3313C44B for ; Fri, 21 Sep 2007 10:45:51 +0000 (UTC) (envelope-from jhary@unsane.co.uk) Received: from prawn.unsane.co.uk (150.117-84-212.staticip.namesco.net [212.84.117.150]) (authenticated bits=0) by unsane.co.uk (8.14.0/8.14.0) with ESMTP id l8LAgmYF047132 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 21 Sep 2007 11:42:49 +0100 (BST) (envelope-from jhary@unsane.co.uk) Message-ID: <46F3A0D7.5080406@unsane.co.uk> Date: Fri, 21 Sep 2007 11:45:43 +0100 From: Vince User-Agent: Thunderbird 2.0.0.6 (X11/20070816) MIME-Version: 1.0 To: nikolaj.thygesen@diamondbox.dk References: <8980.80.80.2.75.1190116887.squirrel@webmail1.one.com> <20070918124601.GA52705@amilo.cenkes.org> <20070918162214.43a1988f@gumby.homeunix.com.> <3538.80.80.2.75.1190369860.squirrel@webmail1.one.com> In-Reply-To: <3538.80.80.2.75.1190369860.squirrel@webmail1.one.com> X-Enigmail-Version: 0.95.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: RW , freebsd-questions@freebsd.org Subject: Re: Deleted /var/db/pkg 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, 21 Sep 2007 10:45:52 -0000 nikolaj.thygesen@diamondbox.dk wrote: >> On Tue, 18 Sep 2007 16:46:03 +0400 >> Andrew Pantyukhin wrote: >> >>> On Tue, Sep 18, 2007 at 02:01:27PM +0200, >>> nikolaj.thygesen@diamondbox.dk wrote: >>>> Hi list, >>>> >>>> Suppose you deleted /var/db/pkg by accident :( What would you >>>> do to get it back?? >>> I'd go one of these ways: >>> - rm -rf /usr/local ... >>> - rebuild all the packages I need in a chroot, then pkg_add them >>> >> > I have started portinstalling gnome2 with dependencies and no matter if I > manually build cdrtools or cdrtools-cjk the machine always wants to build > the other one :( As they can't coexist, what can I do to make the > "portinstall -R gnome2" work?? I have (ab)used pkgdb in every conceivable > way and done "portupgrades -o" back and forth, but nothing helps. I'm > currently out of ideas. There must be a way - right?? > Does the ALT_PKGDEP section of /usr/local/etc/pkgtools.conf help ? (from UPDATING) Example of ALT_PKGDEP section: ALT_PKGDEP = { 'www/apache13' => 'www/apache13-modssl', 'print/ghostscript-afpl' => 'print/ghostscript-gnu', } This should let you specify in pkgtools.conf ALT_PKGDEP = { 'sysutils/cdrtools' => 'sysutils/cdrtools-cjk', } so any dependancies on cdrtools will be rewritten to use cdrtools-cjk Vince > br Nikolaj > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"