pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

php and pkgin



Hi There,

I wanted to upgrade my server to pkgsrc-2025.1. with pkgin. Weirdly php81 packages show an inconsistent state.

bash-5.2# pkgin se php | grep '='
=: package is installed and up-to-date
bash-5.2#

So, we can verify no php is installed. However before running pkgin ug, I had several php81 packages.


All right, so let's install php81:

# pkgin in php81
calculating dependencies...done.

1 package to install:
  php81-8.1.32

0 to refresh, 0 to upgrade, 1 to install
0B to download, 47M to install

proceed ? [Y/n]
installing php81-8.1.32...
pkg_install warnings: 0, errors: 1
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log


Ok, let's see what's in there:

# tail /var/db/pkgin/pkg_install-err.log
---Apr 09 10:30:52: installing php81-8.1.32...
pkg_add: Package `php81-8.1.32' conflicts with `php-[0-9]*', and `php-8.1.31' is installed.
pkg_add: 1 package addition failed


I figured out, some parts of the former php81-8.1.31 package are still existing in the filesystem.
I really don't know how to proceed.

Please help me out.

Thanks,
FeZ



Home | Main Index | Thread Index | Old Index