Use apt-get source on a debian repo without using /etc/apt/source.list
- by Erwan Queffélec
I'm trying to use apt-get source as a regular user on a debian squeeze system.
I want to retrieve the sources for cyrus-imapd-2.4 from the testing/wheezy repository.
apt-get source works without root privileges; however, it seems there is no way to get apt-get to fetch anything from a repository that is not in /etc/apt/sources.list.
Is there any command line option, alternate sources.list file, environment variable that will get apt to work with a custom repository ?
I do have root access so I could change the /etc/apt/sources.list, however I really do not want to do that for a number of reason.