Monday, August 19, 2013

Update Plex repository in Ubuntu Server

Receiving this error on Ubuntu Server when you run the update?

Failed to fetch 404 Not Found
Fix it below:

Edit the sources.list file:

sudo nano /etc/apt/sources.list

At the bottom add:

deb lucid main

Add the repository key:

sudo apt-key add

Run the update:

sudo apt-get update

You might receive a duplicate error.  To fix this edit the sources.list.d file.  First list to see the duplicate:

ls /etc/apt/sources.list.d

You should see plex and plexmediaserver.  Delete the plex file.

sudo rm -i /etc/apt/sources.list.d/plex.list

I didn't remove the file but it probably isn't necessary anymore.  You can also go back to the sources.list file and comment out the deb line you added above.  I believe it is only necessary if you are going to install Plex.

Hope this helped.

No comments:

Post a Comment