• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Question Is it possible to modify apt to accept the msodbcsql package MS EULA in pum?

da9h0st

New Pleskian
Server operating system version
ubuntu22.04
Plesk version and microupdate number
Plesk Obsidian 18.0.69 Update #4
Hello everyone, I have a litte problem on Plesk Obsidia 18.x with the Plesk Update Manager (pum). The Ubuntu package msodbcsql, which we need, requires acceptance of the EULA with every update. Because of this, the automatic PUM update service repeatedly throws an error. On the shell, it’s no problem to resolve this by running "ACCEPT_EULA=y apt install/upgrade/... msodbcsql...". My question is: is there a way in Plesk to permanently accept the EULA for this package or is there some other way to fix this problem?
 
I haven't tried this myself but found something that says to create a file in /etc/apt/apt.conf.d like /etc/apt/apt.conf.d/90forceyes with the following:

Bash:
APT::Get::Assume-Yes "true";
APT::Get::force-yes "true";

This will remove any kind of security checks though.

Source: https://superuser.com/a/164580
 
Back
Top