I'm trying to istall virtual box by following this tutorial https://www.***********************vlH0QxxwCQ0 but get errors when installing libsdl1.2debian.
Code:
peyton@JAMES-PC:~$ sudo apt-get  install libsdl1.2debian
N: Ignoring file 'vscode.listclear' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
This is what I put and thats what I get. After I run dpkg configure -a it says
Code:
peyton@JAMES-PC:~$ sudo dpkg --configure -a
Setting up shared-mime-info (1.15-1) ...
dpkg: dependency problems prevent configuration of virtualbox-6.1:
 virtualbox-6.1 depends on libsdl1.2debian (>= 1.2.11); however:
  Package libsdl1.2debian is not installed.
 virtualbox-6.1 depends on libvpx5 (>= 1.6.0); however:
  Package libvpx5 is not installed.

dpkg: error processing package virtualbox-6.1 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 virtualbox-6.1
I troubleshooted it for a while with other problems but then gave up after this. When I open in gdebi it says "Your system has broken dependencies, This application cannot continue until this is fixed. To fix this try running gksudo synpatic or sudo apt-get install -f " After trying gksudo terminal says that gksudo is not a valid command, after a use sudo apt-get install -f it says:
Code:
peyton@JAMES-PC:~$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  virtualbox-6.1
0 upgraded, 0 newly installed, 1 to remove and 1020 not upgraded.
1 not fully installed or removed.
After this operation, 213 MB disk space will be freed.
N: Ignoring file 'vscode.listclear' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension 
Do you want to continue? [Y/n]
I press y and
Code:
(Reading database ... 322431 files and directories currently installed.)
Removing virtualbox-6.1 (6.1.16-140961~Debian~buster) ...
y
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mime-support (3.64) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for kali-menu (2020.3.2) ...
After that gdebi says "ERROR: Dependency is not satisfyable: libvpx5(>=1.6.0) "
So now we start all over again