pkgsrc-Users archive

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

Re: php and pkgin



* On 2025-04-09 at 12:55 BST, Fekete Zoltán wrote:

pkgin list however, did:
bash-5.2# pkgin list | grep php
php-8.1.31           PHP Hypertext Preprocessor version 8.1
bash-5.2# pkg_delete php
pkg_delete: No matching package for basename `php' of `php'
bash-5.2# pkg_delete php-8.1.31
pkg_delete: No matching package for basename `php-8.1.31' of `php-8.1.31'
bash-5.2#

It's unclear how you can get into this state. One of the first things that pkgin does on every invocation is check that its database is in sync with the pkgdb, and if the mtime of the pkgdb has changed then it will force a refresh. Clearly here they are not in sync.

I'm certainly very interested in any test cases that can reproduce this.

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index