The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



"Проблема с apt-proxy(или так и должно быть?)"
Версия для распечатки Пред. тема | След. тема
Форум Открытые системы на сервере
Исходное сообщение [ Отслеживать ]
Присылайте удачные настройки в раздел примеров файлов конфигурации на WIKI.opennet.ru.
. "Проблема с apt-proxy(или так и должно быть?)" +/
Сообщение от Nib (ok), 19-Июн-08, 12:51 
>>Добрый день. Установил apt-proxy,настроил, все вроде нормально работало, или не замечал. На
>>днях заметил что обновления есть(если на прямую), но почему то через
>>apt-proxy они не доступны. Не подскажете в чем дело? Заранее благодарен.
>>
>
>Обновления для чего?

когда запускаю apt-get update/upgrade ничего нового не обнаруживается при работе через apt-proxy.

apt-proxy-v2.conf:
[DEFAULT]
;; All times are in seconds, but you can add a suffix
;; for minutes(m), hours(h) or days(d)

;; Server IP to listen on
;address = 192.168.0.254

;; Server port to listen on
port = 9999

;; Control files (Packages/Sources/Contents) refresh rate
;;
;; Minimum time between attempts to refresh a file
min_refresh_delay = 1h

;; Minimum age of a file before attempting an update (NOT YET IMPLEMENTED)
;min_age = 23h

;; Uncomment to make apt-proxy continue downloading even if all
;; clients disconnect.  This is probably not a good idea on a
;; dial up line.
;; complete_clientless_downloads = 1

;; Debugging settings.
;; for all debug information use this:
;; debug = all:9
debug = all:4 db:0

;; Debugging remote python console
;; Do not enable in an untrusted environment
;telnet_port = 9998
;telnet_user = apt-proxy
;telnet_password = secret

;; Network timeout when retrieving from backend servers
timeout = 15

;; Cache directory for apt-proxy
cache_dir = /var/cache/apt-proxy

;;--------------------------------------------------------------
;; Cache housekeeping

;; Time to perform periodic housekeeping:
;;  - delete files that have not been accessed in max_age
;;  - scan cache directories and update internal tables
cleanup_freq = 1d

;; Maximum age of files before deletion from the cache (seconds)
max_age = 120d

;; Maximum number of versions of a .deb to keep per distribution
max_versions = 3

;;---------------------------------------------------------------
;;---------------------------------------------------------------
;; Backend servers
;;
;; Place each server in its own [section]

[debian]
;; The main Debian archive
;; You can override the default timeout like this:
;timeout = 30

;; Backend servers, in order of preference
backends =
        http://mirror.yandex.ru/debian/

[security]
;; Debian security archive
backends =
       http://security.debian.org/debian-security/
        http://mirror.yandex.ru/debian-security/

Ответить | Правка | Наверх | Cообщить модератору

Оглавление
Проблема с apt-proxy(или так и должно быть?), Nib, 19-Июн-08, 10:06  [смотреть все]
Форумы | Темы | Пред. тема | След. тема



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру