-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
[BUG]pkgrepo.managed (apt) ignores [trusted=yes] #64130
Comments
The |
I experience the same issue in 3006.0 |
Also experiencing this, with additional bad side effects:
It appears to be a failure, but the file is actually created, and it looks like this:
Subsequent running of the same state formula will produce success with no changes messages:
... which is LIES |
I'm encountering the same issue on 3006.1. |
Same here. the Everything suggests to me that the Will probably work around for now with |
Rather than that, you want either |
Hmm, certainly do not want that. There are very many But will try |
It gets worse: If any |
I had another (really dark) workaround is mind: protect my files from salt by using the filesystem immutable attribute:
But sadly, it locks up the highstate completely, and confirms my suspicion, managing one repo messes around with others:
I'm inclined to give up now, apt repo management seems to be broken. 😞 |
This is now an example of what seems to be working for me:
|
I also have this bug. It still works in Ubuntu 20.04 but not in 22.04 or 23.10. |
This will be fixed in the next minor release |
Verified working in 3007.0 |
pkgrepo.managed (apt) ignores [trusted=yes]
Since we upgraded our system from Salt V3004.2 to V3005.1, the following problem occurs:
When trying to add an unsigned repository, e.g.: "deb [trusted=yes] http://reposerver.net/ubuntu/focal main", there is an error "E: The repository 'http://reposerver.net/ubuntu Focal Release' is unsigned."
Setup
Please be as specific as possible and give set-up details.
Steps to Reproduce the behavior
Expected behavior
The expected source list file should look like this
deb [trusted=yes] http://reposerver.net/ubuntu/ focal main
After completion of the state it looks like this:
deb http://reposerver.net/ubuntu/ focal main
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: