{"action":"created","issue":{"url":"https://api.github.com/repos/stevendanna/cookbook-r/issues/26","repository_url":"https://api.github.com/repos/stevendanna/cookbook-r","labels_url":"https://api.github.com/repos/stevendanna/cookbook-r/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/stevendanna/cookbook-r/issues/26/comments","events_url":"https://api.github.com/repos/stevendanna/cookbook-r/issues/26/events","html_url":"https://github.com/stevendanna/cookbook-r/issues/26","id":81084391,"number":26,"title":"Can't Install Old Version of R","user":{"login":"bjamil","id":1558607,"avatar_url":"https://avatars.githubusercontent.com/u/1558607?v=3","gravatar_id":"","url":"https://api.github.com/users/bjamil","html_url":"https://github.com/bjamil","followers_url":"https://api.github.com/users/bjamil/followers","following_url":"https://api.github.com/users/bjamil/following{/other_user}","gists_url":"https://api.github.com/users/bjamil/gists{/gist_id}","starred_url":"https://api.github.com/users/bjamil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjamil/subscriptions","organizations_url":"https://api.github.com/users/bjamil/orgs","repos_url":"https://api.github.com/users/bjamil/repos","events_url":"https://api.github.com/users/bjamil/events{/privacy}","received_events_url":"https://api.github.com/users/bjamil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-05-26T18:39:38Z","updated_at":"2016-10-22T03:28:23Z","closed_at":null,"body":"I set the version of R using the following attribute \r\nnode['r']['version'] = '3.2.0-1precise'\r\n\r\nHowever, this gives me a converge error, the gist of it being: \r\n> The following packages have unmet dependencies:\r\n>        r-base : Depends: r-recommended (= 3.2.0-1precise) but 3.2.0-4precise0 is to be installed\r\n>          Recommends: r-base-html but it is not going to be installed\r\n>       STDERR: E: Unable to correct problems, you have held broken packages.\r\n>       ---- End output of apt-get -q -y install r-base=3.2.0-1precise ----\r\n>       Ran apt-get -q -y install r-base=3.2.0-1precise returned 100\r\n\r\nI tried to install via the command line with the following command but got the same error \r\n\r\n> sudo apt-get install r-base=3.2.0-1precise\r\n\r\nInstallation succeeded with the following command instead: \r\n\r\n> sudo apt-get install r-base=3.2.0-1precise r-recommended=3.2.0-1precise \r\n"},"comment":{"url":"https://api.github.com/repos/stevendanna/cookbook-r/issues/comments/255504615","html_url":"https://github.com/stevendanna/cookbook-r/issues/26#issuecomment-255504615","issue_url":"https://api.github.com/repos/stevendanna/cookbook-r/issues/26","id":255504615,"user":{"login":"redterror","id":131319,"avatar_url":"https://avatars.githubusercontent.com/u/131319?v=3","gravatar_id":"","url":"https://api.github.com/users/redterror","html_url":"https://github.com/redterror","followers_url":"https://api.github.com/users/redterror/followers","following_url":"https://api.github.com/users/redterror/following{/other_user}","gists_url":"https://api.github.com/users/redterror/gists{/gist_id}","starred_url":"https://api.github.com/users/redterror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redterror/subscriptions","organizations_url":"https://api.github.com/users/redterror/orgs","repos_url":"https://api.github.com/users/redterror/repos","events_url":"https://api.github.com/users/redterror/events{/privacy}","received_events_url":"https://api.github.com/users/redterror/received_events","type":"User","site_admin":false},"created_at":"2016-10-22T03:28:23Z","updated_at":"2016-10-22T03:28:23Z","body":"I hit this also with `3.2.5-1trusty0`.  In that situation however it fails:\r\n\r\n```\r\n# apt-get install r-recommended=3.2.5-1trusty0 r-base=3.2.5-1trusty0 r-base-dev=3.2.5-1trusty0 r-base-core=3.2.5-1trusty0\r\nReading package lists... Done\r\nBuilding dependency tree\r\nReading state information... Done\r\nSome packages could not be installed. This may mean that you have\r\nrequested an impossible situation or if you are using the unstable\r\ndistribution that some required packages have not yet been created\r\nor been moved out of Incoming.\r\nThe following information may help to resolve the situation:\r\n\r\nThe following packages have unmet dependencies:\r\n r-recommended : Depends: r-cran-cluster (>= 1.9.6-2) but it is not going to be installed\r\n                 Depends: r-cran-foreign (>= 0.7-2) but it is not going to be installed\r\n                 Depends: r-cran-kernsmooth (>= 2.2.14) but it is not going to be installed\r\n                 Depends: r-cran-lattice (>= 0.10.11) but it is not going to be installed\r\n                 Depends: r-cran-mgcv (>= 1.1.5) but it is not going to be installed\r\n                 Depends: r-cran-nlme (>= 3.1.52) but it is not going to be installed\r\n                 Depends: r-cran-rpart (>= 3.1.20) but it is not going to be installed\r\n                 Depends: r-cran-survival (>= 2.13.2-1) but it is not going to be installed\r\n                 Depends: r-cran-matrix but it is not going to be installed\r\nE: Unable to correct problems, you have held broken packages.\r\n```\r\n\r\nI think the issue is with the underlying packages, but is partly addressed in [this fork](https://github.com/snormore/cookbook-r)."}}
{"actor":{"display_login":"redterror"}}