Official addons not appearing and also cannot add official repo

Installed hass.io using the install script on to ubuntu 18.04 on a intel nuc

  • raw.githubusercontent. com/home-assistant/hassio-build/master/install/hassio_install | bash -s

I want to install the samba addon but could not find it after going into addon section. Tried adding the repo got the following error in the logs

18-07-01 10:22:38 INFO (MainThread) [hassio.addons.git] Pull addon github. com/home-assistant/hassio-addons/ repository
18-07-01 10:22:40 ERROR (MainThread) [hassio.addons.git] Can’t pull github. com/home-assistant/hassio-addons repo: Cmd(‘git’) failed due to: exit code(1)
cmdline: git pull -v origin.
18-07-01 10:22:40 WARNING (MainThread) [hassio.addons.data] Can’t read repository information from /data/addons/git/d631efa0/repository.json

Is there an alternative way to install the samba addon

Ok guys I was able to fix this issue .

After adding the git repo . I attached to the supervisor docker container and created the following file in
/data/addons/git//repository.json eg /data/addons/git/d631efa0/repository.json

{
“name”: “Official addons repository”,
“url”: “https ://github .com/home-assistant/hassio-addons”,
“maintainer”: “home-assistant.io [email protected]
}

And now the official addons appear.