Hi @Perumal B S
Remove the old repository. Use the following commands based on the type of previously configured repository.
sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list)"
Configure the new repository to use for SQL Server installations and upgrades.
After you have configured the correct repository, you can proceed to install or update SQL Server and any related packages from the new repository.
Referring from this doc: Configure repositories for installing and upgrading SQL Server on Linux
Best regards,
Cosmog Hong
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.