From owner-freebsd-stable@FreeBSD.ORG Wed Sep 3 23:54:48 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 A4C70EDD for ; Wed, 3 Sep 2014 23:54:48 +0000 (UTC) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5EC191B86 for ; Wed, 3 Sep 2014 23:54:47 +0000 (UTC) Received: from [92.76.80.218] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80.1) (envelope-from ) id 1XPKNx-0005tg-AI; Thu, 04 Sep 2014 01:54:45 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Brandon Allbery" Subject: Re: pkg question - Difference pkg vs port References: Date: Thu, 04 Sep 2014 01:54:38 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.4/19334/Wed Sep 3 23:27:44 2014) Cc: FreeBSD Stable Mailing List 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: Wed, 03 Sep 2014 23:54:48 -0000 On Thu, 04 Sep 2014 01:32:48 +0200, Brandon Allbery wrote: > On Wed, Sep 3, 2014 at 7:24 PM, Michael Ross wrote: > >> "Anything that provides" I think is the key to where I started thinking >> wrong: >> >> The dependency is not "Shared libs required" libmysqlclient.so.18, >> but one specific port that provides libmysqlclient.so.18 - >> mysql55-client. >> > > Ports can do "provides library" dependencies. Packages can only depend on > packages. You can try to force it but you could also confuse your package > database rather badly. > Assume I don't mind, assume a test system that can and will be wiped anyway. ( And assume a port which takes longer then 5 seconds to compile ... ) *How* can I force this? I've pkg-locked mysql56-client. Now ``pkg install py27-MySQLdb'' exits with mysql56-client-5.6.20 is locked and may not be modified if I add -M, --ignore-missing Force the installation of the package with missing dependen- cies. to the pkg command, the result is the same mysql56-client-5.6.20 is locked and may not be modified So it seems to me I can't force the package to install, because the dependency "mysql55-client" is not "missing" but "uninstallable". Michael