[GH-ISSUE #1754] SQL LXC Script Requires Accept_EULA #387

Closed
opened 2026-02-26 12:45:19 +03:00 by kerem · 0 comments
Owner

Originally created by @Stevoni on GitHub (Jan 25, 2025).
Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/1754

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

SQL Server 2022 LXC

📂 What was the exact command used to execute the script?

bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/sqlserver2022.sh)"

📝 Provide a clear and concise description of the issue.

The MSSQL-Tools package requires accepting a EULA which the script currently doesn't handle. When installed manually, there's a prompt that opens for the user to accept.

I was able to successfully complete the script with this command line:

bash -c "export ACCEPT_EULA=Y; $(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/sqlserver2022.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Ubuntu 22.04

🔄 Steps to reproduce the issue.

  1. Execute the command bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/sqlserver2022.sh)"

  2. Select default with verbose

  3. Wait for mssql-tools18 to install and fail.

  4. Execute the command bash -c "export ACCEPT_EULA=Y; $(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/sqlserver2022.sh)"

  5. Select default with verbose

  6. Wait for installation to complete and prompt to configure MS SQL Server

Paste the full error output (if available).

-----END PGP PUBLIC KEY BLOCK-----
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 88 100 88 0 0 1079 0 --:--:-- --:--:-- --:--:-- 1086
Get:1 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease [3,632 B]mmy main
Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Hit:5 https://packages.microsoft.com/ubuntu/22.04/mssql-server-2022 jammy InRelease
Get:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main all Packages [1,243 B]
Get:7 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main arm64 Packages [43.2 kB]
Get:8 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages [178 kB]
Get:9 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main armhf Packages [16.9 kB]
Fetched 243 kB in 0s (639 kB/s)
Reading package lists... Done
⠴Preconfiguring packages ...
ERROR: The EULA was not accepted. Installation aborted.
mssql-tools18 failed to preconfigure, with exit status 1

Selecting previously unselected package libltdl7:amd64.

🖼️ Additional context (optional).

No response

Originally created by @Stevoni on GitHub (Jan 25, 2025). Original GitHub issue: https://github.com/community-scripts/ProxmoxVE/issues/1754 ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? SQL Server 2022 LXC ### 📂 What was the exact command used to execute the script? bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/sqlserver2022.sh)" ### 📝 Provide a clear and concise description of the issue. The MSSQL-Tools package requires accepting a EULA which the script currently doesn't handle. When installed manually, there's a prompt that opens for the user to accept. I was able to successfully complete the script with this command line: >bash -c "export ACCEPT_EULA=Y; $(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/sqlserver2022.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [ ] Advanced Settings ### 🖥️ Which Linux distribution are you using? Ubuntu 22.04 ### 🔄 Steps to reproduce the issue. 1. Execute the command `bash -c "$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/sqlserver2022.sh)"` 2. Select default with verbose 3. Wait for mssql-tools18 to install and fail. 1. Execute the command `bash -c "export ACCEPT_EULA=Y; $(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/sqlserver2022.sh)"` 2. Select default with verbose 3. Wait for installation to complete and prompt to configure MS SQL Server ### ❌ Paste the full error output (if available). -----END PGP PUBLIC KEY BLOCK----- % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 88 100 88 0 0 1079 0 --:--:-- --:--:-- --:--:-- 1086 Get:1 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease [3,632 B]mmy main Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease Hit:5 https://packages.microsoft.com/ubuntu/22.04/mssql-server-2022 jammy InRelease Get:6 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main all Packages [1,243 B] Get:7 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main arm64 Packages [43.2 kB] Get:8 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages [178 kB] Get:9 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main armhf Packages [16.9 kB] Fetched 243 kB in 0s (639 kB/s) Reading package lists... Done ⠴Preconfiguring packages ... **ERROR: The EULA was not accepted. Installation aborted. mssql-tools18 failed to preconfigure, with exit status 1** Selecting previously unselected package libltdl7:amd64. ### 🖼️ Additional context (optional). _No response_
kerem closed this issue 2026-02-26 12:45:19 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ProxmoxVE#387
No description provided.