Date: Thu, 4 Sep 2014 17:43:21 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-pkg@freebsd.org Subject: Dependancy tracking not working??? Message-ID: <CAF-QHFXXv2DkrTdhHqMW8R1%2BRDrfsiZvLaT3xNcAuKc28XBGBw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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).
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF-QHFXXv2DkrTdhHqMW8R1%2BRDrfsiZvLaT3xNcAuKc28XBGBw>