From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 4 15:44:04 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 78463A17 for ; Thu, 4 Sep 2014 15:44:04 +0000 (UTC) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07C5C1B4B for ; Thu, 4 Sep 2014 15:44:03 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id c11so11795392lbj.32 for ; Thu, 04 Sep 2014 08:44:02 -0700 (PDT) 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=mctEfQGAi12fpx30mXxIKb0QzKOdxO4s8dCTOimB3Nc=; b=VGjKfWV9mWQ6edM6YG1PQU43q/EaZBWkA/mrmsSSMJfH/si1MizgFuwv3ASGHDur/Z DVsQEpHl96/wfHbuDuusHBtsixp3jhtr7DiyTLtXAT3Wq9UKTLgLcw00lQCTQM58nYzi RxAa4oDFiOx2lKIl/ws23h+zMyw0njCm3ug5cNsLJhdeqHGjXFtm0hgYeYSJDCmH2hLY znkrvzonlKW0FyqWu9Yj3G1MyQgruMxp6Ihxirkk8W8H9L5f/KxN0G/1qyYzIiQaR3Gn 02zyJi9dlLMqQR3xRlbK5HI34ArdO75p447vIBrnS+einzGG71C8I/mWKjsnO9JRqtqs /H+g== X-Received: by 10.112.157.132 with SMTP id wm4mr5083962lbb.89.1409845441995; Thu, 04 Sep 2014 08:44:01 -0700 (PDT) MIME-Version: 1.0 Sender: ivoras@gmail.com Received: by 10.25.149.205 with HTTP; Thu, 4 Sep 2014 08:43:21 -0700 (PDT) From: Ivan Voras Date: Thu, 4 Sep 2014 17:43:21 +0200 X-Google-Sender-Auth: G4DwiT9BZEe48hHkwMFePyCD5oQ Message-ID: Subject: Dependancy tracking not working??? To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Thu, 04 Sep 2014 15:44:04 -0000 Hello, As a continuation of my previous (and unanswered) post about upgrading php, I've made a clean virtual machine for testing and installed php5 with several extensions on it using pkg. I've waited a few days for some changes to the PHP port to happen, and now have a slightly obsolete version of PHP and its extensions which I'd like to upgrade. The situation is this: # pkg info|grep php php5-5.4.31 PHP Scripting Language php5-curl-5.4.31 The curl shared extension for php php5-gd-5.4.31 The gd shared extension for php php5-session-5.4.31 The session shared extension for php php5-xml-5.4.31 The xml shared extension for php php5-xmlrpc-5.4.31 The xmlrpc shared extension for php php5-zlib-5.4.31 The zlib shared extension for php Note that my installed version of php5 is "5.4.31". A repo search shows this: # pkg search php5 ... php5-5.4.31_1 php5-bcmath-5.4.31_1 php5-bz2-5.4.31_1 ... I.e. the most recent version of php5 is "5.4.31_1" Running "pkg upgrade php5", however, does NOT result in all the dependencies on PHP to be upgraded: # pkg upgrade php5 Updating FreeBSD repository catalogue... FreeBSD repository is up-to-date. All repositories are up-to-date. pkg: plexhometheater has a missing dependency: lame The following 1 packages will be affected (of 0 checked): Installed packages to be UPGRADED: php5: 5.4.31 -> 5.4.31_1 2 MB to be downloaded. Proceed with this action? [y/N]: Dependency information is correctly recorded: # pkg info -r php5 php5-5.4.31: php5-xml-5.4.31 php5-session-5.4.31 php5-zlib-5.4.31 php5-gd-5.4.31 php5-xmlrpc-5.4.31 php5-curl-5.4.31 So... how can I upgrade php and all things which depend on it? This is only a single example, I've complained of the same problems the last couple of days, on real, non-test servers. This time, I have a test server and can offer access to it to whomever wants to fix it. (this is, as before, pkg 1.3.7 on FreeBSD 10).