Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second run of setup-dev-env.sh fails #35

Open
3 tasks done
aohsato opened this issue Jun 29, 2023 · 1 comment
Open
3 tasks done

Second run of setup-dev-env.sh fails #35

aohsato opened this issue Jun 29, 2023 · 1 comment

Comments

@aohsato
Copy link
Collaborator

aohsato commented Jun 29, 2023

Checklist

  • I've read the contribution guidelines.
  • I've searched other issues and no duplicate issues were found.
  • I'm convinced that this is not my fault but a bug.

Description

The second run of setup-dev-env.sh fails in CUDA installation step. The first run was successful and this fails occured after rebooting.

Expected behavior

Running setup-dev-env.sh completes with no problems.

Actual behavior

autoware@ros-desktop:~/edge-auto-jetson$ ./setup-dev-env.sh 
Updating python and installing ansible modules.
[sudo] password for autoware: 
Running ansible playbook to setup ECU.
BECOME password: 
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost
does not match 'all'
[Warning] Do you want to install/update the TIER IV camera driver? [y/N]: N
[Warning] Do you want to configure the network? This configuration may overwrite the IP address of the specific network interface [y/N]: N

PLAY [Setup perception ECU] *******************************************************************************

TASK [Gathering Facts] ************************************************************************************
ok: [localhost]

TASK [autoware : Add settings to autoware.env] ************************************************************
ok: [localhost]

TASK [autoware : Add sourcing command in user's bashrc] ***************************************************
ok: [localhost]

TASK [cuda : Install apt packages] ************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Failed to update apt cache: W:Updating from such a repository can't be done securely, and is therefore disabled by default., W:See apt-secure(8) manpage for repository creation and user configuration details., E:The repository 'https://apt.kitware.com/ubuntu bionic Release' no longer has a Release file."}

PLAY RECAP ************************************************************************************************
localhost                  : ok=3    changed=0    unreachable=0    failed=1    skipped=0    rescued=0    ignored=0   

Failed.

Steps to reproduce

  1. 1st execute setup-dev-env.sh.
  2. reboot
  3. 2nd execute setup-dev-env.sh

Versions

  • ECU: ADLINK RQX-58G
  • NVIDIA L4T: R32.6.1 (including Ubuntu 18.04)
  • ROS: ROS2 Humble (native build)

Possible causes

No response

Additional context

No response

@aohsato
Copy link
Collaborator Author

aohsato commented Jul 18, 2023

Current error msg on my environment.

TASK [cuda : Install apt packages] ********************************************************************************************************************
fatal: [localhost]: FAILED! => {"cache_update_time": 1689665079, "cache_updated": true, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\"       install 'nvidia-jetpack=4.6-b199'' failed: E: Unable to correct problems, you have held broken packages.\n", "rc": 100, "stderr": "E: Unable to correct problems, you have held broken packages.\n", "stderr_lines": ["E: Unable to correct problems, you have held broken packages."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n nvidia-jetpack : Depends: nvidia-opencv (= 4.6-b199) but it is not going to be installed\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "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:", " nvidia-jetpack : Depends: nvidia-opencv (= 4.6-b199) but it is not going to be installed"]}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant