What happened?
When executing pkg.installed it returns false even if the application is installed correctly.
state returns Result: False
root@salt:~# salt newjail2026 state.apply forgejo.init saltenv=dev
jid: 20260402202333686875
newjail2026:
----------
ID: install
Function: pkg.installed
Name: forgejo
Result: False
Comment: The following packages failed to install/update: forgejo=14.0.3
Started: 22:22:48.401852
Duration: 2774.416 ms
Changes:
----------
forgejo:
----------
new:
14.0.3
old:
----------
truncated ....
Succeeded: 4 (changed=1)
Failed: 1
------------
Total states run: 5
Total run time: 3.323 s
Type of salt install
Official deb
Major version
3006.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
debian-11
salt --versions-report output
Salt Version
salt -V
Salt Version:
Salt: 3006.9
Python Version:
Python: 3.11.14 (main, Jan 1 2026, 01:04:56) [Clang 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd7080
Dependency Versions:
cffi: 1.17.1
cherrypy: Not Installed
cryptography: 45.0.7
dateutil: 2.9.0
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.6
libgit2: Not Installed
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.1.2
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 25.0
pycparser: 2.23
pycrypto: Not Installed
pycryptodome: 3.23.0
pygit2: Not Installed
python-gnupg: Not Installed
PyYAML: 6.0.3
PyZMQ: 27.1.0
relenv: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.3.5
System Versions:
dist: freebsd 15.0
locale: utf-8
machine: amd64
release: 15.0-RELEASE-p2
system: FreeBSD
version: FreeBSD 15.0
What happened?
When executing pkg.installed it returns false even if the application is installed correctly.
state returns Result: False
Type of salt install
Official deb
Major version
3006.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
debian-11
salt --versions-report output
Salt Version salt -V Salt Version: Salt: 3006.9 Python Version: Python: 3.11.14 (main, Jan 1 2026, 01:04:56) [Clang 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd7080 Dependency Versions: cffi: 1.17.1 cherrypy: Not Installed cryptography: 45.0.7 dateutil: 2.9.0 docker-py: Not Installed gitdb: Not Installed gitpython: Not Installed Jinja2: 3.1.6 libgit2: Not Installed looseversion: 1.3.0 M2Crypto: Not Installed Mako: Not Installed msgpack: 1.1.2 msgpack-pure: Not Installed mysql-python: Not Installed packaging: 25.0 pycparser: 2.23 pycrypto: Not Installed pycryptodome: 3.23.0 pygit2: Not Installed python-gnupg: Not Installed PyYAML: 6.0.3 PyZMQ: 27.1.0 relenv: Not Installed smmap: Not Installed timelib: Not Installed Tornado: 4.5.3 ZMQ: 4.3.5 System Versions: dist: freebsd 15.0 locale: utf-8 machine: amd64 release: 15.0-RELEASE-p2 system: FreeBSD version: FreeBSD 15.0