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.

dummy
  • 241
  • 2
  • 6

1 Answers1

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
  • If you want to do this temporarily without removing the alias, you can also just use `\apt-get` instead of `apt-get`. – Michael Mior Sep 22 '14 at 19:46