Open ReinhardKeil opened 1 week ago
Describe the bug
cpackget fails to install a required pack with a higher version when a previous pack version is already installed.
To Reproduce
pack Keil::STM32F746G-DISCO_BSP@1.0.0 contains a requirement to Keil::STM32F7xx_DFP@3.0.0
Keil::STM32F746G-DISCO_BSP@1.0.0
Keil::STM32F7xx_DFP@3.0.0
<requirements> <packages> <package vendor="Keil" name="STM32F7xx_DFP" version="3.0.0-0"/>
But when the pack Keil::STM32F7xx_DFP@2.16.0 is already installed, this pack is not downloaded and installed.
Steps to reproduce the behavior:
cpackget add Keil::STM32F7xx_DFP@2.16.0
cpackget add Keil::STM32F746G-DISCO_BSP@1.0.0
Observe that Keil::STM32F7xx_DFP@3.0.0 is not getting installed. This is different when Keil::STM32F7xx_DFP@2.16.0 is missing.
Expected behavior
The pack Keil::STM32F7xx_DFP@3.0.0 should be always installed.
Environment:
Describe the bug
cpackget fails to install a required pack with a higher version when a previous pack version is already installed.
To Reproduce
pack
Keil::STM32F746G-DISCO_BSP@1.0.0
contains a requirement toKeil::STM32F7xx_DFP@3.0.0
But when the pack Keil::STM32F7xx_DFP@2.16.0 is already installed, this pack is not downloaded and installed.
Steps to reproduce the behavior:
cpackget add Keil::STM32F7xx_DFP@2.16.0
cpackget add Keil::STM32F746G-DISCO_BSP@1.0.0
Observe that Keil::STM32F7xx_DFP@3.0.0 is not getting installed. This is different when Keil::STM32F7xx_DFP@2.16.0 is missing.
Expected behavior
The pack Keil::STM32F7xx_DFP@3.0.0 should be always installed.
Environment: