[BUG] pkg.installed should install dependencies when directly installing .deb files (#10107 striked back) #62934
Labels
Bug
broken, incorrect, or confusing behavior
Regression
The issue is a bug that breaks functionality known to work in previous releases.
Milestone
Description
pkg.installed
should install dependencies when directly installing .deb files with thesource
parameter. This used to work fine for many releases, after issue #10107 was fixed, but the problem seems to be back for Salt 3005.1 Onedir on Ubuntu 22.04.Setup
The server runs Salt 3005.1 on a CentsOS 8 Stream VM (package
salt-3005-1.el8.noarch
). The client runs Salt 3005.1 Onedir on Ubuntu 22.04 VM (package3005.1+ds-1
). I have the following SLS file:Although this example is based on MySQL Workbench, I don't think there is anything specific about it.
Steps to Reproduce the behavior
The command ''salt state.apply mysql-workbench-community'' ends with the following error:
In the client, the package manager is in a broken state:
mysql-workbench-community
is installed without its dependencies. It can be fixed withapt -f install
.Expected behavior
The package
mysql-workbench-community
is installed together with its dependencies.Note
From what I understand, when the
source
parameter is used, the package is installed usingdpkg
instead ofapt
, althoughapt
is perfectly able to install single deb packages and resolve dependencies at the same time.The text was updated successfully, but these errors were encountered: