Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am having problem with heroku cloud platform. I am having problem with /etc/apt/sources.list.d

In this directory the heroku file have been saved. I installed it via terminal using sudo apt-get install heroku.

share|improve this question
What is the problem you facing? Give some details. What you did etc. Please post your question with sufficient details. Otherwise no one can answer regardless of how many time you ask. Dup:… – Web-E May 11 '12 at 7:13

If you have installed it via apt-get, it should be removed by

sudo apt-get --purge remove heroku

Post if any error comes or if its still not removed.

share|improve this answer
i am getting an error "unable to locate package heroku"...what should i do?? – Rajat May 19 '12 at 17:53
that means the package has been removed already.What are the problems you are faceing? There is one file inside that direcotory,does that bother you? It is harmless to have a list file inside the directory you mentioned. However run gksu gedit /etc/apt/sources.list and delete the line with heraku source. then run sudo apt-get update – Web-E May 20 '12 at 2:17
E: malformed line 1 in source list/etc/apt/sources.list.d/heroku.list this line is poping in terminal... – Rajat May 20 '12 at 9:25
E:Malformed line 1 in source list /etc/apt/sources.list.d/heroku.list (dist) this is the main and serious error for my system...please help.. due to this problem i am uable to load the new packages....please help.. – Rajat May 21 '12 at 18:52
i have done with that problem but not by your way because as per your command i was getting same error. i tried another one command run sudo rm etc/apt/sources.list.d/heroku.list – Rajat May 26 '12 at 18:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.