Symptoms
You are seeing similar entries in your update logs at /var/cpanel/updatelogs:
[2021-02-06 04:41:27 -0300] [/usr/local/cpanel/scripts/rpmup] Error in PREIN scriptlet in rpm package msodbcsql17-17.7.1.1-1.x86_64
[2021-02-06 04:41:27 -0300] [/usr/local/cpanel/scripts/rpmup] (XID 23md4k) “/usr/bin/yum” reported error code “1” when it ended:
[2021-02-06 04:41:27 -0300] E [/usr/local/cpanel/scripts/rpmup] The “/usr/local/cpanel/scripts/rpmup” command (process 34990) reported error number 1 when it ended.
Description
When executing the script manually, you will see that rpmup waits for the user to either accept or decline the licence.
# /usr/local/cpanel/scripts/rpmup
Resolving Dependencies
--> Running transaction check
---> Package msodbcsql17.x86_64 0:17.6.1.1-1 will be updated
---> Package msodbcsql17.x86_64 0:17.7.1.1-1 will be an update
--> Finished Dependency Resolution
Total download size: 905 k
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
The license terms for this product can be downloaded from
https://aka.ms/odbc17eula and found in
/usr/share/doc/msodbcsql17/LICENSE.txt . By entering 'YES',
you indicate that you accept the license terms.
Do you accept the license terms? (Enter YES or NO)
Workaround
Accept or decline the license terms. The next cPanel update should finish seamlessly.