sudo apt install ros-humble-rosbag2-cpp Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be upgraded: ros-humble-rosbag2-cpp 1 upgraded, 0 newly installed, 0 to remove and 147 not upgraded. Need to get 188 kB of archives. After this operation, 4,096 B of additional disk space will be used. Err:1 http://packages.ros.org/ros2/ubuntu jammy/main arm64 ros-humble-rosbag2-cpp arm64 0.15.7-1jammy.20230822.212617 404 Not Found [IP: 64.50.236.52 80] E: Failed to fetch http://packages.ros.org/ros2/ubuntu/pool/main/r/ros-humble-rosbag2-cpp/ros-humble-rosbag2-cpp_0.15.7-1jammy.20230822.212617_arm64.deb 404 Not Found [IP: 64.50.236.52 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
存储库未更新:您的本地APT存储库索引可能已经过时。首先,尝试更新您的存储库:
sudo apt update