Cannot install ffmpeg 'no public key available'

Hi,

I had HA working on Ubuntu 16.04 and have fresh installed Ubuntu 17.10 and cannot seem to install ffmpeg. I’m seeing the following error which I’ve never seen before, after adding jessie-backports to the sources.list and running sudo apt-get update. I’ve tried some troubleshooting steps from searching some of the error messages but nothing works.

matt@ubuntu17:~$ sudo apt-get update
Hit:2 Index of /ubuntu artful InRelease
Get:1 Index of /debian jessie-backports InRelease [166 kB]
Hit:3 Index of /ubuntu artful-security InRelease
Err:1 Index of /debian jessie-backports InRelease
The following signatures couldn’t be verified because the public key is not av ailable: NO_PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
Reading package lists… Done
W: GPG error: Index of /debian jessie-backports InRelease: The follo wing signatures couldn’t be verified because the public key is not available: NO _PUBKEY 8B48AD6246925553 NO_PUBKEY 7638D0442B90D010
E: The repository ‘Index of /debian jessie-backports InRelease’ is n ot signed.
N: Updating from such a repository can’t be done securely, and is therefore disa bled by default.
N: See apt-secure(8) manpage for repository creation and user configuration deta ils.

Can anyone suggest how I might resolve this please?

Many thanks,

Matt

Is there a reason you have Debian repos in there? What exactly did you add to the system?

I followed instructions from here https://www.home-assistant.io/components/ffmpeg/

I’m guessing from your comments that that wasn’t the correct thing to do!?!

Since you’re running Ubuntu, you shouldn’t make changes intended solely for Debian.

Edit your sources.list to remove those entries and then sudo apt update to fix.

Then you simply run sudo apt install ffmpeg

awesome. Thank you (from someone who sometimes needs the basics explaining)!