Skip to content

run_dev.sh - updates missing in container #209

@HJGrant

Description

@HJGrant

When I run the run_dev.sh script, my container is successfully built, and I get a terminal inside of the container. But I have noticed, that when I run sudo apt update && sudo apt upgrade I am told that there is 10GB of data that needs to be fetched from the archives. This takes a very long time, but I am forced to do it since my Yolo inference with tensor_rt doesn't work if I do not do this.

Are the docker base images provided by NVIDIA out of date? Or why do I have to upgrade my environment every time with 10GB of data before I can successfully run my pipeline?

I would really appreciate any help I can get with this.

Here you can see my logs:

=> => exporting layers 2.0s
=> => writing image sha256:61a1c174bd663778ad0affab885ab0d20eb19687b9e7b8cbb6f7b1fd9a49d658 0.0s
=> => naming to docker.io/library/isaac_ros_dev-x86_64-seaclear2 0.0s

1 warning found (use docker --debug to expand):

  • InvalidDefaultArgInFrom: Default value for ARG ${BASE_IMAGE} results in empty or invalid base image name (line 3)
    Running isaac_ros_dev-x86_64-seaclear2-container
    Creating non-root container 'admin' for host user uid=1001:gid=1001
  • Stopping hotplug events dispatcher systemd-udevd [ OK ]
  • Starting hotplug events dispatcher systemd-udevd [ OK ]
    To run a command as administrator (user "root"), use "sudo ".
    See "man sudo_root" for details. [+] Building 284.5s (15/34)
    admin@itr-Blade-15-Advanced-Model-Mid-2021-RZ09-0409:/workspaces/oak
    admin@itr-Blade-15-Advanced-Model-Mid-2021-RZ09-0409:/workspaces/oak
    admin@itr-Blade-15-Advanced-Model-Mid-2021-RZ09-0409:/workspaces/oakd_isaac_ros$ sudo apt update
    Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
    Hit:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64 InRelease
    Hit:1 https://repo.download.nvidia.com/jetson/x86_64/jammy r36.4 InRelease
    Hit:4 https://dl.yarnpkg.com/debian stable InRelease
    Hit:5 https://deb.nodesource.com/node_18.x nodistro InRelease
    Hit:6 https://ppa.launchpadcontent.net/mosquitto-dev/mosquitto-ppa/ubuntu jammy InRelease
    Hit:7 https://isaac.download.nvidia.com/isaac-ros/release-3 jammy InRelease
    Hit:8 http://packages.ros.org/ros2/ubuntu jammy InRelease
    Hit:9 http://archive.ubuntu.com/ubuntu jammy InRelease
    Hit:10 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
    Hit:11 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    131 packages can be upgraded. Run 'apt list --upgradable' to see them.
    W: http://repo.download.nvidia.com/jetson/x86_64/jammy/dists/r36.4/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
    W: https://dl.yarnpkg.com/debian/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
    W: https://isaac.download.nvidia.com/isaac-ros/release-3/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
    admin@itr-Blade-15-Advanced-Model-Mid-2021-RZ09-0409:/workspaces/oakd_isaac_ros$ sudo apt upgrade
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    Calculating upgrade... Done
    The following NEW packages will be installed:
    libcudnn9-headers-cuda-12 libnvinfer-headers-python-plugin-dev
    libnvinfer-win-builder-resource10
    The following packages will be upgraded:
    base-files binutils binutils-common binutils-x86-64-linux-gnu cuda-cccl-12-6
    cuda-compat-12-6 cuda-crt-12-6 cuda-cudart-12-6 cuda-cudart-dev-12-6 cuda-cuobjdump-12-6
    cuda-cupti-12-6 cuda-cupti-dev-12-6 cuda-driver-dev-12-6 cuda-gdb-12-6 cuda-nvcc-12-6
    cuda-nvdisasm-12-6 cuda-nvml-dev-12-6 cuda-nvprof-12-6 cuda-nvprune-12-6 cuda-nvrtc-12-6
    cuda-nvrtc-dev-12-6 cuda-nvtx-12-6 cuda-nvvm-12-6 cuda-profiler-api-12-6
    cuda-sanitizer-12-6 cuda-toolkit-12-6-config-common cuda-toolkit-12-config-common
    cuda-toolkit-config-common datacenter-gpu-manager distro-info-data e2fsprogs
    gir1.2-packagekitglib-1.0 git-man gnupg2 iputils-ping libapparmor1 libarchive-dev
    libarchive13 libbinutils libc-bin libc-dev-bin libc6 libc6-dev libc6-i386 libcap2-bin
    libcryptsetup12 libctf-nobfd0 libctf0 libcublas-12-6 libcublas-dev-12-6 libcudnn9-cuda-12
    libcudnn9-dev-cuda-12 libcufft-12-6 libcufft-dev-12-6 libcufile-12-6 libcufile-dev-12-6
    libcurand-12-6 libcurand-dev-12-6 libcurl3-gnutls libcusolver-12-6 libcusolver-dev-12-6
    libcusparse-12-6 libcusparse-dev-12-6 libcusparselt-dev libcusparselt0 libcutensor-dev
    libcutensor2 libdevmapper1.02.1 libexpat1 libexpat1-dev libext2fs2 libglib2.0-data
    libgnutls30 libldap-2.5-0 libnccl-dev libnccl2 libnpp-12-6 libnpp-dev-12-6 libnvinfer-bin
    libnvinfer-dev libnvinfer-dispatch-dev libnvinfer-dispatch10 libnvinfer-headers-dev
    libnvinfer-headers-plugin-dev libnvinfer-lean-dev libnvinfer-lean10 libnvinfer-plugin-dev
    libnvinfer-plugin10 libnvinfer-vc-plugin-dev libnvinfer-vc-plugin10 libnvinfer10
    libnvjitlink-12-6 libnvjitlink-dev-12-6 libnvjpeg-12-6 libnvjpeg-dev-12-6
    libnvonnxparsers-dev libnvonnxparsers10 libpackagekit-glib2-18 libpam-modules
    libpam-modules-bin libpam-runtime libpam0g libperl5.34 libseccomp2 libss2 libssh-4
    libtasn1-6 linux-libc-dev logsave nano openssh-client openssl packagekit perl perl-base
    perl-modules-5.34 python-apt-common python3-apt python3-pkg-resources python3-setuptools
    ros-humble-image-proc ros-humble-moveit-resources
    ros-humble-moveit-resources-fanuc-description
    ros-humble-moveit-resources-fanuc-moveit-config
    ros-humble-moveit-resources-panda-description
    ros-humble-moveit-resources-panda-moveit-config
    ros-humble-moveit-resources-pr2-description ros-humble-negotiated-interfaces
    ros-humble-rclcpp tensorrt-dev xxd
    131 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
    Need to get 10.3 GB of archives.
    After this operation, 2,863 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions