project-chip / certification-tool

A test harness and tooling designed to simplify development, testing, and certification for devices, guided by the Connectivity Standards Alliance.
https://csa-iot.org/
Apache License 2.0
42 stars 24 forks source link

[v2.10.2+spring2024] V1.3 TH installation is failing due to the python3-pip (= 22.0.2+dfsg-1ubuntu0.4) version is not available currently. #482

Open KishokG opened 2 weeks ago

KishokG commented 2 weeks ago

Describe the bug

While running ./scripts/pi-setup/auto-install.sh getting below error:

Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies: > satisfy:command-line : Depends: python3-pip (= 22.0.2+dfsg-1ubuntu0.4) but 22.0.2+dfsg-1ubuntu0.5 is to be installed E: Unable to correct problems, you have held broken packages.

Exit with Error

Steps to reproduce the behavior

  1. Install the Ubuntu Server 22.04 LTS (64-bit) in the SD card.
  2. After the SD card has been flashed, place it in the Raspberry Pi’s memory card slot.
  3. Power on the Raspberry Pi and ensure that the local area network, display monitor and keyboard are connected.
  4. git clone -b v2.10.2+spring2024 https://github.com/project-chip/certification-tool.git
  5. cd certification-tool
  6. git submodule update --init --recursive
  7. ./scripts/pi-setup/auto-install.sh

Expected behavior

Th should be installed without an issues.

Environment

RPI

Additional Information

Solution:

As the python3-pip (=22.0.2+dfsg-1ubuntu0.4) version is out dated, I've updated the 1-install-dependendcies.sh file by modifying package version manually from "python3-pip (=22.0.2+dfsg-1ubuntu0.4)" to "python3-pip (>=22.0.2+dfsg-1ubuntu0.5)" which is available in ~/certification-tool/scripts/ubuntu$ and the TH installation is completed without an issue.

sander-gitl commented 2 weeks ago

https://github.com/project-chip/certification-tool/pull/481 fixes this - CCB 4146