I put a file into my sources.list.d dir and is not formated correctly. I get an error about malformed line in source list '/etc/apt/source.list.d/precise-R.list' (dit parse). I forgot to put the #deb ... line. I tried to remove but I am denied permission. How do I get rid of that file?
I am new to Ubuntu precise and trying to put a deb file into sources.list.d dir but do not know how. At terminal I used:
sudo cp /home/steve/Steve1/precise-R.list /etc/apt/sources.list.d/precise-R.list
And got the file in to the dir and now I cannot get out. Anytime I try other method to put this file into sources.list.d and save I am denied -- I do not have permission. How do I set the permission so I can make deb files correctly next time?