ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] apt-get, repository & Provides
@ 2007-01-12 16:30 Led
  2007-01-12 18:42 ` Alexey I. Froloff
  2007-01-12 20:45 ` Alexey Tourbin
  0 siblings, 2 replies; 9+ messages in thread
From: Led @ 2007-01-12 16:30 UTC (permalink / raw)
  To: ALT Devel discussion list

Имеется репозитарий с пакетами:
libX-0.1.1-alt1
libY-0.1.2-alt1

В libY-0.1.2 имеется:
Provides: libX = 0.1.2-alt1

При попытке
hsh-install ~/hasher libX

ставится libX-0.1.1

Почему? Какая здесь логика?

-- 
Led.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] apt-get, repository & Provides
  2007-01-12 16:30 [devel] apt-get, repository & Provides Led
@ 2007-01-12 18:42 ` Alexey I. Froloff
  2007-01-12 21:10   ` Sergey Vlasov
  2007-01-12 20:45 ` Alexey Tourbin
  1 sibling, 1 reply; 9+ messages in thread
From: Alexey I. Froloff @ 2007-01-12 18:42 UTC (permalink / raw)
  To: ALT Devel discussion list

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

* Led <led@> [070112 19:32]:
> Почему? Какая здесь логика?
А какая логика в таких provides?

-- 
Regards,
Sir Raorn.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] apt-get, repository & Provides
  2007-01-12 16:30 [devel] apt-get, repository & Provides Led
  2007-01-12 18:42 ` Alexey I. Froloff
@ 2007-01-12 20:45 ` Alexey Tourbin
  2007-01-15  9:39   ` Led
  1 sibling, 1 reply; 9+ messages in thread
From: Alexey Tourbin @ 2007-01-12 20:45 UTC (permalink / raw)
  To: ALT Devel discussion list

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

On Fri, Jan 12, 2007 at 06:30:14PM +0200, Led wrote:
> Имеется репозитарий с пакетами:
> libX-0.1.1-alt1
> libY-0.1.2-alt1
> 
> В libY-0.1.2 имеется:
> Provides: libX = 0.1.2-alt1
> 
> При попытке
> hsh-install ~/hasher libX
> 
> ставится libX-0.1.1
> 
> Почему? Какая здесь логика?

Логика, должно быть, такая, что apt сначал просматривает реальные
пакеты, а если ни одно хорошего кандидата из реальных пакетов не
найдено, то потом уже виртуальные.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] apt-get, repository & Provides
  2007-01-12 18:42 ` Alexey I. Froloff
@ 2007-01-12 21:10   ` Sergey Vlasov
  2007-01-12 23:29     ` Alexey I. Froloff
  0 siblings, 1 reply; 9+ messages in thread
From: Sergey Vlasov @ 2007-01-12 21:10 UTC (permalink / raw)
  To: devel

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

On Fri, Jan 12, 2007 at 09:42:14PM +0300, Alexey I. Froloff wrote:
> * Led <led@> [070112 19:32]:
> > Почему? Какая здесь логика?
> А какая логика в таких provides?

Например, имеющийся старый срез Сизифа и рядом набор свежих пакетов,
где какой-то пакет был переименован.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] apt-get, repository & Provides
  2007-01-12 21:10   ` Sergey Vlasov
@ 2007-01-12 23:29     ` Alexey I. Froloff
  2007-01-15  9:38       ` Led
  0 siblings, 1 reply; 9+ messages in thread
From: Alexey I. Froloff @ 2007-01-12 23:29 UTC (permalink / raw)
  To: ALT Devel discussion list

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

* Sergey Vlasov <vsu@> [070113 00:18]:
> > > Почему? Какая здесь логика?
> > А какая логика в таких provides?
> Например, имеющийся старый срез Сизифа и рядом набор свежих пакетов,
> где какой-то пакет был переименован.
Тогда не хватает Obsoletes в первом пакете.

-- 
Regards,
Sir Raorn.

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] apt-get, repository & Provides
  2007-01-12 23:29     ` Alexey I. Froloff
@ 2007-01-15  9:38       ` Led
  0 siblings, 0 replies; 9+ messages in thread
From: Led @ 2007-01-15  9:38 UTC (permalink / raw)
  To: ALT Devel discussion list

В сообщении от 13 января 2007 01:29 Alexey I. Froloff написал(a):
> * Sergey Vlasov <vsu@> [070113 00:18]:
> > > > Почему? Какая здесь логика?
> > >
> > > А какая логика в таких provides?
> >
> > Например, имеющийся старый срез Сизифа и рядом набор свежих пакетов,
> > где какой-то пакет был переименован.
>
> Тогда не хватает Obsoletes в первом пакете.

Хватает. С Obsoletes - то же самое

-- 
Led.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] apt-get, repository & Provides
  2007-01-12 20:45 ` Alexey Tourbin
@ 2007-01-15  9:39   ` Led
  2007-01-15 11:01     ` Alexey I. Froloff
  0 siblings, 1 reply; 9+ messages in thread
From: Led @ 2007-01-15  9:39 UTC (permalink / raw)
  To: ALT Devel discussion list

В сообщении от 12 января 2007 22:45 Alexey Tourbin написал(a):
> On Fri, Jan 12, 2007 at 06:30:14PM +0200, Led wrote:
> > Имеется репозитарий с пакетами:
> > libX-0.1.1-alt1
> > libY-0.1.2-alt1
> >
> > В libY-0.1.2 имеется:
> > Provides: libX = 0.1.2-alt1
> >
> > При попытке
> > hsh-install ~/hasher libX
> >
> > ставится libX-0.1.1
> >
> > Почему? Какая здесь логика?
>
> Логика, должно быть, такая, что apt сначал просматривает реальные
> пакеты, а если ни одно хорошего кандидата из реальных пакетов не
> найдено, то потом уже виртуальные.

ИМХО "логика" неправильная.

-- 
Led.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] apt-get, repository & Provides
  2007-01-15  9:39   ` Led
@ 2007-01-15 11:01     ` Alexey I. Froloff
  2007-01-15 11:49       ` Led
  0 siblings, 1 reply; 9+ messages in thread
From: Alexey I. Froloff @ 2007-01-15 11:01 UTC (permalink / raw)
  To: ALT Devel discussion list

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

* Led <led@> [070115 12:40]:
> > Логика, должно быть, такая, что apt сначал просматривает реальные
> > пакеты, а если ни одно хорошего кандидата из реальных пакетов не
> > найдено, то потом уже виртуальные.
> ИМХО "логика" неправильная.
А более старый apt как делает?

-- 
Regards, Alexey I. Froloff
AIF5-RIPN, AIF5-RIPE
-------------------------------------------
  Inform-Mobil, Ltd. System Administrator
       http://www.inform-mobil.ru/

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [devel] apt-get, repository & Provides
  2007-01-15 11:01     ` Alexey I. Froloff
@ 2007-01-15 11:49       ` Led
  0 siblings, 0 replies; 9+ messages in thread
From: Led @ 2007-01-15 11:49 UTC (permalink / raw)
  To: ALT Devel discussion list

В сообщении от 15 января 2007 13:01 Alexey I. Froloff написал(a):
> * Led <led@> [070115 12:40]:
> > > Логика, должно быть, такая, что apt сначал просматривает реальные
> > > пакеты, а если ни одно хорошего кандидата из реальных пакетов не
> > > найдено, то потом уже виртуальные.
> >
> > ИМХО "логика" неправильная.
>
> А более старый apt как делает?

Не знаю... Я даже не уверен, что это так делает apt-get, а не genpkglist. В 
любом случае непонятна такая "самодеятельность" "apt и компании" по отношению 
равноправных с точки зрения rpm's provides (реальных и виртуальных). Похоже, 
придётся вместо документированного Provides городить костыли в виде пустых 
Obsoletes пакетов :(

-- 
Led.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-01-15 11:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-12 16:30 [devel] apt-get, repository & Provides Led
2007-01-12 18:42 ` Alexey I. Froloff
2007-01-12 21:10   ` Sergey Vlasov
2007-01-12 23:29     ` Alexey I. Froloff
2007-01-15  9:38       ` Led
2007-01-12 20:45 ` Alexey Tourbin
2007-01-15  9:39   ` Led
2007-01-15 11:01     ` Alexey I. Froloff
2007-01-15 11:49       ` Led

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