{"action":"created","issue":{"url":"https://api.github.com/repos/sensu/sensu-chef/issues/255","labels_url":"https://api.github.com/repos/sensu/sensu-chef/issues/255/labels{/name}","comments_url":"https://api.github.com/repos/sensu/sensu-chef/issues/255/comments","events_url":"https://api.github.com/repos/sensu/sensu-chef/issues/255/events","html_url":"https://github.com/sensu/sensu-chef/issues/255","id":32897108,"number":255,"title":"apt-get upgrade breaks the Sensu recipe","user":{"login":"rosenfeld","id":32246,"avatar_url":"https://avatars.githubusercontent.com/u/32246?v=3","gravatar_id":"","url":"https://api.github.com/users/rosenfeld","html_url":"https://github.com/rosenfeld","followers_url":"https://api.github.com/users/rosenfeld/followers","following_url":"https://api.github.com/users/rosenfeld/following{/other_user}","gists_url":"https://api.github.com/users/rosenfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/rosenfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosenfeld/subscriptions","organizations_url":"https://api.github.com/users/rosenfeld/orgs","repos_url":"https://api.github.com/users/rosenfeld/repos","events_url":"https://api.github.com/users/rosenfeld/events{/privacy}","received_events_url":"https://api.github.com/users/rosenfeld/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-05-06T14:25:18Z","updated_at":"2015-01-22T11:26:17Z","closed_at":null,"body":"```\r\napt-cache policy rabbitmq-server \r\nrabbitmq-server:\r\n  Installed: 3.1.5-1\r\n  Candidate: 3.2.4-1\r\n  Version table:\r\n     3.2.4-1 0\r\n        500 http://us-east-1.ec2.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages\r\n *** 3.1.5-1 0\r\n        100 /var/lib/dpkg/status\r\n```\r\n\r\nThat means that upgrading my server will break my Chef recipe since it requires a specific version (3.1.5) which fails to be downgraded after 3.2.4 is installed by `apt-get upgrade`.\r\n\r\nIf this recipe depends on this specific `rabbitmq-server` package version it should also set the proper pin settings to prevent `apt-get upgrade` to try to upgrade the rabbitmq-server package."},"comment":{"url":"https://api.github.com/repos/sensu/sensu-chef/issues/comments/71006849","html_url":"https://github.com/sensu/sensu-chef/issues/255#issuecomment-71006849","issue_url":"https://api.github.com/repos/sensu/sensu-chef/issues/255","id":71006849,"user":{"login":"rosenfeld","id":32246,"avatar_url":"https://avatars.githubusercontent.com/u/32246?v=3","gravatar_id":"","url":"https://api.github.com/users/rosenfeld","html_url":"https://github.com/rosenfeld","followers_url":"https://api.github.com/users/rosenfeld/followers","following_url":"https://api.github.com/users/rosenfeld/following{/other_user}","gists_url":"https://api.github.com/users/rosenfeld/gists{/gist_id}","starred_url":"https://api.github.com/users/rosenfeld/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rosenfeld/subscriptions","organizations_url":"https://api.github.com/users/rosenfeld/orgs","repos_url":"https://api.github.com/users/rosenfeld/repos","events_url":"https://api.github.com/users/rosenfeld/events{/privacy}","received_events_url":"https://api.github.com/users/rosenfeld/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T11:26:17Z","updated_at":"2015-01-22T11:26:17Z","body":"I don't agree. They still specify the version:\r\n\r\nhttps://github.com/jjasghar/rabbitmq/blob/master/attributes/default.rb#L2\r\n\r\nIt doesn't matter whether the current version is the latest or not. At some point a new release will be available and the recipe will break the `apt-get upgrade`. They should either stop specifying the version or hold the version."}}