mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 14:23:08 +00:00
fix: enable universe repository for fail2ban and python3-dotenv
on minimal ubuntu installations (especially cloud vps), the universe repository may be disabled by default, causing apt to fail installing packages like fail2ban and python3-dotenv which are only available in universe. this adds software-properties-common and enables universe before installing packages.
This commit is contained in:
@@ -22,8 +22,13 @@ export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# System Update
|
||||
log_subheader "System Update"
|
||||
log_info "Updating package list and upgrading the system..."
|
||||
apt update -y && apt upgrade -y
|
||||
log_info "Updating package list..."
|
||||
apt update -y
|
||||
log_info "Enabling universe repository..."
|
||||
apt install -y software-properties-common
|
||||
add-apt-repository universe -y
|
||||
log_info "Upgrading the system..."
|
||||
apt upgrade -y
|
||||
|
||||
# Installing Basic Utilities
|
||||
log_subheader "Installing Utilities"
|
||||
|
||||
Reference in New Issue
Block a user