From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] #17674: to dig or not to dig BuildArch: noarch?
Date: Thu, 30 Oct 2008 15:56:00 +0300
Message-ID: <20081030125552.GH8739@altlinux.org> (raw)
In-Reply-To: <20081030124638.GA30485@wo.int.altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 1471 bytes --]
On Thu, Oct 30, 2008 at 03:46:38PM +0300, Dmitry V. Levin wrote:
> > $ apt-cache showpkg /usr/share/fonts/ttf/j2se-sun
> > Package: /usr/share/fonts/ttf/j2se-sun
> > Versions:
> > Reverse Depends:
> > java-1.6.0-sun,/usr/share/fonts/ttf/j2se-sun
> > java-1.5.0-sun,/usr/share/fonts/ttf/j2se-sun
> > Dependencies:
> > Provides:
> > Reverse Provides:
> > fonts-ttf-java-1.5.0-sun 0:1.5.0.16-alt1
> > $
> >
> > Хотя каталог /usr/share/fonts/ttf/j2se-sun принадлежит также и пакету
> > fonts-ttf-java-1.6.0-sun.noarch, apt его "не видит". Apt не видит, что
> > noarch пакет предоставлят такой-то путь, если в noarch реопозитарии его
> > никто не требует. Это прокол текущей технологии.
>
> Это не особенность noarch, это особенность genpkglist видеть только тот
> репозиторий, с которым этот genpkglist работает в данный момент?
Да, это особенность генерации репозитария при отдельных $arch и noarch
компонентах. При генерации репозитария обрезается список файлов в
пакетах; а каждый файловый путь в пакете является слабой формой provides.
Получается, что при интенсивном использовании файловых зависимостей
фактически обрезаются нужные provides.
А в пределах одного репозитария они не обрезаются из-за
apt-0.5.15lorg2-alt-genpkglist-reqfiles.patch
Нужно составлять глобальных список файловых зависмостей,
а потом уже генерировать компоненты репозитария с учетом этого
глобального списка. sisyphus.git 0.9.2-alt1-1-g8656c3c
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-10-30 12:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-30 10:32 Igor Vlasenko
2008-10-30 11:18 ` Dmitry V. Levin
2008-10-30 12:38 ` Alexey Tourbin
2008-10-30 12:46 ` Dmitry V. Levin
2008-10-30 12:56 ` Alexey Tourbin [this message]
2008-10-30 15:34 ` Dmitry V. Levin
2008-10-30 12:48 ` Igor Vlasenko
2008-10-30 12:50 ` Alexey Tourbin
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=20081030125552.GH8739@altlinux.org \
--to=at@altlinux.ru \
--cc=devel@lists.altlinux.org \
/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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git