-
Notifications
You must be signed in to change notification settings - Fork 5.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEATURE REQUEST] Add flag to pkg.installed to force dpkg usage instead of apt #65315
Comments
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
For the sumologic collector, if the EDIT: |
@devin-cpg Salt 3006 and up use OneDir architecture with all dependencies already built-in, and do not rely on OS packages. If you want Salt 3006 to install other dependencies, that you need to install them, it is not automatic. The OneDir architecture was developed to be self-contained and not rely on OS packages since various OS, are not keeping up with dependency releases and use EOL'd Python, e.g. RedHat 7 & 8 still Python 3.6. Closing this since working as designed for Salt 3006 and up. But feel free to reopen if there are other points to raise. |
@devin-cpg Rereading initial issue, could be unrelated to OneDir and wanting just packages installed on Debian family OS, and OneDir favoring apt over dpkg which I quite rightly understand. As for the issues mentioned, that 3005.1 ubuntu 22.04 was a Tiamat self.contained Salt package, very similar to OneDir (Relenv backed instead of Tiamat which had some issues). |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Existing Problem:
After updating from 3003.5 to 3006.3, we experienced failure to install some packages that were sourced from the salt server, as well as one from an
https://
repository. These failures all seem to stem from the change fromdpkg
toapt-get
as seen in #62934 and #63126First, the storcli .deb package, which lives on the salt master:
Next would be the sumologic collector. The state is extremely simple:
However, in 3006 this fails:
Requested Solution:
A parameter for the
pkg.installed
(or rather, I guesssalt.modules.aptpkg.install
) to revert back to the old pre #62934 behavior and just usedpkg
instead ofapt-get
.Alternatives:
With regards to the
storcli
package, this was resolved by unpacking, deleting theProvides:
line from the control file, and repacking. It seems that Broadcom is not building these properly, or at least not well enough forapt
to install.The sumologic collector requires a change to the state where instead of the simple version as seen above, I need to use a chain of
cmd.run
to download and install.The text was updated successfully, but these errors were encountered: