1. problem description
When I tried to install the RPM package of vscode in Ubuntu, the following error occurred:
[root@localhost src]# rpm -ivh code-insider-1.66.0-1647322605.el7.x86_64.rpm
error: Failed dependencies:
code-insider conflicts with (installed) code-insider-1.66.0-1647322605.el7.x86_64
2. solution
Add two parameters –nodeps
--force
or –force
--nodeps
after the installation package, and ignore the error message for installation. For example:
– force means mandatory installation
– nodeps means that dependencies are not checked during installation
Enter the following code:
rpm -ivh –nodeps --force code-insider-1.66.0-1647322605.el7.x86_64.rpm
Problem-solving.