ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Filenames in local repositary
Date: Fri Aug 17 17:41:02 2001
Message-ID: <20010817164512.D7296@pc152.belcaf.minsk.by> (raw)
In-Reply-To: <007001c12721$e0941650$4901040a@homyakov>; from homyakov@ramax.spb.ru on Fri, Aug 17, 2001 at 05:38:19PM +0400

On Fri, Aug 17, 2001 at 05:38:19PM +0400, Igor Homyakov wrote:
> 
> ----- 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
> как я понимаю "_" выполняет роль разделителя ?
Да. Я же об этом написал (см. выше). Только замените его на точку.

-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
No one can put you down without your full cooperation.



  reply	other threads:[~2001-08-17 17:41 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
2001-08-17 17:41     ` Alexander Bokovoy [this message]
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=20010817164512.D7296@pc152.belcaf.minsk.by \
    --to=a.bokovoy@sam-solutions.net \
    --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