0

I'm getting errors like

Err http://ppa.launchpad.net YOUR_UBUNTU_VERSION_HERE/main Sources             
  404  Not Found

Is it actually supposed to say YOUR_UBUNTU_VERSION_HERE, or is there some kind of an error that keeps it from writing my Ubuntu version?

2
  • 4
    Looks like you made a mistake while manually adding a PPA entry. Look at the technical details section of any PPA (like launchpad.net/~nilarimogard/+archive/ubuntu/webupd8). Notice something familiar? YOUR_UBUNTU_VERSION_HERE should be the output of lsb_release -sc. Edit your question to add the output of grep YOUR /etc/apt/sources.list* -R.
    – muru
    Apr 24, 2016 at 20:27
  • 3
    Please provide the contents of your sources files listing the PPAs which show these errors.
    – user364819
    Apr 24, 2016 at 20:28

1 Answer 1

1

A correct line in /etc/apt/sources.list looks like this:

deb http://ppa.launchpad.net xenial/ main

or

deb https://cran.r-project.org/bin/linux/ubuntu xenial/

Note the / directly after the version ("xenial"), and the space after the /.

1
  • You don't need the / after the version in normal repositories (include PPAs) like in the first example. That's for flat repositories like the second example.
    – muru
    Apr 24, 2016 at 20:52

Not the answer you're looking for? Browse other questions tagged .