Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 12:49:25 +0200 (CEST)
From:      nikolaj.thygesen@diamondbox.dk
To:        "Vince" <jhary@unsane.co.uk>
Cc:        nikolaj.thygesen@diamondbox.dk, RW <mlt01@mlists.homeunix.com>, freebsd-questions@freebsd.org
Subject:   Re: Deleted /var/db/pkg
Message-ID:  <8184.80.80.2.75.1190371765.squirrel@webmail1.one.com>
In-Reply-To: <46F3A0D7.5080406@unsane.co.uk>
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> <46F3A0D7.5080406@unsane.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> nikolaj.thygesen@diamondbox.dk wrote:
>>> On Tue, 18 Sep 2007 16:46:03 +0400
>>> Andrew Pantyukhin <infofarmer@FreeBSD.org> 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',


The above entry is already there. Do I need to do anything in particular
to reinforce it??


> }
>
> so any dependancies on cdrtools will be rewritten to use cdrtools-cjk
>
>
> Vince




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8184.80.80.2.75.1190371765.squirrel>