ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <ab@avilink.net>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] apt from disk
Date: Fri, 8 Jun 2001 12:04:21 +0300
Message-ID: <20010608120420.B18516@boids.avilink.net> (raw)
In-Reply-To: <003b01c0eff8$92620880$7283b8d5@AnonymousIPX>; from ivanov55@chat.ru on Fri, Jun 08, 2001 at 12:54:04PM +0400

On Fri, Jun 08, 2001 at 12:54:04PM +0400, Sergei Ivanov wrote:
> Здравствуйте
> 
> > Можно дома подготовиться к обновлению на основе вывода:
> >
> > $ apt-get -y upgrade --print-uris
> >
> > (то же самое с install или dist-upgrade),
> > потом скачать все по списку, принести домой установить.
> >
> > Еще сильнее можно автоматизировать процесс, кладя эти пакеты дома в
> > локальное хранилище и индексируя их для apt -- тогда многократные
> > вызовы rpm можно заменить одним apt.
> 
> Не подскажете, каков будет в этом случае формат записи, указывающей на
> локальное (на моем диске) хранилище? К сожалению, я не нашел в документации
> apt способ обновляться с помощью скачанных "вручную" пакетов. А проблема та
> же - быстрый Интернет на работе под Виндами, Spring 2001 - дома.
Вот Вам кусок моего /etc/apt/sources.list:

rpm file:/var/ftp/pub/Sisyphus i586/Mandrake sisyphus

К сожалению, метод file:/ пока не полностью поддерживает проверку
подписей, поэтому ее лучше отключать, что и сделано в указанной выше
строке.

В общем случае строка разбивается на 5 компонент, разделяемых пробелами:

менеджер_пакетов  -- в ALT Linux это 'rpm'
[авторизация]     -- может отсутствовать, тогда проверки подписей не будет
метод:/директория_верхнего_уровня -- доступные методы: file, rsh, ssh,
			ftp, http, cdrom
i586/Mandrake 	  -- каталог, относительно директории верхнего уровня, в
			котором находится каталог base с индексами и
			каталог с бинарными пакетами
метка		  -- метка индекса, отмечающая разные наборы пакетов

Можно в одном репозитариии держать несколько наборов пакет, различая их
метками.

В новом APT, доступном сейчас из Сизифа, переработан /etc/apt/sources.list
так, что исправления безопасности доступны автоматически в общем списке
обновлений.
-- 
Sincerely yours, Alexander Bokovoy 
  The Midgard Project    | ALT  Linux  Team | Minsk Linux Users Group
 www.midgard-project.org | www.altlinux.ru  |    www.minsk-lug.net 
-- You won't skid if you stay in a rut.
		-- Frank Hubbard



  reply	other threads:[~2001-06-08  9:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-08  8:54 ` Sergei Ivanov
2001-06-08  9:04   ` Alexander Bokovoy [this message]
2001-06-08 11:33     ` vic ismakaev

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=20010608120420.B18516@boids.avilink.net \
    --to=ab@avilink.net \
    --cc=sisyphus@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 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