• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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