From owner-freebsd-stable@FreeBSD.ORG Wed Sep 3 22:09:34 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 BE4A13DF for ; Wed, 3 Sep 2014 22:09:34 +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 23E6C1D1B for ; Wed, 3 Sep 2014 22:09:32 +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 1XPITW-0005Ox-5v for freebsd-stable@freebsd.org; Wed, 03 Sep 2014 23:52:22 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "FreeBSD Stable Mailing List" Date: Wed, 03 Sep 2014 23:52:15 +0200 Subject: pkg question - Difference pkg vs port MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: User-Agent: Opera Mail/1.0 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.98.4/19333/Wed Sep 3 20:51:02 2014) 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 22:09:34 -0000 Hello, I don' get this: I installed py-MySQLdb via the port, with mysql56 installed via pkg beforehand. This went fine. ``pkg info py27-MySQLdb'' reports: py27-MySQLdb-1.2.3_4 Name : py27-MySQLdb Version : 1.2.3_4 Installed on : Wed Sep 3 21:10:49 UTC 2014 Origin : databases/py-MySQLdb Architecture : freebsd:10:x86:64 Prefix : /usr/local Categories : python databases Maintainer : python@FreeBSD.org WWW : http://sourceforge.net/projects/mysql-python/ Comment : Access a MySQL database through Python Options : DOCS : on MYSQLCLIENT_R : on Shared Libs required: libpython2.7.so.1 libmysqlclient.so.18 Shared Libs provided: _mysql.so This is the exact same output I get when I install with ``pkg install py27-MySQLdb'', yet the pkg version does not accept mysql56, but insists on mysql55, the fact that both use libmysqlclient.so.18 notwithstanding. How do I handle this?, i. e. how do I, can I, manually change the dependency mysql55-client-5.5.39 to mysql56-client-5.6.20 ? I have to use mysql56, does this mean I have to install the python module via the port? And consequently always take care that pkg while upgrading does not downgrade the mysql client to 55 ( and completely remove the server component while it's at it? )? More: After installing the python module via the port, pkg show it as depending on mysql56: root@m2:/usr/ports/databases/py-MySQLdb # pkg info -d py27-MySQLdb py27-MySQLdb-1.2.3_4: python27-2.7.8_4 python2-2_3 py27-setuptools27-5.5.1 mysql56-client-5.6.20 yet: root@m2:/usr/ports/databases/py-MySQLdb # pkg upgrade [...] New packages to be INSTALLED: mysql55-client: 5.5.39 Installed packages to be REINSTALLED: py27-MySQLdb-1.2.3_4 (direct dependency changed) I'm sort of not getting this at all. Michael