From owner-freebsd-pkg@FreeBSD.ORG Mon Feb 23 16:49:28 2015 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DCFB7FF6 for ; Mon, 23 Feb 2015 16:49:27 +0000 (UTC) Received: from mail-oi0-x22e.google.com (mail-oi0-x22e.google.com [IPv6:2607:f8b0:4003:c06::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F82CD85 for ; Mon, 23 Feb 2015 16:49:27 +0000 (UTC) Received: by mail-oi0-f46.google.com with SMTP id x69so14491983oia.5 for ; Mon, 23 Feb 2015 08:49:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=/dAi2dKEvZtskaRco96+Gwpoq0taFlEjhT5K6oC+jKs=; b=xMZ4zK259mf7BdSHvgNTc5M6tdQUhCwMF64Pdl99SJjm1IsDZUUMkyr3jwVxDjFiOU 29GfZUrpt45zQvtsRYdlAjrUQMGQ54kinhUhpIL+Fw5vyW92nOylqQx4i9fuIeaO5m6o Yt1Xj0BNxHubdELyw2Jxef87GUxsx2FCpZNZ3Dze8aFdfOK03gSQIKxhqQjNbrzS7fwt iR65XqSFcrNpX0VJ+D31jmDEPMkuidoHTWoPtO7woS3Cy0d34lPsyovTbtwy2HGit2Wb gDcSS2E83SdvSRxVZ9Dl8hxSVp6wKocUO/SDyRfakf/5xkMNc5/4iTpUzXWgUaEELeXu embA== X-Received: by 10.60.45.200 with SMTP id p8mr8009245oem.46.1424710166946; Mon, 23 Feb 2015 08:49:26 -0800 (PST) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.202.227.194 with HTTP; Mon, 23 Feb 2015 08:48:46 -0800 (PST) From: Ivan Voras Date: Mon, 23 Feb 2015 17:48:46 +0100 X-Google-Sender-Auth: SPduS0X8myHR2ytGJQfpzMLUMLQ Message-ID: Subject: Upgrading php with pkg To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Feb 2015 16:49:28 -0000 Hi, It's time for my yearly rant about pkg seemingly not being able to upgrade whole sets of dependencies while installing or upgrading packages. In short, if we have this: package A depends on package B, which depends on package C ...upgrading package B *must always* result in an upgrade to package A, and *must* cause an upgrade of package C *iff* the new version of package B is linked with a different version of package C (e.g. if it depends on a newer version of package C). Using heuristics such as checking versions encoded in .so filenames are rarely enough because (upstream) developers are lazy. I can give examples from the PHP-Apache-PostgreSQL stack at request. If this is not done, we have the situation described here: http://ivoras.net/blog/tree/2015/Feb-why-freebsds-pkg-sucks.html The post is somewhat strongly worded, and I believe it will be even more strongly worded a year from now ;)