Skip to content
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

packer/scylla.json: Add apt-get update after kernel package removal #494

Merged
merged 1 commit into from
Dec 13, 2023

Commits on Dec 12, 2023

  1. packer/scylla.json: Add apt-get update after kernel package removal

    From time to time we get the following error during Azure build:
    ```
    �[0;32m    azure: Reading state information...�[0m
     �[1;31m==> azure: E: Unable to locate package linux-azure-lts-22.04�[0m
     �[1;31m==> azure: E: Couldn't find any package by glob 'linux-azure-lts-22.04'�[0m
     �[1;31m==> azure: E: Couldn't find any package by regex 'linux-azure-lts-22.04'�[0m
     �[1;32m==> azure: Provisioning step had errors: Running the cleanup provisioner, if present...�[0m
     �[1;32m==> azure:
     ==> azure: Deleting individual resources ...�[0m
    ```
    
    Couldn't find a main reason for this, as it can't be repreduced all
    time.
    
    As suggested by @mykaul, adding `apt-get update` after kernel package
    pruge command
    
    Fixes: scylladb/scylla-pkg#3601
    yaronkaikov committed Dec 12, 2023
    Configuration menu
    Copy the full SHA
    e79684b View commit details
    Browse the repository at this point in the history