Skip to content

fix: add missing 'column' dependency and update installer for modern debian/ubuntu#3

Open
sliva-dev wants to merge 2 commits intovernette:masterfrom
sliva-dev:patch-1
Open

fix: add missing 'column' dependency and update installer for modern debian/ubuntu#3
sliva-dev wants to merge 2 commits intovernette:masterfrom
sliva-dev:patch-1

Conversation

@sliva-dev
Copy link

Problem
The script fails on minimal OS installations (e.g., bare Debian/Ubuntu or slim Docker images) with the following error:
column: command not found

This happens because the script relies on column -t for result formatting, but doesn't check for this dependency or include it in the automatic installer.

Changes

  • Added column to the DEPENDENCIES list and DEPENDENCY_COMMANDS mapping.
  • Updated install_with_package_manager to support modern package names:
    • Debian/Ubuntu: Added logic to install bsdextrautils.
    • Arch Linux/Fedora/CentOS: Added util-linux to provide the column utility.
  • Ensured the script handles dependency installation before attempting to print the final results table.

Testing performed

  • Verified on a minimal Ubuntu Server 24.04 installation where column was missing.
  • Confirmed that the script correctly prompts for and installs the required package.

…debian/ubuntu

Problem
The script fails on minimal OS installations (e.g., bare Debian/Ubuntu or slim Docker images) with the following error:
`column: command not found`

This happens because the script relies on `column -t` for result formatting, but doesn't check for this dependency or include it in the automatic installer.

Changes
- Added `column` to the `DEPENDENCIES` list and `DEPENDENCY_COMMANDS` mapping.
- Updated `install_with_package_manager` to support modern package names:
  - Debian/Ubuntu: Added logic to install `bsdextrautils`.
  - Arch Linux/Fedora/CentOS: Added `util-linux` to provide the `column` utility.
- Ensured the script handles dependency installation before attempting to print the final results table.

Testing performed
- Verified on a minimal Ubuntu Server 24.04 installation where `column` was missing.
- Confirmed that the script correctly prompts for and installs the required package.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant