ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] p9/с9 и чудесный провайд java-devel
@ 2025-01-04 15:10 Andrey Cherepanov
  2025-01-04 19:16 ` Leonid Krivoshein
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Cherepanov @ 2025-01-04 15:10 UTC (permalink / raw)
  To: ALT Linux Team development discussions

Собрал java-11-openjdk без провайда java-devel:

cas@basalt RPMS.hasher $ rpm -qp 
java-11-openjdk-devel-11.0.25.0.9-alt0.c9.1.x86_64.rpm --provides
java-sdk-11-openjdk = 0:11.0.25.0.9-alt0.c9.1
java-sdk-11 = 0:11.0.25.0.9-alt0.c9.1
java-11-devel = 0:11.0.25.0.9-alt0.c9.1
/usr/share/man/man1/jar.1.gz = 11002509
/usr/share/man/man1/jarsigner.1.gz = 11002509
/usr/share/man/man1/javac.1.gz = 11002509
/usr/share/man/man1/javadoc.1.gz = 11002509
/usr/share/man/man1/javap.1.gz = 11002509
/usr/share/man/man1/jconsole.1.gz = 11002509
/usr/share/man/man1/jdb.1.gz = 11002509
/usr/share/man/man1/jinfo.1.gz = 11002509
/usr/share/man/man1/jmap.1.gz = 11002509
/usr/share/man/man1/jps.1.gz = 11002509
/usr/share/man/man1/jrunscript.1.gz = 11002509
/usr/share/man/man1/jstack.1.gz = 11002509
/usr/share/man/man1/jstat.1.gz = 11002509
/usr/share/man/man1/jstatd.1.gz = 11002509
/usr/share/man/man1/rmic.1.gz = 11002509
/usr/share/man/man1/serialver.1.gz = 11002509
java-11-openjdk-devel = 0:11.0.25.0.9-alt0.c9.1

Проверяю в хэшернице:

cas@basalt aptbox $ ./apt-cache show java-devel
Виртуальный пакет java-devel предоставляется следующими пакетами:
   java-1.8.0-openjdk-devel 
0:1.8.0.332.b09-alt0_0.1.eajpp8:c9f2+298976.100.1.1@1650860897
   java-1.7.0-openjdk-devel 
0:1.7.0.221-alt2_2.6.18.0jpp8:p9+234505.100.3.2@1563173125
You should explicitly select one to show.
E: Package java-devel is a virtual package with multiple providers.

Устанавливаю в ту же хэшерницу:

cas@basalt aptbox $ ./apt-get -V --dry-run install java-devel
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
Выбрано java-11-openjdk-devel для 'java-devel'
MI2a: marked for install (shallow): java-11-openjdk-devel
MI2a:  satisfying Depends: java-11-openjdk = 0:11.0.25.0.9-alt0.c9.1
MI2a:   maybe install (a direct target): java-11-openjdk 
0:11.0.25.0.9-alt0.c9.1@1735979633
MI2a:  target SELECTED: java-11-openjdk 0:11.0.25.0.9-alt0.c9.1@1735979633
MI2a:  requesting to install java-11-openjdk (unspec'd ver; inspect with 
Debug::pkgMark-shallow)
MI2a:    marked for install (shallow): java-11-openjdk
MI2a:     satisfying Depends: java-11-openjdk-headless = 
0:11.0.25.0.9-alt0.c9.1
MI2a:      maybe install (a direct target): java-11-openjdk-headless 
0:11.0.25.0.9-alt0.c9.1@1735979633
MI2a:     target SELECTED: java-11-openjdk-headless 
0:11.0.25.0.9-alt0.c9.1@1735979633
MI2a:     requesting to install java-11-openjdk-headless (unspec'd ver; 
inspect with Debug::pkgMark-shallow)
MI2a:       marked for install (shallow): java-11-openjdk-headless
Starting
Starting 2
Done
Следующие дополнительные пакеты будут установлены:
    java-11-openjdk (11.0.25.0.9-alt0.c9.1@1735979633)
    java-11-openjdk-devel (11.0.25.0.9-alt0.c9.1@1735979633)
    java-11-openjdk-headless (11.0.25.0.9-alt0.c9.1@1735979633)
Следующие НОВЫЕ пакеты будут установлены:
    java-11-openjdk (11.0.25.0.9-alt0.c9.1@1735979633)
    java-11-openjdk-devel (11.0.25.0.9-alt0.c9.1@1735979633)
    java-11-openjdk-headless (11.0.25.0.9-alt0.c9.1@1735979633)
0 будет обновлено, 3 новых установлено, 0 пакетов будет удалено и 0 не 
будет обновлено.
Inst java-11-openjdk-headless (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)
Inst java-11-openjdk (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)
Inst java-11-openjdk-devel (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)
Conf java-11-openjdk-headless (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)
Conf java-11-openjdk (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)
Conf java-11-openjdk-devel (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)

Вопрос: почему apt берёт несуществующий java-devel?

-- 
Andrey Cherepanov
cas@altlinux.org



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

* Re: [devel] p9/с9 и чудесный провайд java-devel
  2025-01-04 15:10 [devel] p9/с9 и чудесный провайд java-devel Andrey Cherepanov
@ 2025-01-04 19:16 ` Leonid Krivoshein
  0 siblings, 0 replies; 2+ messages in thread
From: Leonid Krivoshein @ 2025-01-04 19:16 UTC (permalink / raw)
  To: devel

Привет!

On 1/4/25 18:10, Andrey Cherepanov wrote:
> Собрал java-11-openjdk без провайда java-devel:
>
> cas@basalt RPMS.hasher $ rpm -qp 
> java-11-openjdk-devel-11.0.25.0.9-alt0.c9.1.x86_64.rpm --provides
> java-sdk-11-openjdk = 0:11.0.25.0.9-alt0.c9.1
> java-sdk-11 = 0:11.0.25.0.9-alt0.c9.1
> java-11-devel = 0:11.0.25.0.9-alt0.c9.1
> /usr/share/man/man1/jar.1.gz = 11002509
> /usr/share/man/man1/jarsigner.1.gz = 11002509
> /usr/share/man/man1/javac.1.gz = 11002509
> /usr/share/man/man1/javadoc.1.gz = 11002509
> /usr/share/man/man1/javap.1.gz = 11002509
> /usr/share/man/man1/jconsole.1.gz = 11002509
> /usr/share/man/man1/jdb.1.gz = 11002509
> /usr/share/man/man1/jinfo.1.gz = 11002509
> /usr/share/man/man1/jmap.1.gz = 11002509
> /usr/share/man/man1/jps.1.gz = 11002509
> /usr/share/man/man1/jrunscript.1.gz = 11002509
> /usr/share/man/man1/jstack.1.gz = 11002509
> /usr/share/man/man1/jstat.1.gz = 11002509
> /usr/share/man/man1/jstatd.1.gz = 11002509
> /usr/share/man/man1/rmic.1.gz = 11002509
> /usr/share/man/man1/serialver.1.gz = 11002509
> java-11-openjdk-devel = 0:11.0.25.0.9-alt0.c9.1
>
> Проверяю в хэшернице:
>
> cas@basalt aptbox $ ./apt-cache show java-devel
> Виртуальный пакет java-devel предоставляется следующими пакетами:
>   java-1.8.0-openjdk-devel 
> 0:1.8.0.332.b09-alt0_0.1.eajpp8:c9f2+298976.100.1.1@1650860897
>   java-1.7.0-openjdk-devel 
> 0:1.7.0.221-alt2_2.6.18.0jpp8:p9+234505.100.3.2@1563173125
> You should explicitly select one to show.
> E: Package java-devel is a virtual package with multiple providers.
>
> Устанавливаю в ту же хэшерницу:
>
> cas@basalt aptbox $ ./apt-get -V --dry-run install java-devel
> Чтение списков пакетов... Завершено
> Построение дерева зависимостей... Завершено
> Выбрано java-11-openjdk-devel для 'java-devel'
> MI2a: marked for install (shallow): java-11-openjdk-devel
> MI2a:  satisfying Depends: java-11-openjdk = 0:11.0.25.0.9-alt0.c9.1
> MI2a:   maybe install (a direct target): java-11-openjdk 
> 0:11.0.25.0.9-alt0.c9.1@1735979633
> MI2a:  target SELECTED: java-11-openjdk 
> 0:11.0.25.0.9-alt0.c9.1@1735979633
> MI2a:  requesting to install java-11-openjdk (unspec'd ver; inspect 
> with Debug::pkgMark-shallow)
> MI2a:    marked for install (shallow): java-11-openjdk
> MI2a:     satisfying Depends: java-11-openjdk-headless = 
> 0:11.0.25.0.9-alt0.c9.1
> MI2a:      maybe install (a direct target): java-11-openjdk-headless 
> 0:11.0.25.0.9-alt0.c9.1@1735979633
> MI2a:     target SELECTED: java-11-openjdk-headless 
> 0:11.0.25.0.9-alt0.c9.1@1735979633
> MI2a:     requesting to install java-11-openjdk-headless (unspec'd 
> ver; inspect with Debug::pkgMark-shallow)
> MI2a:       marked for install (shallow): java-11-openjdk-headless
> Starting
> Starting 2
> Done
> Следующие дополнительные пакеты будут установлены:
>    java-11-openjdk (11.0.25.0.9-alt0.c9.1@1735979633)
>    java-11-openjdk-devel (11.0.25.0.9-alt0.c9.1@1735979633)
>    java-11-openjdk-headless (11.0.25.0.9-alt0.c9.1@1735979633)
> Следующие НОВЫЕ пакеты будут установлены:
>    java-11-openjdk (11.0.25.0.9-alt0.c9.1@1735979633)
>    java-11-openjdk-devel (11.0.25.0.9-alt0.c9.1@1735979633)
>    java-11-openjdk-headless (11.0.25.0.9-alt0.c9.1@1735979633)
> 0 будет обновлено, 3 новых установлено, 0 пакетов будет удалено и 0 не 
> будет обновлено.
> Inst java-11-openjdk-headless (0:11.0.25.0.9-alt0.c9.1@1735979633 
> localhost)
> Inst java-11-openjdk (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)
> Inst java-11-openjdk-devel (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)
> Conf java-11-openjdk-headless (0:11.0.25.0.9-alt0.c9.1@1735979633 
> localhost)
> Conf java-11-openjdk (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)
> Conf java-11-openjdk-devel (0:11.0.25.0.9-alt0.c9.1@1735979633 localhost)
>
> Вопрос: почему apt берёт несуществующий java-devel?
>

Может быть такое, что кто-то из aptbox очищает apt-config/окружение, а 
кто-то нет, из-за этого такая разница? Но это первое, что стоит проверить.


-- 
WBR, Leonid Krivoshein.



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

end of thread, other threads:[~2025-01-04 19:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-04 15:10 [devel] p9/с9 и чудесный провайд java-devel Andrey Cherepanov
2025-01-04 19:16 ` Leonid Krivoshein

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