* [sisyphus] hasher and apt
@ 2009-10-19 12:46 Andrii Dobrovol`s`kii
2009-10-20 6:21 ` Stanislav Ievlev
2009-10-20 23:03 ` [sisyphus] hasher and apt Alexey Tourbin
0 siblings, 2 replies; 5+ messages in thread
From: Andrii Dobrovol`s`kii @ 2009-10-19 12:46 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
Hi,
Кто может объяснить кухню отношений апта с хашером?
Хашер у меня заработал только после того как я обнулил переменную
ftp_proxy.
Хотя физически сижу за проксей. Почему так?
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 525-7824 Department of Gas Electronics
Fax: (380-44) 525-2329 Institute of Physics of NASU
*********************************************************************
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] hasher and apt
2009-10-19 12:46 [sisyphus] hasher and apt Andrii Dobrovol`s`kii
@ 2009-10-20 6:21 ` Stanislav Ievlev
2009-10-20 23:06 ` Alexey Tourbin
2009-10-20 23:03 ` [sisyphus] hasher and apt Alexey Tourbin
1 sibling, 1 reply; 5+ messages in thread
From: Stanislav Ievlev @ 2009-10-20 6:21 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
19 октября 2009 г. 16:46 пользователь Andrii Dobrovol`s`kii
<dobr@iop.kiev.ua> написал:
> Hi,
> Кто может объяснить кухню отношений апта с хашером?
> Хашер у меня заработал только после того как я обнулил переменную
> ftp_proxy.
> Хотя физически сижу за проксей. Почему так?
hasher для установки базовой системы apt использует только как
средство получения замкнутого списка пакетов. А ставит их
самостоятельно.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] hasher and apt
2009-10-20 6:21 ` Stanislav Ievlev
@ 2009-10-20 23:06 ` Alexey Tourbin
2009-10-21 0:22 ` [sisyphus] hasher 1.3.14 - remote repo cache Alexey Tourbin
0 siblings, 1 reply; 5+ messages in thread
From: Alexey Tourbin @ 2009-10-20 23:06 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- Attachment #1: Type: text/plain, Size: 552 bytes --]
On Tue, Oct 20, 2009 at 10:21:44AM +0400, Stanislav Ievlev wrote:
> 19 октября 2009 г. 16:46 пользователь Andrii Dobrovol`s`kii
> <dobr@iop.kiev.ua> написал:
> > Hi,
> > Кто может объяснить кухню отношений апта с хашером?
> > Хашер у меня заработал только после того как я обнулил переменную
> > ftp_proxy.
> > Хотя физически сижу за проксей. Почему так?
> hasher для установки базовой системы apt использует только как
> средство получения замкнутого списка пакетов. А ставит их
> самостоятельно.
Атп ещё и скочивает пакеты с интернета.
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* [sisyphus] hasher 1.3.14 - remote repo cache
2009-10-20 23:06 ` Alexey Tourbin
@ 2009-10-21 0:22 ` Alexey Tourbin
0 siblings, 0 replies; 5+ messages in thread
From: Alexey Tourbin @ 2009-10-21 0:22 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]
On Wed, Oct 21, 2009 at 03:06:32AM +0400, Alexey Tourbin wrote:
> On Tue, Oct 20, 2009 at 10:21:44AM +0400, Stanislav Ievlev wrote:
> > hasher для установки базовой системы apt использует только как
> > средство получения замкнутого списка пакетов. А ставит их
> > самостоятельно.
>
> Атп ещё и скочивает пакеты с интернета.
То есть хешер теперь умеет работать в конфигурации с удаленным
репозиторием.
http://lists.altlinux.org/pipermail/devel/2009-July/173233.html
Хочу также отметить, что системные требования для хешера были
значительно снижены -- из-за сжатия cache/chroot/chroot.cpio.lzo
и из-за изменений, связанных с генерацией contents_index_bin.
Вместе с возможностью кеширования скачиваемых пакетов это означает,
что хешер в большинстве случаев будет хорошо работать на локальной
low-end машине (2GHz CPU, 1G RAM) с медленным доступом в интернет.
Я уже перестал зеркалировать сизиф.
Есть правда один небольшой glitch с кешированием -- если пересобрать
в хешере пакет без изменения релиза, то апт автоматически удалит
оригинальные пакеты из кеша (с одинаковым именем файла).
И есть ещё glitch с файловыми зависимостями -- у собранных в хешере
пакетов могут появиться анметы на файлы в основном репозитории (потому
что в основном репозитарии удаляется информация о "ненужных" файлах).
Но это редко проявляется, в целом работать можно.
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [sisyphus] hasher and apt
2009-10-19 12:46 [sisyphus] hasher and apt Andrii Dobrovol`s`kii
2009-10-20 6:21 ` Stanislav Ievlev
@ 2009-10-20 23:03 ` Alexey Tourbin
1 sibling, 0 replies; 5+ messages in thread
From: Alexey Tourbin @ 2009-10-20 23:03 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 653 bytes --]
On Mon, Oct 19, 2009 at 03:46:24PM +0300, Andrii Dobrovol`s`kii wrote:
> Hi,
> Кто может объяснить кухню отношений апта с хашером?
Создаётся каталог aptbox/ в котором лежат простейшие скрипты-обёртки
типа aptbox/apt-get в которых подключается aptbox/etc/apt/apt.conf.
Все относшения хешера с аптом идут через aptbox.
> Хашер у меня заработал только после того как я обнулил переменную
> ftp_proxy.
> Хотя физически сижу за проксей. Почему так?
Соответственно можно попробовать
./aptbox/apt-get --download-only install foo bar
и посмотреть скочивается или не скочивается и почему.
Вроде бо апту надо писать
ftp_proxy=http://...
[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-10-21 0:22 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-19 12:46 [sisyphus] hasher and apt Andrii Dobrovol`s`kii
2009-10-20 6:21 ` Stanislav Ievlev
2009-10-20 23:06 ` Alexey Tourbin
2009-10-21 0:22 ` [sisyphus] hasher 1.3.14 - remote repo cache Alexey Tourbin
2009-10-20 23:03 ` [sisyphus] hasher and apt Alexey Tourbin
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git