Pages

Monday, April 18, 2011

apt-get Misc Tricks

Config Proxy:

vi /etc/apt/apt.conf


isi dg :

Acquire::http::proxy "http://10.2.164.161:8080/";
Acquire::ftp::proxy "ftp://10.2.164.161:8080/";
Acquire::https::proxy "https://10.2.164.161:8080/";


Auto-install dependencies:

after running apt-get that needs deps..

apt-get -f install

No comments:

Post a Comment