ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Igor Homyakov" <homyakov@ramax.spb.ru>
To: <mandrake-russian@altlinux.ru>
Subject: Re: [mdk-re] Filenames in local repositary
Date: Fri Aug 17 17:38:11 2001
Message-ID: <007001c12721$e0941650$4901040a@homyakov> (raw)
In-Reply-To: <20010817160812.C7296@pc152.belcaf.minsk.by>

----- Original Message -----
From: "Alexander Bokovoy" <a.bokovoy@sam-solutions.net>
To: <mandrake-russian@altlinux.ru>
Sent: Friday, August 17, 2001 5:08 PM
Subject: Re: [mdk-re] Filenames in local repositary


> On Fri, Aug 17, 2001 at 04:10:16PM +0400, Igor Homyakov wrote:
> > В кэше apt лежат файлы с именами
> >
> > vim-common_1%3a6.0-alt0.6.ar_i586.rpm
> > vim-enhanced_1%3a6.0-alt0.6.aq_i586.rpm
> > vim-minimal_1%3a6.0-alt0.6.ar_i586.rpm
> >
> > что значит "1%3" в имени файла ? и как правильно преобразовать
> > имя к "нормальной" форме.
> Первый встречный вопрос -- а зачем преобразовывать?
У меня не просто локальный репозитарий, а более изощренная схема.
Часть пакетов выклыдывается из кэша apt, а те пакеты которых в кэше нет
но есть в локальном репозитарии синхронизируються с ftp.altlinux.ru.
Это сделанно из-за того, что я не могу к сожалению выделить отдельный
сервер, для обновлений.

> Теперь ответ на Ваш вопрос:
> APT после скачивания пакетов переименовывает их в удобную для себя форму,
> отделяя имя от версии и от архитектуры с помощью подчеркивания.
> Таким образом, 1%3a6.0-alt0.6.ar -- версия пакета во внутреннем формате.
> Сам этот формат очень прост -- все недопустимые с точки зрения APT символы
> в именах заменяются на их шестнадцатеричные представления с префиксом %, а
> строка в оригинале имеет вид "serial:version-release", вот : здесь и
> заменено на %3a. То есть, вернув назад, получим 1:6.0-alt0.6ar.

Спасибо огромное ;)
а в этом варианте
perl_1%3a5.6.1-alt4_i586.rpm
вместо
perl-5.6.1-alt4_i586.rpm
как я понимаю "_" выполняет роль разделителя ?

--
Igor Homyakov                            RAMAX International
System Administrator         Banking Technologies Department
<homyakov(at)ramax.spb.ru>              http://www.ramax.com





  reply	other threads:[~2001-08-17 17:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-17 16:10 Igor Homyakov
2001-08-17 16:25 ` Aleksandr Blohin
2001-08-17 16:29   ` Igor Homyakov
2001-08-17 16:44     ` Баталов Григорий
2001-08-17 16:53       ` Баталов Григорий
2001-08-17 17:04 ` Alexander Bokovoy
2001-08-17 17:38   ` Igor Homyakov [this message]
2001-08-17 17:41     ` Alexander Bokovoy
2001-08-17 18:13       ` Igor Homyakov

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='007001c12721$e0941650$4901040a@homyakov' \
    --to=homyakov@ramax.spb.ru \
    --cc=mandrake-russian@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