-
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] salt.modules.aptpkg
does not handle parsing a cdrom repo line
#62474
Comments
Fixes saltstack#62474 Signed-off-by: Pedro Algarvio <[email protected]>
This also happens for me on 3005 with this source line on Ubuntu 20.04
which under
|
Fixes saltstack#62474 Signed-off-by: Pedro Algarvio <[email protected]>
Fixes #62474 Signed-off-by: Pedro Algarvio <[email protected]>
Greetings, I was impacted by this as well. I used the following state to apply a workaround. # bugfix commented deb cdrom in /etc/apt/sources.list
# @link: https://github.com/saltstack/salt/issues/62474
deb-cdrom-bugfix:
file.replace:
- name: /etc/apt/sources.list
- pattern: '^# deb cdrom:.*'
- repl: ''
- show_changes: true
- ignore_if_missing: true |
So, this "signedby" problem in an essential package completely breaks server provisioning, which effectively means that none of the other salt modules matter. Waiting maybe a month for next release is out of the question for us, as is correcting the problem on a bunch of servers manually. We will spend this time converting to ansible instead. We have had it with saltstack. |
@tbennett6421 's fix works for me and is quite annoying to have to include this into our bootstrap process and highstates. |
This will only work for those who have the |
Fixes saltstack#62474 Signed-off-by: Pedro Algarvio <[email protected]>
* Fixed parsing CDROM apt sources Fixes #62474 Signed-off-by: Pedro Algarvio <[email protected]> * Deprecate `salt.modules.aptpkg.expand_repo_def()` Fixes #62485 Signed-off-by: Pedro Algarvio <[email protected]> * Update test_aptpkg.py Need to import os Signed-off-by: Pedro Algarvio <[email protected]> Co-authored-by: Gareth J. Greenaway <[email protected]>
Description
See title.
An example line is:
The text was updated successfully, but these errors were encountered: