From owner-freebsd-questions@FreeBSD.ORG Tue Feb 25 20:53:04 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60951CA4; Tue, 25 Feb 2014 20:53:04 +0000 (UTC) Received: from mail-yk0-x22f.google.com (mail-yk0-x22f.google.com [IPv6:2607:f8b0:4002:c07::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0CEAF1815; Tue, 25 Feb 2014 20:53:03 +0000 (UTC) Received: by mail-yk0-f175.google.com with SMTP id 131so20270554ykp.6 for ; Tue, 25 Feb 2014 12:53:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:to:cc:in-reply-to:references :disposition-notification-to:content-type:date:message-id :mime-version; bh=UW8mMpL105DtPYxF7MtA4rihqUgdAqKyodlulZP1B2U=; b=PvzuutP78c8/yoZ66m/btDUlqLYPqjoISHr3zFX9IE9KyLgZ731ul4zsFr33KeKLAA yWrnA7QcuuSGXKbxC7/6em+0OwCDMik+LPmMbIcBrIEUj0Os8tClxKPk3d5cT7ULbaBj tu3GGcmiI/Uos42Jac9Oa+aQqA4lPHqgj0vXsCKQJkeI6Ttm+1BHQYUJs/REQ7qIgXUl Lu90/7jrWspO5sI5dTw4+a9FOR1DazemeZTs7WaudLBiY1eu6kVfD/ZnHI3U6n38SQnQ tLOqyYL/NNEitN4m9c8tJiF49ik1BsFhzOg/+XuODbN7GAf6EB0MD5KQAN/dvF2gXT0j 9rYw== X-Received: by 10.236.119.141 with SMTP id n13mr2680897yhh.136.1393361583116; Tue, 25 Feb 2014 12:53:03 -0800 (PST) Received: from [192.168.6.46] ([179.184.51.72]) by mx.google.com with ESMTPSA id 44sm12150939yhp.17.2014.02.25.12.53.01 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 25 Feb 2014 12:53:02 -0800 (PST) Subject: Re: pkgng and pkgdb From: Sergio de Almeida Lenzi To: Matthew Seaman In-Reply-To: <530CC4A5.4090105@freebsd.org> References: <1393343788.39710.YahooMailNeo@web122301.mail.ne1.yahoo.com> <530CC4A5.4090105@freebsd.org> Date: Tue, 25 Feb 2014 17:52:58 -0300 Message-ID: <1393361578.16975.12.camel@lenovo.toontown> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2014 20:53:04 -0000 Em Ter, 2014-02-25 às 16:28 +0000, Matthew Seaman escreveu: > On 02/25/14 15:56, gahn wrote: > > the question is: what is the equivalent of "pkgdb -Ff"? for pkg? > > Not needed at all with pkg(8). Because we're using a reasonable RDBMS > system (sqlite) we don't suffer from the same sort of corruption that > the old package tools used to. > > Cheers, > > Matthew > > > For me, that build my own packages... I use a pkg-shell kind of command: pkg shell <<% update deps set version=(select packages.version from packages where deps.origin=packages.origin); % this set the version of the packages with the version of de deps to make sure that they match after that, I rebuild (pkg create ....) the packages that have changed version and the ones that depends opon. for example if I build glib20 for example, I build all the packages (pkg create...) that depends on glib20. than I make a new repo and than when I install them (over http), everything works ok.