From: Andrey Cherepanov <cas@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: [devel] p9/с9 и чудесный провайд java-devel Date: Sat, 4 Jan 2025 18:10:45 +0300 Message-ID: <351ce625-266b-4a62-a50c-4dc73e1ade48@altlinux.org> (raw) Собрал 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
next reply other threads:[~2025-01-04 15:10 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2025-01-04 15:10 Andrey Cherepanov [this message] 2025-01-04 19:16 ` Leonid Krivoshein
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=351ce625-266b-4a62-a50c-4dc73e1ade48@altlinux.org \ --to=cas@altlinux.org \ --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