我正在尝试从源代码构建dwm
。
抓取源码不起作用:
(28) $ apt-get source dwm
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: You must put some 'source' URIs in your sources.list
这是我的sources.list
文件:
## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
deb-src http://packages.crunchbang.org/waldorf waldorf main
## DEBIAN
deb http://ftp.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.debian.org/debian/ wheezy main contrib non-free
## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main
我应该输入什么 URLsources.list
才能开始apt-get source dwm
工作?
答案1
apt-get update
更改后不要忘记运行sources.list
。