apt-get: 대체 소스를 사용합니다.list

apt-get: 대체 소스를 사용합니다.list

내 안에는 /etc/apt/sources.list다음이 있습니다:

deb http://http.debian.net/debian wheezy main
deb-src http://http.debian.net/debian wheezy main

jessie이제 (테스트) 에서 패키지 소스를 가져와야 합니다 . sources.list전화할 때 어떻게 다르게 지정할 수 있나요 apt-get source?

apt-get source package-name

추신:수정하고 싶지 않거나 시스템 전체 소스 목록을 수정할 수 없는 사용자로 /etc/apt/sources.list실행하고 싶습니다 .apt-get

답변1

구성 설정 을 지정하면 이 작업을 수행할 수 있습니다 Dir::Etc::sourcelist.

apt -o "Dir::Etc::sourcelist=/path/to/your/sources.list" source package-name

관련 정보