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

[Bug] Can't install "2.10.2-spring2024" Version #479

Open ksharf opened 3 weeks ago

ksharf commented 3 weeks ago

Describe the bug

Clone the git without issue, then when running:

./scripts/pi-setup/auto-install.sh

get an error:

_can't read /etc/needrestart/needrestart.conf: No such file or directory__

Steps to reproduce the behavior

  1. git clone -b v2.10.2+spring2024 https://github.com/project-chip/certification-tool.git
  2. cd certification-tool
  3. ./scripts/pi-setup/auto-install.sh

Expected behavior

Install to commence

Log files

No response

PICS file

No response

Screenshots

No response

Environment

TH version: 2.10.2 Raspberry-pi 4 OS: Ubuntu 20.04.5 LTS 64-bit

Additional Information

No response

ksharf commented 3 weeks ago

Realised incorrect version of Ubuntu, will try again with 22.04.05

ksharf commented 3 weeks ago

Tried with 22.04.5, and install started. However, I get the following error: satisfy:command-line : Depends: python3-pip (= 22.0.2+dfsg-1ubuntu0.4) but it is not going to be installed E: Unable to correct problems, you have held broken packages TH error

ksharf commented 2 weeks ago

I managed to get the install to work by changing the ~/certification-tool/scripts/ubuntu/1-install-dependendcies.sh
_- "python3-pip (=22.0.2+dfg-1ubuntu0.4)"

The install also gave an error for poetry: command not found

poetry for python can be installed using: pip install poetry

Then perform autoinstall.sh again

python install can be checked using: python3 -version