{"action":"created","issue":{"url":"https://api.github.com/repos/drtyhlpr/rpi23-gen-image/issues/108","repository_url":"https://api.github.com/repos/drtyhlpr/rpi23-gen-image","labels_url":"https://api.github.com/repos/drtyhlpr/rpi23-gen-image/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/drtyhlpr/rpi23-gen-image/issues/108/comments","events_url":"https://api.github.com/repos/drtyhlpr/rpi23-gen-image/issues/108/events","html_url":"https://github.com/drtyhlpr/rpi23-gen-image/issues/108","id":278759073,"number":108,"title":"debootstrap fails on arm64 buster ","user":{"login":"imigueldiaz","id":588453,"avatar_url":"https://avatars2.githubusercontent.com/u/588453?v=4","gravatar_id":"","url":"https://api.github.com/users/imigueldiaz","html_url":"https://github.com/imigueldiaz","followers_url":"https://api.github.com/users/imigueldiaz/followers","following_url":"https://api.github.com/users/imigueldiaz/following{/other_user}","gists_url":"https://api.github.com/users/imigueldiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/imigueldiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imigueldiaz/subscriptions","organizations_url":"https://api.github.com/users/imigueldiaz/orgs","repos_url":"https://api.github.com/users/imigueldiaz/repos","events_url":"https://api.github.com/users/imigueldiaz/events{/privacy}","received_events_url":"https://api.github.com/users/imigueldiaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-12-03T09:39:23Z","updated_at":"2017-12-07T10:53:58Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nIt is not a failure on scripts, but I do know where else to ask, debootstrap second stage always fails with:\r\n\r\nW: Failure while unpacking required packages.  This will be attempted up to five times.\r\nW: See //debootstrap/debootstrap.log for details (possibly the package /var/cache/apt/archives/bash_4.4-5_arm64.deb is at fault)\r\n\r\ndebootstrap relevant info says:\r\n\r\npkg: warning: ignoring pre-dependency problem!\r\nPreparing to unpack .../archives/bash_4.4-5_arm64.deb ...\r\npreinst: ../sysdeps/unix/sysv/linux/spawni.c:366: __spawnix: Assertion `ec >= 0' failed.\r\nqemu: uncaught target signal 6 (Aborted) - core dumped\r\ndpkg: error processing archive /var/cache/apt/archives/bash_4.4-5_arm64.deb (--unpack):\r\n new bash package pre-installation script subprocess was killed by signal (Aborted)\r\n\r\n\r\nIt seems to be a problem on bash package on arm64 architecture, my template is like:\r\n\r\nRPI_MODEL=3\r\nRELEASE=buster\r\nBUILD_KERNEL=true\r\nRELEASE_ARCH=arm64\r\nKERNEL_ARCH=arm64\r\nHOSTNAME=hostname\r\nPASSWORD=XXXXX\r\nUSER_PASSWORD=yyyyy\r\nXKBMODEL=pc105\r\nXKBLAYOUT=es\r\nENABLE_DHCP=false\r\nNET_ADDRESS=X.X.X-X/ZZ\r\nNET_GATEWAY=Y.Y.Y.Y\r\nNET_DNS_1=8.8.8.8\r\nNET_DNS_2=8.8.4.4\r\nNET_DNS_3=Z.Z.Z.Z\r\nENABLE_NONFREE=true\r\nENABLE_WIRELESS=true\r\n\r\nCould you give any direction about possible workarounds or where to report the problem?\r\n\r\nBest Regards\r\nIgnacio"},"comment":{"url":"https://api.github.com/repos/drtyhlpr/rpi23-gen-image/issues/comments/349932885","html_url":"https://github.com/drtyhlpr/rpi23-gen-image/issues/108#issuecomment-349932885","issue_url":"https://api.github.com/repos/drtyhlpr/rpi23-gen-image/issues/108","id":349932885,"user":{"login":"imigueldiaz","id":588453,"avatar_url":"https://avatars2.githubusercontent.com/u/588453?v=4","gravatar_id":"","url":"https://api.github.com/users/imigueldiaz","html_url":"https://github.com/imigueldiaz","followers_url":"https://api.github.com/users/imigueldiaz/followers","following_url":"https://api.github.com/users/imigueldiaz/following{/other_user}","gists_url":"https://api.github.com/users/imigueldiaz/gists{/gist_id}","starred_url":"https://api.github.com/users/imigueldiaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imigueldiaz/subscriptions","organizations_url":"https://api.github.com/users/imigueldiaz/orgs","repos_url":"https://api.github.com/users/imigueldiaz/repos","events_url":"https://api.github.com/users/imigueldiaz/events{/privacy}","received_events_url":"https://api.github.com/users/imigueldiaz/received_events","type":"User","site_admin":false},"created_at":"2017-12-07T10:53:58Z","updated_at":"2017-12-07T10:53:58Z","author_association":"NONE","body":"Hi!\r\n\r\nThanks both for your fast and accurate answers! Finally I have managed to succesfully create an Stretch arm64 image, and I'm playing with It :) \r\n\r\nBased on @g-vidal  answer I saw that non-english users must include on APT_INCLUDES_LATE packages as console-data, locales, keyboard-configuration because without them the keyboard remains in US or GB and it is a bit traumatic for Spanish users at first :P.\r\n\r\nI solved it by installing them manually after first login with apt install and dpkg-reconfigure with no problem at all (my image was already generated). \r\n\r\nWhen I have more time, I'll try to experiment with buster image on a spare SD card and I'll inform you about results ;)\r\n\r\nBest regards,\r\nIgnacio"}}
{"actor":{"display_login":"imigueldiaz"}}