From owner-freebsd-stable@FreeBSD.ORG Thu Sep 4 00:29:33 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 07E7F671 for ; Thu, 4 Sep 2014 00:29:33 +0000 (UTC) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) by mx1.freebsd.org (Postfix) with ESMTP id AE42D1E36 for ; Thu, 4 Sep 2014 00:29:32 +0000 (UTC) Received: from amavis-proxy-ori.ijs.si (localhost [IPv6:::1]) by mail.ijs.si (Postfix) with ESMTP id 3hpNF62H0Jzq4 for ; Thu, 4 Sep 2014 02:29:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:references:in-reply-to:organization :subject:subject:from:from:date:date:content-transfer-encoding :content-type:content-type:mime-version:received:received :received:received; s=jakla2; t=1409790566; x=1412382567; bh=G/j 2FB+uF4KHZt+hLz/CVYKVz3UuLmmHMlZj5wpdres=; b=peEMxrMvEHxQRLj8XyT Ryc180kqpob5j8iEwO+63zcoadZBOjFM0xgEo3Enu8FzzvlQHGPoBEjOaALzv8EL UVePsbD7lKXJwsCcPryJ1UoLOkxeZvqMedVEvYR/yFJY+DkwiRkuZ6kI3RJxRDDX Z4j+k6TBpNsj92xzi6yCN2xw= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-proxy-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10012) with ESMTP id pAw3MvkhqRtO for ; Thu, 4 Sep 2014 02:29:26 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP for ; Thu, 4 Sep 2014 02:29:25 +0200 (CEST) Received: from neli.ijs.si (neli.ijs.si [IPv6:2001:1470:ff80:88:21c:c0ff:feb1:8c91]) by mildred.ijs.si (Postfix) with ESMTP id 3hpNF151sNz106 for ; Thu, 4 Sep 2014 02:29:25 +0200 (CEST) Received: from sleepy.ijs.si ([2001:1470:ff80:e001::1:1]) by neli.ijs.si with HTTP (HTTP/1.1 POST); Thu, 04 Sep 2014 02:29:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 04 Sep 2014 02:29:25 +0200 From: Mark Martinec To: freebsd-stable@freebsd.org Subject: Re: Forcing pkg Organization: J. Stefan Institute In-Reply-To: References: <20140904093421.7f1abd04@akips.com> Message-ID: <5c04d8d3287b214cd827612b774a7553@mailbox.ijs.si> X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.0.2 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 00:29:33 -0000 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