From: "Anton V. Denisov" <fire@kgpu.kamchatka.ru>
To: <devel@altlinux.ru>
Subject: [devel] Q: creating of full snapshot
Date: Sat, 1 Mar 2003 12:42:32 +1200
Message-ID: <010101c2df8b$722f35e0$380aa8c0@435ntws> (raw)
Приветствую всех.
Никто не озадачивался задачей, как, имея полный снапшот Сизифа и много
последующих diff'ов на cd-rom'ах, сделать один полный снапшот? Основная
сложность тут, как я понимаю, учесть все изменения в состоянии пакетов,
особенно переименование, разбиение на части, замена одного пакета другим,
удаление пакета из репозитория и другое. Понятно, что без помощи APT'а в
этой
ситуации не обойтись. Только вот как тут его использовать? Мне пришло в
голову
пока только одно решение: парсим вывод apt-cache dumpavail и дальше работаем
с ним,
но тут есть свои тонкости - в списке пакетов, который мы получим, будут
присутствовать
пакеты, которые есть только в базе rpm, но отсутствуют в кешах APT'а, вторая
особенность -
неизвестно как dumpavail поступает с пакетами, которые заменили другие
пакеты (например,
coreutils) надо бы это проверить.
Ну а дальше, имея список пакетов, собираем все пакеты в одну кучу и включаем
в работу distribute -
возможно его стоит модифицировать, чтобы он мог сам делать эту операцию.
Может у кого есть другие предложения/наработки по созданию полных снапшотов?
С уважением, Антон В. Денисов.
next reply other threads:[~2003-03-01 0:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-01 0:42 Anton V. Denisov [this message]
2003-03-01 8:18 ` Vitaly Lipatov
2003-03-01 19:39 ` Ivan Zakharyaschev
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='010101c2df8b$722f35e0$380aa8c0@435ntws' \
--to=fire@kgpu.kamchatka.ru \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git