* [Comm] CD диски и локальная копия @ 2004-09-06 6:21 Oleg Pan 2004-09-06 6:32 ` Ivan Fedorov 0 siblings, 1 reply; 5+ messages in thread From: Oleg Pan @ 2004-09-06 6:21 UTC (permalink / raw) To: community Hello community, У меня есть все диски AltLinux Master 2.2 как их правильно скопировать на жесткий диск (структура папок: disk1/ disk2/ disk3/ или другая)? как правильно натравить на это apt, что-бы он не требовал диски? -- Best regards, Oleg mailto:wacom@narod.ru ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] CD диски и локальная копия 2004-09-06 6:21 [Comm] CD диски и локальная копия Oleg Pan @ 2004-09-06 6:32 ` Ivan Fedorov 2004-09-06 8:54 ` [Comm] " Michael Shigorin 0 siblings, 1 reply; 5+ messages in thread From: Ivan Fedorov @ 2004-09-06 6:32 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 363 bytes --] Oleg Pan пишет: > Hello community, > > У меня есть все диски AltLinux Master 2.2 > как их правильно скопировать на жесткий диск > (структура папок: > disk1/ > disk2/ > disk3/ > или другая)? > > как правильно натравить на это apt, что-бы он не требовал диски? Скопируйте все rpm в /var/cache/apt/archives, и на каждый диск скажите apt-cdrom add. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Comm] Re: CD диски и локальная копия 2004-09-06 6:32 ` Ivan Fedorov @ 2004-09-06 8:54 ` Michael Shigorin 2004-09-06 9:19 ` Ivan Fedorov 0 siblings, 1 reply; 5+ messages in thread From: Michael Shigorin @ 2004-09-06 8:54 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 669 bytes --] On Mon, Sep 06, 2004 at 03:32:01PM +0900, Ivan Fedorov wrote: > > как правильно натравить на это apt, что-бы он не требовал > > диски? mkdir -p Master/2.2/ALTLinux/RPMS for i in `seq 1 4`; do echo "** $i"; read; cp -a /mnt/cdrom/auto/ALTLinux/RPMS*/*.rpm Master/2.2/ALTLinux/RPMS; eject; done читаем статью и создаем хэши при помощи genbasedir: http://atmsk.ru/index.php?option=articles&task=viewarticle&artid=36 > Скопируйте все rpm в /var/cache/apt/archives, и на каждый диск > скажите apt-cdrom add. Нет. Начиная с того, что "или", а не "и". :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Comm] Re: CD диски и локальная копия 2004-09-06 8:54 ` [Comm] " Michael Shigorin @ 2004-09-06 9:19 ` Ivan Fedorov 2004-09-06 9:31 ` Michael Shigorin 0 siblings, 1 reply; 5+ messages in thread From: Ivan Fedorov @ 2004-09-06 9:19 UTC (permalink / raw) To: community [-- Attachment #1: Type: text/plain, Size: 694 bytes --] Michael Shigorin пишет: >>>как правильно натравить на это apt, что-бы он не требовал >>>диски? > > > mkdir -p Master/2.2/ALTLinux/RPMS > for i in `seq 1 4`; do echo "** $i"; read; cp -a /mnt/cdrom/auto/ALTLinux/RPMS*/*.rpm Master/2.2/ALTLinux/RPMS; eject; done > > читаем статью и создаем хэши при помощи genbasedir: > http://atmsk.ru/index.php?option=articles&task=viewarticle&artid=36 Зачем человеку такие сложности?.. Ему же просто скопировать.... > >>Скопируйте все rpm в /var/cache/apt/archives, и на каждый диск >>скажите apt-cdrom add. > > > Нет. Начиная с того, что "или", а не "и". :) Именно "И". Потому что apt будет думать, что берет файлы с CD, но они уже лежат в кэше!!! ;) [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Comm] Re: CD диски и локальная копия 2004-09-06 9:19 ` Ivan Fedorov @ 2004-09-06 9:31 ` Michael Shigorin 0 siblings, 0 replies; 5+ messages in thread From: Michael Shigorin @ 2004-09-06 9:31 UTC (permalink / raw) To: community On Mon, Sep 06, 2004 at 06:19:07PM +0900, Ivan Fedorov wrote: > > http://atmsk.ru/index.php?option=articles&task=viewarticle&artid=36 > Зачем человеку такие сложности?.. Ему же просто скопировать.... Да ну, какие это сложности. С кучей каталогов все равно неудобнее, хотя, конечно, можно apt-cdrom add, покопировать CD:/ALTLinux в пачку каталогов, а потом править /etc/apt/sources.list, заменяя путь к CD на путь на диске -- но есть мнение, что это настолько бессистемно и криво, что не стоит объяснения. > >>Скопируйте все rpm в /var/cache/apt/archives, и на каждый > >>диск скажите apt-cdrom add. > > Нет. Начиная с того, что "или", а не "и". :) > Именно "И". Потому что apt будет думать, что берет файлы с CD, > но они уже лежат в кэше!!! ;) Но это хак. :) -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-09-06 9:31 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2004-09-06 6:21 [Comm] CD диски и локальная копия Oleg Pan 2004-09-06 6:32 ` Ivan Fedorov 2004-09-06 8:54 ` [Comm] " Michael Shigorin 2004-09-06 9:19 ` Ivan Fedorov 2004-09-06 9:31 ` Michael Shigorin
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