saltyorg / Saltbox

Ansible-based solution for rapidly deploying a Docker containerized cloud media server.
https://docs.saltbox.dev
GNU General Public License v3.0
571 stars 65 forks source link

new install errors out on minimal ubuntu distribution #173

Closed hereisderek closed 8 months ago

hereisderek commented 8 months ago

Describe the bug recently installed on a new minimal ubuntu os, when running with curl -sL https://install.saltbox.dev | sudo -H bash -s -- -v && cd /srv/git/saltbox getting

Reading package lists... Done
Hit:1 http://ap-singapore-1-ad-1.clouds.archive.ubuntu.com/ubuntu jammy InRelease                      
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease                                       
Hit:3 http://ap-singapore-1-ad-1.clouds.archive.ubuntu.com/ubuntu jammy-updates InRelease              
Hit:4 http://ap-singapore-1-ad-1.clouds.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:5 https://ppa.launchpadcontent.net/cappelikan/ppa/ubuntu jammy InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
jq is already the newest version (1.6-2.1ubuntu3).
libffi-dev is already the newest version (3.4.2-4).
nano is already the newest version (6.2-1).
python3-testresources is already the newest version (2.0.1-3).
python3-virtualenv is already the newest version (20.13.0+ds-2).
curl is already the newest version (7.81.0-1ubuntu1.14).
git is already the newest version (1:2.34.1-1ubuntu1.10).
gpg-agent is already the newest version (2.2.27-3ubuntu2.1).
libssl-dev is already the newest version (3.0.2-0ubuntu1.12).
python3-apt is already the newest version (2.4.0ubuntu2).
python3-dev is already the newest version (3.10.6-1~22.04).
python3-venv is already the newest version (3.10.6-1~22.04).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
/srv/git/sb/sb_dep.sh: line 113: locale-gen: command not found
Error: Failed to generate locale, attempting to continue...
Command failed with exit code 1: bash -H /srv/git/sb/sb_dep.sh -v
+ exit 1

should probably move this to https://github.com/saltyorg/sb instead.

would've sliently error out if i didn't add verbose flag

System Information

image is oracle compute instance

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy

Additional context

apt-get install -y locales

fixed it for me

saltydk commented 8 months ago

I've also improved the error output outside of fixing the error but this should not have been an issue on this repo.