Skip to content

[BUG] refresh_db is deprecated for pkgrepo.managed #61

Open

Description

@myii

Your setup

Formula commit hash / release tag

Versions reports (master & minion)

Pillar / config used


Bug details

Describe the bug

As reported in the Slack #testing channel (which will disappear after a while).

https://saltstackcommunity.slack.com/archives/C7KKN9P6W/p1588231385039600

Rebuilt our pre-salted images at https://github.com/netmanagers/salt-image-builder after the CVE release and now beginning to run the tests of the master branch across the SaltStack Formulas. Got our first failures in the apt-formula, with a neon warning that's been reintroduced by a develop => master port 8 days ago (https://github.com/saltstack/salt/blame/master/salt/states/pkgrepo.py#L313-L318).

https://travis-ci.org/github/myii/apt-formula/jobs/681357767#L1517-L1530

RuntimeError: The warning triggered on filename '/usr/local/lib/python3.7/dist-packages/salt/states/pkgrepo.py', line number 315, is supposed to be shown until version 3000 is released. Current version is now 3000. Please remove the warning.
  • Out of interest, why is a salt.utils.versions.warn_until() significant enough to trigger a RuntimeError?

Steps to reproduce the bug

Expected behaviour

Attempts to fix the bug

This line will need to be removed/adjusted:

- refresh_db: False

Additional context

Activity

  1. changed the title [-][BUG] `refresh_db` is deprecated[/-] [+][BUG] `refresh_db` is deprecated for `pkgrepo.managed`[/+] on Apr 30, 2020
  2. added a commit that references this issue on Sep 21, 2020
    d0400b9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions