I was trying to install omxplayer, and I was getting errors. I tried sudo apt-get update
then sudo apt-get upgrade
, but I get this error:
pi@raspberrypi:~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
#libfakekey0 : Depends: libxtst6 but it is not installable
matchbox-keyboard : Depends: libxft2 (> 2.1.1) but it is not installable
Depends: libxrender1 but it is not installable
Recommends: matchbox-keyboard-im but it is not installable
xinput-calibrator : Depends: libxi6 (>= 2:1.2.0) but it is not installable
xserver-xorg-input-evdev : Depends: libevdev2 (>= 1.2.2+dfsg-1~) but it is not installable
Depends: libmtdev1 (>= 1.1.0) but it is not installable
Depends: xorg-input-abi-24 but it is not installable
Depends: xserver-xorg-core (>= 2:1.18.99.901) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
When I try apt-fix-broken install
, I get this error:
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
I'm not sure where to go from here. Thanks in advance for any tips!