Use apt-get source on a debian repo without using /etc/apt/source.list
Posted
by
Erwan Queffélec
on Server Fault
See other posts from Server Fault
or by Erwan Queffélec
Published on 2012-11-10T23:25:46Z
Indexed on
2012/11/11
11:07 UTC
Read the original article
Hit count: 447
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.
© Server Fault or respective owner