{"action":"closed","issue":{"url":"https://api.github.com/repos/chef/chef/issues/7713","repository_url":"https://api.github.com/repos/chef/chef","labels_url":"https://api.github.com/repos/chef/chef/issues/7713/labels{/name}","comments_url":"https://api.github.com/repos/chef/chef/issues/7713/comments","events_url":"https://api.github.com/repos/chef/chef/issues/7713/events","html_url":"https://github.com/chef/chef/issues/7713","id":366232603,"node_id":"MDU6SXNzdWUzNjYyMzI2MDM=","number":7713,"title":"The resource `dpkg_package` doesn't allow downgrades","user":{"login":"saveriomiroddi","id":1595356,"node_id":"MDQ6VXNlcjE1OTUzNTY=","avatar_url":"https://avatars2.githubusercontent.com/u/1595356?v=4","gravatar_id":"","url":"https://api.github.com/users/saveriomiroddi","html_url":"https://github.com/saveriomiroddi","followers_url":"https://api.github.com/users/saveriomiroddi/followers","following_url":"https://api.github.com/users/saveriomiroddi/following{/other_user}","gists_url":"https://api.github.com/users/saveriomiroddi/gists{/gist_id}","starred_url":"https://api.github.com/users/saveriomiroddi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saveriomiroddi/subscriptions","organizations_url":"https://api.github.com/users/saveriomiroddi/orgs","repos_url":"https://api.github.com/users/saveriomiroddi/repos","events_url":"https://api.github.com/users/saveriomiroddi/events{/privacy}","received_events_url":"https://api.github.com/users/saveriomiroddi/received_events","type":"User","site_admin":false},"labels":[{"id":525666751,"node_id":"MDU6TGFiZWw1MjU2NjY3NTE=","url":"https://api.github.com/repos/chef/chef/labels/Type:%20Enhancement","name":"Type: Enhancement","color":"009800","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-10-03T08:44:41Z","updated_at":"2018-11-09T20:35:48Z","closed_at":"2018-11-09T20:35:48Z","author_association":"NONE","body":"This bug is similar to #6095, except that it involves `dpkg` rather than `apt`.\r\n\r\nThe problem is related to Chef, not to the packaging tools, since it's Chef who decides whether the package tool should be run or not. This is an example:\r\n\r\n```\r\nWARN: dpkg_package[libmysqlclient-dev_5.5.61-0ubuntu0.14.04.1_amd64.deb] libmysqlclient-dev_5.5.61-0ubuntu0.14.04.1_amd64.deb has installed version 5.7.23-0ubuntu0.18.04.1, which is newer than available version 5.5.61-0ubuntu0.14.04.1. Skipping...)\r\n```\r\n\r\nNote that `dpkg` itself will make no fuss when executing `--install` on a package that will cause a downgrade.\r\n\r\nI can't test on RPM, so I don't have hands-on experience on `allow_downgrade`, however, in the current conditions, downgrade use cases necessarily need this property in order to be executed."}}
{"actor":{"display_login":"lamont-granquist"}}