Skip to content

Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable #2

@pettersonp

Description

@pettersonp

Problem

When trying to provision the VMs in this repository by running the vagrant up command, I encountered the following error:

 Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable

This is due to a repository codename change. In order to avoid this error, the --allow-releaseinfo-change flag must be used when installing/updating packages.

Solution

Since there currently is no way in the documentation to force --allow-releaseinfo-change through the ansible apt module, a workaround is to add this step beforehand:

  - name: Allow release-info to change for APT repositories
   command: apt-get update -y --allow-releaseinfo-change

Reference: ansible/ansible#48352 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions