0

Following this tutorial, I'm stuck a this line:

$ apt-get source lighttpd Unknown command "source" aptitude 0.6.8.2 

Why does my apt-get/aptitude does not support this command?

I don't know if this has something to do with this, but my sources.list did not contain any deb-src lines. After adding this, apt-get build-dep lighttpd did run run without any errors.

1 Answer 1

5

An error message from apt-get wouldn't mention aptitude. Did you alias apt-get to aptitude and forget about it? It may be time to

unalias apt-get 
1
  • If you want to do this temporarily without removing the alias, you can also just use \apt-get instead of apt-get. Commented Sep 22, 2014 at 19:46

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.