Date: Mon, 23 Feb 2015 17:48:46 +0100 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-pkg@freebsd.org Subject: Upgrading php with pkg Message-ID: <CAF-QHFULCv1fk6egUkHLJTuNSR7otBTSYq6ySV6YKk6QmZOjMQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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 ;)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF-QHFULCv1fk6egUkHLJTuNSR7otBTSYq6ySV6YKk6QmZOjMQ>