Solved Upgrade php80 pkg's to php81 or php82 and reinstall/upgrade installed pkg's depending on php8*

Hi,
What is the command for portmaster to upgrade php80 to php81 or 82 pkg's and reinstall pkg's depending on php8* without using ports?

Thanks.
 
Argh! Ran #pkg upgrade first to be sure all pkg's were up to date and it did it all automatically.
Code:
# pkg upgrade
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking for upgrades (8 candidates): 100%
Processing candidates (8 candidates): 100%
The following 30 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        hidapi: 0.14.0
        libcbor: 0.10.2
        libcjson: 1.7.15_1
        libfido2: 1.13.0
        mysql80-client: 8.0.32_3
        php81: 8.1.20
        php81-ctype: 8.1.20
        php81-filter: 8.1.20
        php81-gd: 8.1.20
        php81-gettext: 8.1.20
        php81-gmp: 8.1.20
        php81-intl: 8.1.20
        php81-ldap: 8.1.20
        php81-mbstring: 8.1.20
        php81-pcntl: 8.1.20
        php81-pdo: 8.1.20
        php81-pdo_mysql: 8.1.20
        php81-posix: 8.1.20
        php81-session: 8.1.20
        php81-simplexml: 8.1.20
        php81-snmp: 8.1.20
        php81-sockets: 8.1.20
        php81-xml: 8.1.20
        php81-zlib: 8.1.20

Installed packages to be UPGRADED:
        bind-tools: 9.18.16 -> 9.18.19
        cacti: 1.2.21 -> 1.2.23_1
        libvpx: 1.13.0 -> 1.13.1
        nss: 3.92 -> 3.93
        webp: 1.3.0_1 -> 1.3.2

Installed packages to be REINSTALLED:
        libgd-2.3.3_5,1 (required shared library changed)

Number of packages to be installed: 24
Number of packages to be upgraded: 5
Number of packages to be reinstalled: 1

The process will require 142 MiB more space.
37 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/7] Fetching nss-3.93.pkg: 100%    2 MiB   2.1MB/s    00:01
[2/7] Fetching libgd-2.3.3_5,1.pkg: 100%  206 KiB 211.0kB/s    00:01
[3/7] Fetching php81-gd-8.1.20.pkg: 100%   33 KiB  33.9kB/s    00:01
[4/7] Fetching bind-tools-9.18.19.pkg: 100%    1 MiB   1.5MB/s    00:01
[5/7] Fetching webp-1.3.2.pkg: 100%  431 KiB 440.9kB/s    00:01
[6/7] Fetching cacti-1.2.23_1.pkg: 100%   32 MiB  16.6MB/s    00:02
[7/7] Fetching libvpx-1.13.1.pkg: 100%    1 MiB   1.3MB/s    00:01
Checking integrity... done (19 conflicting)
  - php81-filter-8.1.20 conflicts with php80-filter-8.0.29 on /usr/local/include/php/ext/filter/filter_arginfo.h
  - php81-ctype-8.1.20 conflicts with php80-ctype-8.0.29 on /usr/local/include/php/ext/ctype/ctype_arginfo.h
  - php81-posix-8.1.20 conflicts with php80-posix-8.0.29 on /usr/local/include/php/ext/posix/posix_arginfo.h
  - php81-snmp-8.1.20 conflicts with php80-snmp-8.0.29 on /usr/local/include/php/ext/snmp/snmp_arginfo.h
  - php81-zlib-8.1.20 conflicts with php80-zlib-8.0.29 on /usr/local/include/php/ext/zlib/php_zlib.h
  - php81-mbstring-8.1.20 conflicts with php80-mbstring-8.0.29 on /usr/local/include/php/ext/mbstring/php_mbregex.h
  - php81-gd-8.1.20 conflicts with php80-gd-8.0.29 on /usr/local/include/php/ext/gd/gd_arginfo.h
  - php81-gettext-8.1.20 conflicts with php80-gettext-8.0.29 on /usr/local/include/php/ext/gettext/gettext_arginfo.h
  - php81-sockets-8.1.20 conflicts with php80-sockets-8.0.29 on /usr/local/include/php/ext/sockets/sendrecvmsg.h
  - php81-8.1.20 conflicts with php80-8.0.29 on /usr/local/bin/php
  - php81-pdo_mysql-8.1.20 conflicts with php80-pdo_mysql-8.0.29 on /usr/local/include/php/ext/pdo_mysql/php_pdo_mysql.h
  - php81-simplexml-8.1.20 conflicts with php80-simplexml-8.0.29 on /usr/local/include/php/ext/simplexml/php_simplexml.h
  - php81-session-8.1.20 conflicts with php80-session-8.0.29 on /usr/local/include/php/ext/session/php_session.h
  - mysql80-client-8.0.32_3 conflicts with mysql57-server-5.7.42 on /usr/local/bin/my_print_defaults
  - mysql80-client-8.0.32_3 conflicts with mysql57-client-5.7.42 on /usr/local/bin/mysql
  - php81-ldap-8.1.20 conflicts with php80-ldap-8.0.29 on /usr/local/include/php/ext/ldap/ldap_arginfo.h
  - php81-xml-8.1.20 conflicts with php80-xml-8.0.29 on /usr/local/include/php/ext/xml/xml_arginfo.h
  - php81-pdo-8.1.20 conflicts with php80-pdo-8.0.29 on /usr/local/include/php/ext/pdo/php_pdo.h
  - php81-gmp-8.1.20 conflicts with php80-gmp-8.0.29 on /usr/local/include/php/ext/gmp/gmp_arginfo.h
Checking integrity... done (0 conflicting)
Conflicts with the existing packages have been found.
One more solver iteration is needed to resolve them.
The following 60 package(s) will be affected (of 0 checked):

Installed packages to be REMOVED:
        mysql57-client: 5.7.42
        mysql57-server: 5.7.42
        php80: 8.0.29
        php80-ctype: 8.0.29
        php80-dom: 8.0.29
        php80-extensions: 1.1
        php80-filter: 8.0.29
        php80-gd: 8.0.29
        php80-gettext: 8.0.29
        php80-gmp: 8.0.29
        php80-iconv: 8.0.29
        php80-ldap: 8.0.29
        php80-mbstring: 8.0.29
        php80-opcache: 8.0.29
        php80-pdo: 8.0.29
        php80-pdo_mysql: 8.0.29
        php80-pdo_sqlite: 8.0.29
        php80-phar: 8.0.29
        php80-posix: 8.0.29
        php80-session: 8.0.29
        php80-simplexml: 8.0.29
        php80-snmp: 8.0.29
        php80-sockets: 8.0.29
        php80-sqlite3: 8.0.29
        php80-tokenizer: 8.0.29
        php80-xml: 8.0.29
        php80-xmlreader: 8.0.29
        php80-xmlwriter: 8.0.29
        php80-zlib: 8.0.29

New packages to be INSTALLED:
        hidapi: 0.14.0
        libcbor: 0.10.2
        libcjson: 1.7.15_1
        libfido2: 1.13.0
        mysql80-client: 8.0.32_3
        php81: 8.1.20
        php81-ctype: 8.1.20
        php81-filter: 8.1.20
        php81-gd: 8.1.20
        php81-gettext: 8.1.20
        php81-gmp: 8.1.20
        php81-intl: 8.1.20
        php81-ldap: 8.1.20
        php81-mbstring: 8.1.20
        php81-pcntl: 8.1.20
        php81-pdo: 8.1.20
        php81-pdo_mysql: 8.1.20
        php81-posix: 8.1.20
        php81-session: 8.1.20
        php81-simplexml: 8.1.20
        php81-snmp: 8.1.20
        php81-sockets: 8.1.20
        php81-xml: 8.1.20
        php81-zlib: 8.1.20

Installed packages to be UPGRADED:
        bind-tools: 9.18.16 -> 9.18.19
        cacti: 1.2.21 -> 1.2.23_1
        libvpx: 1.13.0 -> 1.13.1
        nss: 3.92 -> 3.93
        webp: 1.3.0_1 -> 1.3.2

Installed packages to be REINSTALLED:
        libgd-2.3.3_5,1 (required shared library changed)
        pkg-1.19.2

Number of packages to be removed: 29
Number of packages to be installed: 24
Number of packages to be upgraded: 5
Number of packages to be reinstalled: 2

The operation will free 83 MiB.

Proceed with this action? [y/N]: y
[1/60] Upgrading webp from 1.3.0_1 to 1.3.2...
[1/60] Extracting webp-1.3.2: 100%
[2/60] Deinstalling php80-extensions-1.1...
[3/60] Reinstalling libgd-2.3.3_5,1...
[3/60] Extracting libgd-2.3.3_5,1: 100%
[4/60] Deinstalling php80-pdo_sqlite-8.0.29...
[4/60] Deleting files for php80-pdo_sqlite-8.0.29: 100%
[5/60] Deinstalling php80-xmlreader-8.0.29...
[5/60] Deleting files for php80-xmlreader-8.0.29: 100%
[6/60] Deinstalling php80-gd-8.0.29...
[6/60] Deleting files for php80-gd-8.0.29: 100%
[7/60] Deinstalling php80-pdo_mysql-8.0.29...
[7/60] Deleting files for php80-pdo_mysql-8.0.29: 100%
[8/60] Deinstalling php80-simplexml-8.0.29...
[8/60] Deleting files for php80-simplexml-8.0.29: 100%
[9/60] Deinstalling php80-gmp-8.0.29...
[9/60] Deleting files for php80-gmp-8.0.29: 100%
[10/60] Deinstalling php80-pdo-8.0.29...
[10/60] Deleting files for php80-pdo-8.0.29: 100%
[11/60] Deinstalling php80-xml-8.0.29...
[11/60] Deleting files for php80-xml-8.0.29: 100%
[12/60] Deinstalling php80-xmlwriter-8.0.29...
[12/60] Deleting files for php80-xmlwriter-8.0.29: 100%
[13/60] Deinstalling php80-opcache-8.0.29...
[13/60] Deleting files for php80-opcache-8.0.29: 100%
[14/60] Deinstalling php80-mbstring-8.0.29...
[14/60] Deleting files for php80-mbstring-8.0.29: 100%
[15/60] Deinstalling php80-dom-8.0.29...
[15/60] Deleting files for php80-dom-8.0.29: 100%
[16/60] Deinstalling php80-gettext-8.0.29...
[16/60] Deleting files for php80-gettext-8.0.29: 100%
[17/60] Deinstalling php80-session-8.0.29...
[17/60] Deleting files for php80-session-8.0.29: 100%
[18/60] Deinstalling php80-tokenizer-8.0.29...
[18/60] Deleting files for php80-tokenizer-8.0.29: 100%
[19/60] Deinstalling php80-phar-8.0.29...
[19/60] Deleting files for php80-phar-8.0.29: 100%
[20/60] Deinstalling php80-sockets-8.0.29...
[20/60] Deleting files for php80-sockets-8.0.29: 100%
[21/60] Deinstalling php80-sqlite3-8.0.29...
[21/60] Deleting files for php80-sqlite3-8.0.29: 100%
[22/60] Deinstalling php80-posix-8.0.29...
[22/60] Deleting files for php80-posix-8.0.29: 100%
[23/60] Deinstalling php80-zlib-8.0.29...
[23/60] Deleting files for php80-zlib-8.0.29: 100%
[24/60] Deinstalling php80-ctype-8.0.29...
[24/60] Deleting files for php80-ctype-8.0.29: 100%
[25/60] Deinstalling php80-ldap-8.0.29...
[25/60] Deleting files for php80-ldap-8.0.29: 100%
[26/60] Deinstalling php80-iconv-8.0.29...
[26/60] Deleting files for php80-iconv-8.0.29: 100%
[27/60] Deinstalling php80-snmp-8.0.29...
[27/60] Deleting files for php80-snmp-8.0.29: 100%
[28/60] Deinstalling php80-filter-8.0.29...
[28/60] Deleting files for php80-filter-8.0.29: 100%
[29/60] Deinstalling php80-8.0.29...
[29/60] Deleting files for php80-8.0.29: 100%
[30/60] Deinstalling mysql57-server-5.7.42...
[30/60] Deleting files for mysql57-server-5.7.42: 100%
==> You should manually remove the "mysql" user.
==> You should manually remove the "mysql" group
[31/60] Deinstalling mysql57-client-5.7.42...
[31/60] Deleting files for mysql57-client-5.7.42: 100%
[32/60] Installing libcjson-1.7.15_1...
[32/60] Extracting libcjson-1.7.15_1: 100%
[33/60] Installing libcbor-0.10.2...
[33/60] Extracting libcbor-0.10.2: 100%
[34/60] Installing php81-8.1.20...
[34/60] Extracting php81-8.1.20: 100%
[35/60] Installing hidapi-0.14.0...
[35/60] Extracting hidapi-0.14.0: 100%
[36/60] Installing libfido2-1.13.0...
[36/60] Extracting libfido2-1.13.0: 100%
[37/60] Installing php81-pdo-8.1.20...
[37/60] Extracting php81-pdo-8.1.20: 100%
[38/60] Installing php81-filter-8.1.20...
[38/60] Extracting php81-filter-8.1.20: 100%
[39/60] Installing php81-pcntl-8.1.20...
[39/60] Extracting php81-pcntl-8.1.20: 100%
[40/60] Installing php81-ctype-8.1.20...
[40/60] Extracting php81-ctype-8.1.20: 100%
[41/60] Installing php81-posix-8.1.20...
[41/60] Extracting php81-posix-8.1.20: 100%
[42/60] Installing php81-snmp-8.1.20...
[42/60] Extracting php81-snmp-8.1.20: 100%
[43/60] Installing php81-zlib-8.1.20...
[43/60] Extracting php81-zlib-8.1.20: 100%
[44/60] Installing php81-mbstring-8.1.20...
[44/60] Extracting php81-mbstring-8.1.20: 100%
[45/60] Installing php81-gd-8.1.20...
[45/60] Extracting php81-gd-8.1.20: 100%
[46/60] Installing php81-gettext-8.1.20...
[46/60] Extracting php81-gettext-8.1.20: 100%
[47/60] Installing php81-sockets-8.1.20...
[47/60] Extracting php81-sockets-8.1.20: 100%
[48/60] Installing php81-pdo_mysql-8.1.20...
[48/60] Extracting php81-pdo_mysql-8.1.20: 100%
[49/60] Installing php81-simplexml-8.1.20...
[49/60] Extracting php81-simplexml-8.1.20: 100%
[50/60] Installing php81-session-8.1.20...
[50/60] Extracting php81-session-8.1.20: 100%
[51/60] Installing mysql80-client-8.0.32_3...
[51/60] Extracting mysql80-client-8.0.32_3: 100%
[52/60] Installing php81-intl-8.1.20...
[52/60] Extracting php81-intl-8.1.20: 100%
[53/60] Installing php81-ldap-8.1.20...
[53/60] Extracting php81-ldap-8.1.20: 100%
[54/60] Installing php81-xml-8.1.20...
[54/60] Extracting php81-xml-8.1.20: 100%
[55/60] Installing php81-gmp-8.1.20...
[55/60] Extracting php81-gmp-8.1.20: 100%
[56/60] Upgrading nss from 3.92 to 3.93...
[56/60] Extracting nss-3.93: 100%
[57/60] Reinstalling pkg-1.19.2...
[57/60] Extracting pkg-1.19.2: 100%
[58/60] Upgrading bind-tools from 9.18.16 to 9.18.19...
[58/60] Extracting bind-tools-9.18.19: 100%
[59/60] Upgrading cacti from 1.2.21 to 1.2.23_1...
===> Creating groups.
Using existing group 'cacti'.
===> Creating users
Using existing user 'cacti'.
[59/60] Extracting cacti-1.2.23_1: 100%
[60/60] Upgrading libvpx from 1.13.0 to 1.13.1...
[60/60] Extracting libvpx-1.13.1: 100%
You may need to manually remove /usr/local/etc/php-fpm.conf if it is no longer needed.
You may need to manually remove /usr/local/etc/php-fpm.d/www.conf if it is no longer needed.
You may need to manually remove /usr/local/etc/mysql/my.cnf if it is no longer needed.
=====
 
Back
Top