Skip to content

problem allow_updates - Salt: 2015.8.7 #32535

Closed

Description

@jacky35

it does not take into account the argument "allow_updates"

File: (/srv/salt/windows)
----------------------------
firefox:
  pkg.latest:
    - allow_updates: True
    - pkgs:
       - firefox
-----------------------

I also tried other combination but it's the same problem

it replaces firefox by an old version of that found in the repository

----------
          ID: firefox
    Function: pkg.latest
      Result: True
     Comment: The following packages were successfully installed/upgraded: firefox
     Started: 16:05:52.156000
    Duration: 9204.0 ms
     Changes:
              ----------
              Mozilla Firefox 45.0.2 ESR (x64 fr):
                  ----------
                  new:
                  old:
                      45.0.2
              Mozilla Maintenance Service:
                  ----------
                  new:
                      45.0.1
                  old:
                      45.0.2
              firefox:
                  ----------
                  new:
                      45.0.1
                  old:
----------------------------------------------------------------------
-----------------------------
Salt Version:
           Salt: 2015.8.7

Dependency Versions:
         Jinja2: 2.7.3
       M2Crypto: Not Installed
           Mako: Not Installed
         PyYAML: 3.11
          PyZMQ: 14.4.0
         Python: 2.7.9 (default, Mar  1 2015, 12:57:24)
           RAET: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.0.5
           cffi: 0.8.6
       cherrypy: Not Installed
       dateutil: 2.2
          gitdb: 0.5.4
      gitpython: 0.3.2 RC1
          ioflo: Not Installed
        libgit2: Not Installed
        libnacl: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.2
   mysql-python: 1.2.3
      pycparser: 2.10
       pycrypto: 2.6.1
         pygit2: Not Installed
   python-gnupg: Not Installed
          smmap: 0.8.2
        timelib: Not Installed

System Versions:
           dist: debian 8.3
        machine: x86_64
        release: 3.16.0-4-amd64
         system: debian 8.3
----------
Minion: 2015.8.8-2

Activity

  1. added
    bug
    severity-low
    P3
    Platform
    on Apr 13, 2016
  2. added this to the Approved milestone on Apr 13, 2016
  3. jfindlay commented on Apr 13, 2016

    @jfindlay
    Contributor

    @jacky35, thanks for reporting. Have you updated your winrepo cache on the master? Ping @TheBigBear.

  4. jacky35 commented on Apr 14, 2016

    @jacky35
    Author

    Yes the command line "salt -run winrepo.genrepo " has been executed before

  5. TheBigBear commented on Apr 14, 2016

    @TheBigBear
    Contributor

    I don't know why it would downgrade in this way, but I do know that until just now, winrepo-ng didn't know about the 45.x series of ESR. It only had recipes for the 38.x series of the ESR Firefox.

    So, that might explain part of what you saw?

  6. jacky35 commented on Apr 15, 2016

    @jacky35
    Author

    Client on the computer it is installed "Mozilla Firefox 45.0.2 ESR ( x64 fr) " because firefox has made ​​updates automatic way day.

    That if my Firefox file:

    
    firefox:
    
      '45 .0.1 ' :
        full_name : ' Mozilla Firefox 45.0.1 ESR ( x64 fr) '
        install: 'salt : // win / repo ng / software / firefox / Firefox Setup 45.0.1esr.exe '
        install_flags ' / s '
        msiexec : False
        Local : en_US
        reboot : False
    
    

    It therefore runs in a loop ....

  7. Ch3LL commented on Aug 12, 2016

    @Ch3LL
    Contributor

    This also affects linux as shown in #35385

  8. stale commented on Jun 15, 2018

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

    If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.

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

    P3PlatformState-Modulebugseverity-lowstale

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions