ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrey Brindeew <abr@altlinux.ru>
To: community <community@altlinux.ru>
Subject: [Comm] Re: Problems Master 2.2
Date: Sun, 23 Mar 2003 20:33:52 +0300
Message-ID: <20030323173352.GA25158@abr.tool.ru> (raw)
In-Reply-To: <3E7E1419.3010606@narod.ru>

[-- Attachment #1: Type: text/plain, Size: 2883 bytes --]

On Sun, Mar 23, 2003 at 08:07:53PM +0000, Дмитрий wrote:
> OS ALT Master 2.2. Машина - i686.
> Вопросы:
> 1.) В man к apt-cdrom сказано, что для получения информации по 
> rpm(пакетам) на CD
> надо дать команду cd-rom add add, но результата это не дало(диск не из 
> дист.).
> В чём проблема?

где вы там увидели "add add"?
Правильно делать так:

$ sudo apt-cdrom add
Password:
Using CD-ROM mount point /mnt/cdrom/
Unmounting CD-ROM
Please insert a Disc in the drive and press enter
Mounting CD-ROM
Identifying.. [ec7eaaae9d3dd3b5fd17bd97940db948-2]
Scanning Disc for index files..  Found 1 package indexes and 1 source indexes.
This Disc is called:
 'Master 2.2 CD 1'
Reading Indexes... Завершено
Reading Indexes... Завершено
Writing new source list
Source List entries for this Disc are:
rpm cdrom:[Master 2.2 CD 1]/ ALTLinux main
rpm-src cdrom:[Master 2.2 CD 1]/ ALTLinux main
Repeat this process for the rest of the CDs in your set.

> [root@localhost root]# apt-cdrom add add
> Using CD-ROM mount point /mnt/cdrom/
> Unmounting CD-ROM
> Please insert a Disc in the drive and press enter
> Mounting CD-ROM
> Identifying.. [403d967ba96098161c468809d5ec1d56-2]
> Scanning Disc for index files.. Found 0 package indexes and 0 source 
> indexes.
> E: Unable to locate any package files, perhaps this is not an APT 
> enabled disc

Что за диск вы вставляли? С дистрибутивными дисками всё в порядке, даже
если указать параметр add для apt-cdrom дважды (проверено на третьем
диске)

> 2.) Я попытался с помощью apt установить DrWEB с диска No9
> Вот результаты(зашёл в директорию с DrWEB через MC):
> 
> [root@localhost root]# mc
> [root@localhost RPMS]# apt-get install drweb-4.29.6-alt.i386.rpm
> Reading Package Lists... Done
> Collecting File Provides... Done
> Building Dependency Tree... Done
> E: Couldn't find package drweb-4.29.6-alt.i386.rpm

У вас большая путаница в голове. Читайте главу "Обеспечение и
поддержание целостности системы с помощью APT" в Руководстве
Администратора (загляните в каталог docs на первом диске, если у вас нет
твердой копии книг).

Hint: APT работает с репозиториями пакетов, а не с произвольными
*.rpm-файлами.

> Установка с помощью утилиты RPM дала результаты.

Для файлов, находящихся вне контроля APT, использовать RPM нужно.

> Что не так сделано с помощью APT?

Читайте документацию перед использованием!

> 3.) Я собираюсь установить rpmdrake, он как я понял базируется на urpmi 4.0.

Зря. После того, как поближе познакомитесь с APT, вам это будет не
нужно.

> 4.) На запрос об пакете APT(пакетах с которыми он связан) через RPM было 
> выдано сообщение,
> что такой пакет не установлен, хотя он установлен. В чём проблема?

К большому сожалению все штатные телепаты в отпуске.

P.S. Какие команды вы давали и какие ответы на них получили?

-- 
WBR, Andrey Brindeew.
"No one person can understand Perl culture completely"
(C) Larry Wall.

[-- Attachment #2: Type: application/pgp-signature, Size: 245 bytes --]

      reply	other threads:[~2003-03-23 17:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-23 20:07 [Comm] " Дмитрий
2003-03-23 17:33 ` Andrey Brindeew [this message]

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=20030323173352.GA25158@abr.tool.ru \
    --to=abr@altlinux.ru \
    --cc=community@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 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