{"action":"created","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/13584","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/13584/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/13584/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/13584/events","html_url":"https://github.com/JuliaLang/julia/issues/13584","id":111213354,"number":13584,"title":"Pkg.update() does not continue to all packages when one package fails.","user":{"login":"RatanRSur","id":4733314,"avatar_url":"https://avatars.githubusercontent.com/u/4733314?v=3","gravatar_id":"","url":"https://api.github.com/users/RatanRSur","html_url":"https://github.com/RatanRSur","followers_url":"https://api.github.com/users/RatanRSur/followers","following_url":"https://api.github.com/users/RatanRSur/following{/other_user}","gists_url":"https://api.github.com/users/RatanRSur/gists{/gist_id}","starred_url":"https://api.github.com/users/RatanRSur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RatanRSur/subscriptions","organizations_url":"https://api.github.com/users/RatanRSur/orgs","repos_url":"https://api.github.com/users/RatanRSur/repos","events_url":"https://api.github.com/users/RatanRSur/events{/privacy}","received_events_url":"https://api.github.com/users/RatanRSur/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JuliaLang/julia/labels/packages","name":"packages","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-10-13T16:06:42Z","updated_at":"2015-10-16T01:45:29Z","closed_at":null,"body":"I'm not sure if this is actually intended behavior but here's what happened.\r\n\r\nAdded an NCurses library\r\n\r\n`Pkg.clone(https://github.com/Keno/NCurses.jl.git)`\r\n\r\nIt fails with\r\n\r\n```\r\nERROR: Terminals can't be installed because it has no versions that support 0.4.0 of julia. You may need to update METADATA by running `Pkg.update()`\r\n in error at error.jl:22\r\n in resolve at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib\r\n in update at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib\r\n in anonymous at pkg/dir.jl:31\r\n in cd at file.jl:22\r\n in cd at pkg/dir.jl:31\r\n in update at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib\r\n```\r\n\r\nI left the package in for the time being and called Pkg.update(). Same error so I removed NCurses and tried again.\r\n\r\n```\r\njulia> Pkg.update()\r\nINFO: Updating METADATA...\r\nINFO: Updating NCurses...\r\nINFO: Computing changes...\r\nERROR: Terminals can't be installed because it has no versions that support 0.4.0 of julia. You may need to update METADATA by running `Pkg.update()`\r\n in error at error.jl:22\r\n in resolve at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib\r\n in update at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib\r\n in anonymous at pkg/dir.jl:31\r\n in cd at file.jl:22\r\n in cd at pkg/dir.jl:31\r\n in update at /opt/homebrew-cask/Caskroom/julia/0.4.0/Julia-0.4.0.app/Contents/Resources/julia/lib/julia/sys.dylib\r\n\r\njulia> Pkg.rm(\"NCurses\")\r\nINFO: Removing NCurses (unregistered)\r\n\r\njulia> Pkg.update()\r\nINFO: Updating METADATA...\r\nINFO: Computing changes...\r\nINFO: Upgrading Compat: v0.7.5 => v0.7.6\r\nINFO: Upgrading StatsBase: v0.7.3 => v0.7.4\r\n```\r\n\r\nThe packages `Compat` and `StatsBase` were not updated until I removed the offending package. Is there something I don't know about that requires the update of all packages fail for one's error?"},"comment":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/comments/148572246","html_url":"https://github.com/JuliaLang/julia/issues/13584#issuecomment-148572246","issue_url":"https://api.github.com/repos/JuliaLang/julia/issues/13584","id":148572246,"user":{"login":"tkelman","id":5934628,"avatar_url":"https://avatars.githubusercontent.com/u/5934628?v=3","gravatar_id":"","url":"https://api.github.com/users/tkelman","html_url":"https://github.com/tkelman","followers_url":"https://api.github.com/users/tkelman/followers","following_url":"https://api.github.com/users/tkelman/following{/other_user}","gists_url":"https://api.github.com/users/tkelman/gists{/gist_id}","starred_url":"https://api.github.com/users/tkelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkelman/subscriptions","organizations_url":"https://api.github.com/users/tkelman/orgs","repos_url":"https://api.github.com/users/tkelman/repos","events_url":"https://api.github.com/users/tkelman/events{/privacy}","received_events_url":"https://api.github.com/users/tkelman/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T01:45:29Z","updated_at":"2015-10-16T01:45:29Z","body":"If dependency resolution fails, there's no way for update to do anything meaningful."}}