How to get source with apt-get source in Ubuntu?

Posted by Jonas on Super User See other posts from Super User or by Jonas
Published on 2010-03-05T22:28:11Z Indexed on 2012/12/17 17:06 UTC
Read the original article Hit count: 216

Filed under:
|
|

I need to install pure-ftpd from source and need to do apt-get source pure-ftpd but I get this message: E: You must put some 'source' URIs in your sources.list

I found some documentation about this for Debian on http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html#s-sources.list but what URIs should I add to sources.list for Ubuntu and if I want the source for pur-ftpd?

EDIT: I found some URIs on Sources.List For Ubuntu Hardy Heron (8.04) So I added these lines to my /etc/apt/sources.list:

deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted universe
deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
universe

© Super User or respective owner

Related posts about ubuntu

Related posts about configuration