sudo apt-get problems (Only sudo apt-get update is accessible)
Solution 1:
The problem seems clearly stated in the output:
dpkg: error processing archive /var/cache/apt/archives/gir1.2-playerctl-2.0_2.0.2-1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/x86_64-linux-gnu/girepository-1.0/Playerctl-2.0.typelib', which is also in package gir1.2-playerctl-1.0:amd64 2.0.2-1ubuntu1~ppa2
Let's break that down a bit:
dpkg: error processing archive X (--unpack):
trying to overwrite Y, which is also in package Z
X = /var/cache/apt/archives/gir1.2-playerctl-2.0_2.0.2-1_amd64.deb
Y = '/usr/lib/x86_64-linux-gnu/girepository-1.0/Playerctl-2.0.typelib'
Z = gir1.2-playerctl-1.0:amd64 2.0.2-1ubuntu1~ppa2
Both X and Z are trying to provide file Y. In this case, Uninstall package Z to resolve the conflict.
sudo apt remove gir1.2-playerctl-1.0:amd64