apt-get update not working

5,549

Your Plex repository entry is outdated. Download the new package from the Plex site and install it.

If you can't do that for some reason, update it manually. I checked the Ubuntu package for Plex (current version: 0.9.9.14.531-7eef8c6). They may have used http://plexapps.com as their repository in the past, but at some point they swicthed to a different mirror. The contents of the sources.list.d list file in the package is:

deb http://plex.r.worldssl.net/PlexMediaServer/ubuntu-repo lucid main

Presumably both repositories were active for some time, but now the first one isn't. You should disable the first and enable the new one:

sudo mv $(grep -l 'www.plexapp.com' /etc/apt/sources.list.d/*.list){,.bak}
sudo tee /etc/apt/sources.list.d/plexmediaserver.list <<EOF
deb http://plex.r.worldssl.net/PlexMediaServer/ubuntu-repo lucid main
EOF

This should fix your problem with Plex.

NOTE: It seems they use lucid for all Ubuntu packages. So do not take that as an indication that the packages are meant only for Ubuntu 10.04.

Share:
5,549

Related videos on Youtube

Draguve
Author by

Draguve

Updated on September 18, 2022

Comments

  • Draguve
    Draguve almost 2 years

    guys please help me unable to apt-get update

    the output is

    20% [9 InRelease gpgv 23.4 kB] [7 Sources 76.5 kB/1,064 kB 7%] [Waiting for heaSplitting up /var/lib/apt/lists/partial/www.plexapp.com_repo_dists_lucid_InReleasIgn hp://ww.plexapp.com lucid InRelease                                     
    E: GPG error: http://www.plexapp.com lucid InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
    draguve@Patil-Server:~$ 
    

    Full Output : https://justpaste.it/hajh