Ubuntu 24.04 - rosdep fails on libcurl4-dev
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- docker, shell, ubuntu
- Lĩnh vực
- build-system, devops
Hướng nghiên cứu
Tái hiện lỗi với image Docker ros:jazzy-ros-core-noble trên arm64 bằng các lệnh rosdep và colcon được nêu. Kiểm tra cách dependency libcurl4-dev được phân giải cho Ubuntu Noble; được xem là hoàn tất khi rosdep install và quá trình build micro-ROS agent tiếp theo hoàn tất mà không cần can thiệp thủ công, hoặc workaround cho Noble được ghi lại.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Issue
When building micro_ros_setup for ROS 2 Jazzy on Ubuntu 24.04 Noble (e.g. using the ros:jazzy-ros-core-noble Docker image), I ran into a dependency resolution issue caused by a change in how Ubuntu 24.04 handles libcurl4-dev.
Since this may affect other users, I wanted to document the problem and the workaround to help others save time.
- Hardware description: Custom Docker container -
ros:jazzy-ros-core-nobleon arm64 - Installation type:
micro_ros_setup - Version or commit hash:
jazzy- latest (June 2025)
Steps to reproduce the issue
- Use
ros:jazzy-ros-core-nobleas base image in Dockerfile - Build
micro_ros_setupfollowing docs:
RUN . /opt/ros/jazzy/setup.sh && \
mkdir uros_ws && cd uros_ws && \
git clone -b jazzy https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup && \
rosdep update && rosdep install --from-paths src --ignore-src -y
See rosdep fail:
E: Unable to locate package libcurl4-openssl-dev
ERROR: the following rosdeps failed to install
apt: command [apt-get install -y libcurl4-openssl-dev] failed
Expected behavior
rosdep install resolves dependencies on Noble and build proceeds.
Actual behavior
Fails because in Noble libcurl4-dev is virtual; user must manually install libcurl4-openssl-dev first.
Additional information
Workaround
RUN apt-get update && apt-get install -y --no-install-recommends libcurl4-openssl-dev
Then the build completes as expected:
RUN . /opt/ros/jazzy/setup.sh && \
mkdir uros_ws && cd uros_ws && \
git clone -b jazzy https://github.com/micro-ROS/micro_ros_setup.git src/micro_ros_setup && \
rosdep update && rosdep install --from-paths src --ignore-src -y && \
colcon build && \
. install/local_setup.sh && \
ros2 run micro_ros_setup create_agent_ws.sh && \
ros2 run micro_ros_setup build_agent.sh
Possible solution - add os-specific dependency entry for Ubuntu 24.04, or note in docs.
- Ngôn ngữ chính
- Shell
- Star
- 509
- Fork
- 183
- Merge trung bình
- 22 giờ 26 phút
- Pull request đã merge (30 ngày)
- 7
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của micro-ROS/micro_ros_setup
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
micro-ROS/micro_ros_setup#837 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
micro-ROS/micro_ros_setup#814 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
micro-ROS/micro_ros_setup#809 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
micro-ROS/micro_ros_setup#808 · 2 bình luận ·
-
sensor msgs dependencies Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
micro-ROS/micro_ros_setup#806 ·
Tất cả issue của micro-ROS/micro_ros_setup
Issue tương tự
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Đang mởarea: harness bug status: needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Human-Agent-Society/reef#625 ·
-
module: core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
bigbluebutton/bigbluebutton#25849 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vercel-labs/just-bash#464 ·
-
area:sandbox documentation enhancement platform:linux
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
anthropics/claude-code#96664 ·
-
cost:cheap severity:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
fairagro/m4.2_sql_to_arc#227 ·