ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Pavel S. Khmelinsky" <hmepas@yauza.ru>
To: community@altlinux.ru
Subject: Re: [Comm] apt-get dist-upgrade through proxy
Date: Thu, 01 Apr 2004 12:03:03 +0400
Message-ID: <406BCCB7.8070308@yauza.ru> (raw)
In-Reply-To: <876502262.20040401093344@scs-900.ru>

Evgeny Yugov wrote:
> Здравствуйте Pavel,
> 
> Thursday, April 1, 2004, 2:40:26 AM, you wrote:
> 
> PSK> Так чего-то странное с apt-get творится. если делаю
> PSK> ftp_proxy=http://192.168.2.1:3128 то апт нормально обновляется, 
> PSK> но делает это directly to host, т.е. в обход сквида, что меня в 
> PSK> общем то не устраивает.
> Да ну?
> У меня тоже так же пашет, только через сквид так как directly to host у
> нас просто невозможен.
Тут в личку кинули совет прописать
export http_proxy="http://user:password@proxy:port/"
export ftp_proxy="http://user:password@proxy:port/"
в /root/.bashrc
Как ни странно заработало. Т.е. похоже дело было в кавычках. 
Тогда вопрос почему компактовый инсталлер в 
/etc/profile.d/proxy.sh прописывает
$ cat proxy.sh
http_proxy=http://192.168.2.1:3128
ftp_proxy=ftp://192.168.2.1:3128
все это без кавычек?

> 
> PSK> Если пишу
> PSK> ftp_proxy=ftp://192.168.1.2:3128 т.е. соединение со сквидом 
> PSK> происходит, после чего apt благополучно виснет. В логах сквида 
> PSK> ничего подозрительно, ни в первом ни во втором случае работа апта
> PSK> на логах вообще не отображается.
> PSK> Таже мозилла через тот же сквид отлично качает с фтп-серверов 
> PSK> АЛЬта. Посоветуйте как еще с бубнами попрыгать ;)
> 

-- 
Pavel S. Khmelinsky <hmepas@yauza.ru>
System Administrator,
ISP Yauza Telecom
http://www.yauza.ru


  parent reply	other threads:[~2004-04-01  8:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-31 19:40 Pavel S. Khmelinsky
2004-04-01  2:33 ` Evgeny Yugov
2004-04-01  3:38   ` Gosha
2004-04-01  8:03   ` Pavel S. Khmelinsky [this message]
2004-04-01  8:12     ` crux
2004-04-01  8:45       ` Pavel S. Khmelinsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=406BCCB7.8070308@yauza.ru \
    --to=hmepas@yauza.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git