[sisyphus] подскажите как настроить, чтобы apt ходил через прокси?
ioka0002
=?iso-8859-1?q?ioka0002_=CE=C1_yandex=2Eru?=
Чт Фев 26 21:13:41 MSK 2004
я делал по аналогии с /usr/share/doc/apt-0.5.15cnc5/examples/apt.conf так:
cat /etc/apt/apt.conf
Acquire::CDROM::Copy "true";
Acquire::CDROM::mount "/mnt/cdrom";
Acquire
{
Queue-Mode "host"; // host|access
Retries "0";
Source-Symlinks "true";
ftp
{
Proxy "ftp://192.168.140.1:3128/";
Proxy::ftp.altlinux.com "DIRECT"; // Specific per-host setting
};
};
RPM
{
Allow-Duplicated {
// Old-style kernels.
"^(NVIDIA_)?(kernel|alsa)[0-9]*(-adv|-linus)?($|-up|-smp|-secure
|-custom|-enterprise|-BOOT|-tape|-aureal)";
// New-style kernels.
"^kernel-(image|modules)-.*";
};
Hold {
// Old-style kernels.
"^(kernel|alsa)[0-9]+-source";
};
};
получилось соответственно:
apt-get update
Err ftp://ftp.altlinux.com i586 release
Could not connect to ftp.altlinux.com:21 (81.222.130.6), connection timed out
Failed to fetch ftp://ftp.altlinux.com/pub/distributions/ALTLinux/Sisyphus/i586/base/release Could not connect to ftp.altlinux.com:21 (81.222.130.6), connection timed out
Reading Package Lists... Done
Building Dependency Tree... Done
W: Release files for some repositories could not be retrieved or authenticated. Such repositories are being ignored.
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
что сделано не правильно??
Подробная информация о списке рассылки Sisyphus