How to fix apt on an Apple TV 1 with OSMC installed

1. SSH into the Apple TV.

2. Use curl to download these two debs. You will have to pass the `--insecure flag`:

3. Use dpkg to install the two debs, installing libcurl3-gnutls first.

4. Open sources.list in nano and add make the following changes:

a. Add these lines to the end:
deb [trusted=yes] jessie main
deb-src [trusted=yes] jessie main

b. Remove these lines:
deb jessie main
deb-src jessie main
deb jessie/updates main contrib non-free

5. Run the command `apt-get update`. It will take a bit, but then apt will function again.