{"action":"created","issue":{"url":"https://api.github.com/repos/mikix/deb2snap/issues/4","labels_url":"https://api.github.com/repos/mikix/deb2snap/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mikix/deb2snap/issues/4/comments","events_url":"https://api.github.com/repos/mikix/deb2snap/issues/4/events","html_url":"https://github.com/mikix/deb2snap/pull/4","id":88140949,"number":4,"title":"Fix \"Package libc6:amd64 not installed\"","user":{"login":"nobuto-m","id":4356209,"avatar_url":"https://avatars.githubusercontent.com/u/4356209?v=3","gravatar_id":"","url":"https://api.github.com/users/nobuto-m","html_url":"https://github.com/nobuto-m","followers_url":"https://api.github.com/users/nobuto-m/followers","following_url":"https://api.github.com/users/nobuto-m/following{/other_user}","gists_url":"https://api.github.com/users/nobuto-m/gists{/gist_id}","starred_url":"https://api.github.com/users/nobuto-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobuto-m/subscriptions","organizations_url":"https://api.github.com/users/nobuto-m/orgs","repos_url":"https://api.github.com/users/nobuto-m/repos","events_url":"https://api.github.com/users/nobuto-m/events{/privacy}","received_events_url":"https://api.github.com/users/nobuto-m/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-14T07:39:23Z","updated_at":"2015-06-19T12:08:51Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mikix/deb2snap/pulls/4","html_url":"https://github.com/mikix/deb2snap/pull/4","diff_url":"https://github.com/mikix/deb2snap/pull/4.diff","patch_url":"https://github.com/mikix/deb2snap/pull/4.patch"},"body":"Drop \":ARCH\" before passing it to ./tools/dep-tree\r\n\r\n```\r\n$ bash -x ./deb2snap -d 15.04 hello\r\n...\r\n++ dpkg -S /lib/x86_64-linux-gnu/libc.so.6\r\n++ sed 's/: .*//'\r\n+ PACKAGES=' hello libc6:amd64'\r\n...\r\n++ ./tools/dep-tree --manifest /home/ubuntu/.cache/snappy-preload/manifests/ubuntu-core-15.04-core-amd64.manifest hello libc6:amd64\r\nPackage libc6:amd64 not installed\r\n```"},"comment":{"url":"https://api.github.com/repos/mikix/deb2snap/issues/comments/113492583","html_url":"https://github.com/mikix/deb2snap/pull/4#issuecomment-113492583","issue_url":"https://api.github.com/repos/mikix/deb2snap/issues/4","id":113492583,"user":{"login":"nobuto-m","id":4356209,"avatar_url":"https://avatars.githubusercontent.com/u/4356209?v=3","gravatar_id":"","url":"https://api.github.com/users/nobuto-m","html_url":"https://github.com/nobuto-m","followers_url":"https://api.github.com/users/nobuto-m/followers","following_url":"https://api.github.com/users/nobuto-m/following{/other_user}","gists_url":"https://api.github.com/users/nobuto-m/gists{/gist_id}","starred_url":"https://api.github.com/users/nobuto-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nobuto-m/subscriptions","organizations_url":"https://api.github.com/users/nobuto-m/orgs","repos_url":"https://api.github.com/users/nobuto-m/repos","events_url":"https://api.github.com/users/nobuto-m/events{/privacy}","received_events_url":"https://api.github.com/users/nobuto-m/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T12:08:51Z","updated_at":"2015-06-19T12:08:51Z","body":"Hi, here is how I reproduced the issue. My host is wily amd64.\r\n\r\ncreate vivid LXC container:\r\n```\r\n$ sudo lxc-create -t ubuntu-cloud -n vivid-lxc -- --release vivid -S ~/.ssh/id_rsa.pub\r\n```\r\n\r\nprepare deb2snap\r\n```\r\n$ sudo apt-add-repository ppa:snappy-dev/tools\r\n$ sudo apt update\r\n\r\n$ sudo apt install cmake gcc-multilib ubuntu-snappy-cli git dpkg-dev\r\n\r\n$ git clone https://github.com/mikix/deb2snap\r\n$ cd deb2snap\r\n```\r\nrun deb2snap\r\n```\r\n$ sudo apt install hello\r\n$ ./deb2snap -d 15.04 hello\r\nPackage libc6:amd64 not installed\r\n```\r\n\r\nlibc6:amd64 is certainly installed.\r\n```\r\n$ apt-cache policy libc6:amd64\r\nlibc6:\r\n  Installed: 2.21-0ubuntu4\r\n  Candidate: 2.21-0ubuntu4\r\n  Version table:\r\n *** 2.21-0ubuntu4 0\r\n        500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages\r\n        100 /var/lib/dpkg/status\r\n```"}}