Unmet dependencies with Stretch update

When I try to update my OSMC (RPi 3) from the command line, I get the following error. It started around the time of the Stretch update (January?) I believe.

`Calculating upgrade… Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gnupg : Breaks: python-apt (<= 1.1.0~beta4) but 0.9.3.12 is to be installed
libsdl1.2-dev : Depends: libpulse-dev but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.`

Can anyone help out with what I need to do to get past this? I have installed non-core packages previously but I’m not sure which might be causing this issue (and why it’s only a problem now).

Thanks in advance.

These can sometimes be fixed by running sudo apt-get install -f

I assume you have not deliberately held back some packages.

1 Like

Thank you! I didn’t think I had any held packages but I checked again and I had one. Removed hold and install is now progressing. Much appreciated.