{"action":"reopened","issue":{"url":"https://api.github.com/repos/gmkurtzer/singularity/issues/241","repository_url":"https://api.github.com/repos/gmkurtzer/singularity","labels_url":"https://api.github.com/repos/gmkurtzer/singularity/issues/241/labels{/name}","comments_url":"https://api.github.com/repos/gmkurtzer/singularity/issues/241/comments","events_url":"https://api.github.com/repos/gmkurtzer/singularity/issues/241/events","html_url":"https://github.com/gmkurtzer/singularity/issues/241","id":180534700,"number":241,"title":"singularity (git version) bootstrapping CentOS-7 container from debian jessie or ubuntu trusty","user":{"login":"truatpasteurdotfr","id":8300215,"avatar_url":"https://avatars.githubusercontent.com/u/8300215?v=3","gravatar_id":"","url":"https://api.github.com/users/truatpasteurdotfr","html_url":"https://github.com/truatpasteurdotfr","followers_url":"https://api.github.com/users/truatpasteurdotfr/followers","following_url":"https://api.github.com/users/truatpasteurdotfr/following{/other_user}","gists_url":"https://api.github.com/users/truatpasteurdotfr/gists{/gist_id}","starred_url":"https://api.github.com/users/truatpasteurdotfr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/truatpasteurdotfr/subscriptions","organizations_url":"https://api.github.com/users/truatpasteurdotfr/orgs","repos_url":"https://api.github.com/users/truatpasteurdotfr/repos","events_url":"https://api.github.com/users/truatpasteurdotfr/events{/privacy}","received_events_url":"https://api.github.com/users/truatpasteurdotfr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-02T20:53:41Z","updated_at":"2016-10-04T08:52:58Z","closed_at":null,"body":"reported on #singularity irc channel and reproduced locally.\r\n\r\n```\r\nsudo singularity create a.img\r\nsudo singularity bootstrap a.img ~/git/singularity/examples/centos.def\r\nsingularity exec a.img rpm -q centos-release\r\n```\r\n\r\nbootstrap fails during %post when yum install vim-minimal with:\r\n```\r\n+ yum -y install vim-minimal\r\nLoaded plugins: fastestmirror\r\n\r\n\r\n One of the configured repositories failed (Unknown),\r\n and yum doesn't have enough cached data to continue. At this point the only\r\n safe thing yum can do is fail. There are a few ways to work \"fix\" this:\r\n\r\n     1. Contact the upstream for the repository and get them to fix the problem.\r\n\r\n     2. Reconfigure the baseurl/etc. for the repository, to point to a working\r\n        upstream. This is most often useful if you are using a newer\r\n        distribution release than is supported by the repository (and the\r\n        packages for the previous distribution release still work).\r\n\r\n     3. Disable the repository, so yum won't use it by default. Yum will then\r\n        just ignore the repository until you permanently enable it again or use\r\n        --enablerepo for temporary usage:\r\n\r\n            yum-config-manager --disable <repoid>\r\n\r\n     4. Configure the failing repository to be skipped, if it is unavailable.\r\n        Note that yum will try to contact the repo. when it runs most commands,\r\n        so will have to try and fail each time (and thus. yum will be be much\r\n        slower). If it is a very temporary problem though, this is often a nice\r\n        compromise:\r\n\r\n            yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true\r\n\r\nCannot find a valid baseurl for repo: base/$releasever/x86_64\r\nCould not retrieve mirrorlist http://mirrorlist.centos.org/?release=$releasever&arch=x86_64&repo=os&infra=stock error was\r\n14: curl#56 - \"Recv failure: Connection reset by peer\"\r\nERROR: Aborting with RETVAL=255\r\npackage centos-release is not installed\r\n```\r\n\r\nimho /var/lib/rpm is not populated correctly, shell inside the container hosted on jessie/trusty verify that content of /var/lib/rpm is smaller than what I get from a centos-7 hosted host.\r\n"}}
{"actor":{"display_login":"truatpasteurdotfr"}}