I guess, there are 2 things:
- I guess you're trying to run the command as the normal user, but only the
root user can create a file there. So you should run the command with a
sudo su beforehand to gain root privileges.
- You're putting it in
/etc/apt/sources.d/lava.list, but it should be
/etc/apt/sources.list.d/lava.list as apt usually checks the
sources.list.d directory. But I'm not 100% sure whether that changed for Linaro Lava.
and if there's the directory
sources.list.d then run:
deb http://people.linaro.org/~neil.williams/ubuntu/ trusty main' > /etc/apt/sources.list.d/lava.list
but if there's the
sources.d directory, then run:
deb http://people.linaro.org/~neil.williams/ubuntu/ trusty main' > /etc/apt/sources.d/lava.list