I recently installed Ubuntu and I am new to it. Now I wanted to program with Visual Code but the problem is I can't download it. I tried sudo apt install ./<file>.deb
(with my file path of course) but I only get this Error:
The following packages have unmet dependencies:
code:amd64 : Depends: libnss3:amd64 (>= 2:3.26) but it is not installable
Depends: apt:amd64 but it is not installable
Depends: libxkbfile1:amd64 but it is not installable
Depends: libsecret-1-0:amd64 but it is not installable
Depends: libgtk-3-0:amd64 (>= 3.10.0) but it is not installable
Depends: libxss1:amd64 but it is not installable
Depends: libgbm1:amd64 but it is not installable
E: Unable to correct problems, you have held broken packages.
I also had a lot of problems with installing anything including changing the keyboards layout.
I'm on a M1 MacBook and using Parallels Desktop.
Output of sudo apt update:
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Hit:5 https://packages.microsoft.com/repos/vscode stable InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Output of sudo apt -f install:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
No output for dpkg --get-selections | grep hold
I appreciate any help.