From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <351ce625-266b-4a62-a50c-4dc73e1ade48@altlinux.org> Date: Sat, 4 Jan 2025 18:10:45 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: ALT Linux Team development discussions Content-Language: ru From: Andrey Cherepanov Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: [devel] =?utf-8?b?cDkv0YE5INC4INGH0YPQtNC10YHQvdGL0Lkg0L/RgNC+?= =?utf-8?b?0LLQsNC50LQgamF2YS1kZXZlbA==?= X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jan 2025 15:10:46 -0000 Archived-At: List-Archive: List-Post: Собрал 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