{"action":"closed","issue":{"url":"https://api.github.com/repos/YunoHost/install_script/issues/22","labels_url":"https://api.github.com/repos/YunoHost/install_script/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/YunoHost/install_script/issues/22/comments","events_url":"https://api.github.com/repos/YunoHost/install_script/issues/22/events","html_url":"https://github.com/YunoHost/install_script/issues/22","id":58654619,"number":22,"title":"Installation fails when root doesn't have a password","user":{"login":"matthieucan","id":2828729,"avatar_url":"https://avatars.githubusercontent.com/u/2828729?v=3","gravatar_id":"","url":"https://api.github.com/users/matthieucan","html_url":"https://github.com/matthieucan","followers_url":"https://api.github.com/users/matthieucan/followers","following_url":"https://api.github.com/users/matthieucan/following{/other_user}","gists_url":"https://api.github.com/users/matthieucan/gists{/gist_id}","starred_url":"https://api.github.com/users/matthieucan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthieucan/subscriptions","organizations_url":"https://api.github.com/users/matthieucan/orgs","repos_url":"https://api.github.com/users/matthieucan/repos","events_url":"https://api.github.com/users/matthieucan/events{/privacy}","received_events_url":"https://api.github.com/users/matthieucan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-23T21:49:01Z","updated_at":"2015-10-27T10:43:42Z","closed_at":"2015-10-27T10:43:42Z","body":"Hi,\r\nOn a fresh Debian, created with DigitalOcean and with my public ssh key (so without having a password for root), the installation fails:\r\n```\r\nRemoving sudo ...\r\nYou have asked that the sudo package be removed,\r\nbut no root password has been set.\r\nWithout sudo, you may not be able to gain administrative privileges.\r\n\r\nIf you would prefer to access the root account with su(1)\r\nor by logging in directly,\r\nyou must set a root password with \"sudo passwd\".\r\n\r\nIf you have arranged other means to access the root account,\r\nand you are sure this is what you want,\r\nyou may bypass this check by setting an environment variable \r\n(export SUDO_FORCE_REMOVE=yes).\r\n\r\nRefusing to remove sudo.\r\ndpkg: error processing sudo (--remove):\r\n subprocess installed pre-removal script returned error exit status 1\r\nErrors were encountered while processing:\r\n sudo\r\nE: Sub-process /usr/bin/dpkg returned an error code (1)\r\n```\r\n\r\nEasy to manually solve, but I'll let you choose the way for the installation script.\r\n"}}