From: "Nick S. Grechukh" <ngrechukh@ua.fm>
To: yurih@voliacable.com,
ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] [FAQ] Re: Локальный репозиторий из дисков
Date: Thu, 31 Mar 2005 11:15:53 +0300
Message-ID: <200503311115.54953.ngrechukh@ua.fm> (raw)
In-Reply-To: <200503311055.31018.yurih@voliacable.com>
[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]
On Thursday 31 March 2005 10:55, Yuri Horoshkov wrote:
> В сообщении от Пятница 04 Март 2005 23:36 Michael Shigorin написал(a):
> > On Fri, Mar 04, 2005 at 10:44:03PM +0200, Nick S. Grechukh wrote:
> > > genbasedir --progress --topdir=/mnt/win_d/altlinux/ i586 master24
> > http://faq.altlinux.ru/index.php?action=single&nf=1&qid=541
> > PS: есть подозрение, что это стоило (стоит?) упомянуть в
> > community@ (при следующем же таком вопросе? :)
> Возник такой вопрос: "При добавлении новых файлов в локальный репозитарий
> как обновлять информацию об этом? Из Synaptic "update" или запускать опять
> genbasedir?" Попробовал из Synaptic и не обновился.
ответ следует из нижеизложенного:
кнопка update в synaptic == apt-get update:
обновляет локальные индексы репозитария (-ев) перечисленных в sources.list.
о файлах эта команда ничего не знает, берутся готовые индексы из репозитария.
т.е. /var/lib/apt просто приводится в соответствие с $URL/$arch/base.
отсюда между прочим следует, что на этом уровне тип URL (file,rsync, ftp,http)
безразличен (есть исключение: для cdrom:/ в базе апт'а НЕ обновляются).
genbasedir, в свою очередь, не хочет ничего знать об apt, и просто создает
индекс (локального) репозитария в $URL/$arch/base. формат вызова:
genbasedir --topdir=$URL $arch [список компонент]
(в последних версиях список компонент указывать не обязательно)
каменты: список компонент вида comp1 my comp2 соответствует каталогам
$arch/RPMS.comp1 $arch/RPMS.my $arch/RPMS.comp2
p.s. если в FAQ, то кто мне скажет правильное склонение слова "компоненты
репозитария" в ед.числе?
[-- Attachment #2: Type: application/pgp-signature, Size: 190 bytes --]
next prev parent reply other threads:[~2005-03-31 8:15 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-16 12:03 [sisyphus] " Ruslan Popov
2005-02-16 12:06 ` Led
2005-02-16 12:17 ` Nick S. Grechukh
2005-02-16 12:19 ` Pyatnitskich Evgeniy
2005-02-16 12:25 ` Ruslan Popov
2005-02-16 13:05 ` Led
2005-02-16 13:10 ` Nick S. Grechukh
2005-02-16 13:42 ` Ruslan Popov
2005-02-16 13:48 ` Led
2005-02-16 13:50 ` Ruslan Popov
2005-02-16 14:02 ` Afanasov Dmitry
2005-02-16 14:39 ` Ruslan Popov
2005-02-18 17:03 ` Aleksey Avdeev
2005-02-22 15:44 ` [sisyphus] сколько можно loop'ов? Michael Shigorin
2005-02-16 12:17 ` [sisyphus] Локальный репозиторий из дисков Ruslan Popov
2005-02-16 13:05 ` Led
2005-02-17 6:44 ` Ivan Fedorov
2005-02-17 8:36 ` Ruslan Popov
2005-02-17 10:05 ` Ivan Fedorov
2005-03-04 15:05 ` [sisyphus] " Arioch
2005-03-04 20:38 ` Led
2005-03-04 20:44 ` Nick S. Grechukh
2005-03-04 21:36 ` [sisyphus] [FAQ] " Michael Shigorin
2005-03-05 10:22 ` Led
2005-03-05 12:45 ` [sisyphus] " Michael Shigorin
2005-03-05 15:32 ` Led
2005-03-09 11:17 ` Michael Shigorin
2005-03-09 12:49 ` Led
2005-03-05 14:45 ` [sisyphus] [FAQ] " Nick S. Grechukh
2005-03-09 11:16 ` [sisyphus] " Michael Shigorin
2005-03-31 7:55 ` [sisyphus] [FAQ] " Yuri Horoshkov
2005-03-31 8:15 ` Nick S. Grechukh [this message]
2005-02-16 13:22 ` [sisyphus] " Mike Lykov
2005-02-16 13:35 ` Afanasov Dmitry
2005-02-16 13:38 ` Alexey I. Froloff
2005-02-16 13:46 ` Ruslan Popov
2005-02-16 13:56 ` Led
2005-02-18 11:47 ` [sisyphus] " Michael Shigorin
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=200503311115.54953.ngrechukh@ua.fm \
--to=ngrechukh@ua.fm \
--cc=sisyphus@altlinux.ru \
--cc=yurih@voliacable.com \
/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 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