{"action":"opened","issue":{"url":"https://api.github.com/repos/freebsd/pkg/issues/1339","labels_url":"https://api.github.com/repos/freebsd/pkg/issues/1339/labels{/name}","comments_url":"https://api.github.com/repos/freebsd/pkg/issues/1339/comments","events_url":"https://api.github.com/repos/freebsd/pkg/issues/1339/events","html_url":"https://github.com/freebsd/pkg/issues/1339","id":114288035,"number":1339,"title":"pkg install / upgrade unable to reinstall existing packages","user":{"login":"stevenh","id":104239,"avatar_url":"https://avatars.githubusercontent.com/u/104239?v=3","gravatar_id":"","url":"https://api.github.com/users/stevenh","html_url":"https://github.com/stevenh","followers_url":"https://api.github.com/users/stevenh/followers","following_url":"https://api.github.com/users/stevenh/following{/other_user}","gists_url":"https://api.github.com/users/stevenh/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenh/subscriptions","organizations_url":"https://api.github.com/users/stevenh/orgs","repos_url":"https://api.github.com/users/stevenh/repos","events_url":"https://api.github.com/users/stevenh/events{/privacy}","received_events_url":"https://api.github.com/users/stevenh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-30T15:08:05Z","updated_at":"2015-10-30T15:08:05Z","closed_at":null,"body":"With pkg 1.6.1 I'm unable to re-install all existing packages on the machine due to SAT solver issues.\r\n\r\nI've tried the following two options:\r\n```shell\r\npkg upgrade -f\r\npkg install -f `pkg info -E '*' | awk -F'-' '{for (i=1;i<NF-1;i++) { printf $i FS } print $i NL }'`\r\n```\r\nIf I choose Y to remove the conflicting package I get a segv or bus error if I choose N to not remove I get what seems like an infinite loop.\r\n\r\n```shell\r\npkg install -f `pkg info -E '*' | awk -F'-' '{for (i=1;i<NF-1;i++) { printf $i FS } print $i NL }'`\r\nUpdating multiplay repository catalogue...\r\nmultiplay repository is up-to-date.\r\nAll repositories are up-to-date.\r\nChecking integrity... done (2 conflicting)\r\nNew version of pkg detected; it needs to be installed first.\r\npkg: Cannot solve problem using SAT solver:\r\nconflict rule: The following packages conflict with each other: jpeg-turbo-1.4.2(r), jpeg-8_6(r)\r\nrequire rule: package tiff(r) depends on a requirement provided by: jpeg(l)jpeg(r)jpeg(l)jpeg(r)jpeg-turbo(r)\r\nrequire rule: package tiff(l) depends on a requirement provided by: jpeg(l)jpeg(r)jpeg(l)jpeg(r)jpeg-turbo(r)\r\nrequire rule: package php55-gd(r) depends on a requirement provided by: jpeg(l)jpeg(r)jpeg(l)jpeg(r)jpeg-turbo(r)\r\nrequire rule: package php55-gd(l) depends on a requirement provided by: jpeg(l)jpeg(r)jpeg(l)jpeg(r)jpeg-turbo(r)\r\nrequire rule: package libgd(r) depends on a requirement provided by: jpeg(l)jpeg(r)jpeg(l)jpeg(r)jpeg-turbo(r)\r\nrequire rule: package libgd(l) depends on a requirement provided by: jpeg(l)jpeg(r)jpeg(l)jpeg(r)jpeg-turbo(r)\r\nconflict rule: The following packages conflict with each other: jpeg-8_6(r), jpeg-turbo-1.4.2(r)\r\nupgrade rule: upgrade local jpeg-8_6 to remote jpeg-8_6\r\ncannot install package jpeg, remove it from request? [Y/n]: Y\r\nrequire rule: package nginx(r) depends on a requirement provided by: libgd(l)libgd(r)libgd(l)libgd(r)\r\nrequire rule: package nginx(l) depends on a requirement provided by: libgd(l)libgd(r)libgd(l)libgd(r)\r\nrequire rule: package libgd(r) depends on a requirement provided by: jpeg(l)jpeg(r)jpeg(l)jpeg(r)jpeg-turbo(r)\r\nrequire rule: package libgd(r) depends on a requirement provided by: freetype2(l)freetype2(r)freetype2(l)freetype2(r)\r\nrequire rule: package libgd(r) depends on a requirement provided by: png(l)png(r)png(l)png(r)\r\nrequire rule: package libgd(r) depends on a requirement provided by: fontconfig(l)fontconfig(r)fontconfig(l)fontconfig(r)\r\nrequire rule: package libgd(r) depends on a requirement provided by: tiff(l)tiff(r)tiff(l)tiff(r)\r\nupgrade rule: upgrade local libgd-2.1.0_6,1 to remote libgd-2.1.0_6,1\r\ncannot install package libgd, remove it from request? [Y/n]: Y\r\npkg: Cannot solve problem using SAT solver:\r\ncannot remove package (null), remove it from request? [Y/n]: Y\r\nChild process pid=29736 terminated abnormally: Bus error\r\n```\r\n"}}