Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would like to get the sources for sudo and I found out that I am suppose to use sudo apt-get source sudo, but then it says it does not find any sources (even though i have told the Software Manager that it can download sources from the Internet) or that my /etc/apt/sources.list is empty.

Now, to add a new source repository I need the APT line format. But I only have a link for the package (there is this page containing many links http://www.sudo.ws/sudo/download.html#source). How do I make an APT line out of a link? I know the APT format, but how do I find out what to put in front and after the link?

How do I actually grab the sources for sudo (the linux way; not directly from their website)?

share|improve this question
Could you edit your question to include the contents of /etc/apt/sources.list, and any files under /etc/apt/sources.list.d/? –  Jeremy Kerr Jan 27 '13 at 5:11

Your Answer


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

Browse other questions tagged or ask your own question.