From owner-freebsd-stable@FreeBSD.ORG Thu Sep 4 07:44:17 2014 Return-Path: Delivered-To: freebsd-stable@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 E76B9232 for ; Thu, 4 Sep 2014 07:44:17 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A7A1D1F3B for ; Thu, 4 Sep 2014 07:44:17 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1XPRiH-0004uA-TD for freebsd-stable@freebsd.org; Thu, 04 Sep 2014 09:44:14 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-stable@freebsd.org Subject: Re: Forcing pkg References: <20140904093421.7f1abd04@akips.com> <5c04d8d3287b214cd827612b774a7553@mailbox.ijs.si> Date: Thu, 04 Sep 2014 09:44:12 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <5c04d8d3287b214cd827612b774a7553@mailbox.ijs.si> User-Agent: Opera Mail/12.17 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: / X-Spam-Score: -0.2 X-Spam-Status: No, score=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 autolearn=disabled version=3.3.1 X-Scan-Signature: 3b058867a8808b2a73617ccb478d635a X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2014 07:44:18 -0000 On Thu, 04 Sep 2014 02:29:25 +0200, Mark Martinec wrote: > 2014-09-04 02:00 Michael Ross wrote: >> On Thu, 04 Sep 2014 01:34:21 +0200, Paul Koch >> wrote: >> >>> On Thu, 04 Sep 2014 00:27:16 +0200 >>> "Michael Ross" wrote: >>> >>>> Hello, >>>> a second pkg question: >>>> Assume I have to install something *now*, like in: 5 minutes ago, >>>> production on fire, >>>> never mind corrupt pkg databases or anything, sort out later, need >>>> service >>>> up: >>>> Is there any equivalent to "pkg_add --force"? >>>> As in, *I* know the dependencies are met, and I *know* that pkg is >>>> wrong >>>> in complaining? >>>> -DDISABLE_CONFLICTS doesn't work anymore? >>> Or, I want to install pkg A, but it relies on pkgs B, C, D,... >>> I only want to use a single program in pkg A that I "know" has >>> no dependencies and really don't want to pull in anything else. >>> >> like what would have been >> -i, --no-deps >> Install the package without fetching and installing >> dependencies. >> to pkg_add. >> Michael > > > Another example over which I'm currently stuck: > > # pkg install mailman (or, same with: pkg upgrade) > The following 3 packages will be affected (of 0 checked): > > Installed packages to be REMOVED: > postfix-current-2.12.20140709_2,4 > > New packages to be INSTALLED: > postfix: 2.11.1_4,1 > > Installed packages to be UPGRADED: > mailman: 2.1.18.1_1 -> 2.1.18.1_3 > > I don't want the postfix-current to be removed. Mailman is perfectly > capable of working with it and does not need postfix: 2.11.1. > > > Even if I follow this path: remove postfix-current, install mailman > and let it install postfix: 2.11.1, then try to remove postfix: 2.11.1 > and install postfix-current - it tries to deinstall mailman. > > Mark > Just a guess. Does it help to change the origin of postfix? Something like: pkg set -o postfix:postfix-current Ronald.