ubuntu20.04安装ros2后再安装ros1报错
-
debconf: 因为并未安装 apt-utils,所以软件包的设定过程将被推迟
正在选中未选择的软件包 fonts-lato。
dpkg: 无法恢复的致命错误,中止:
正在载入软件包 snapd 的文件列表: 无法打开 /var/lib/dpkg/info/snapd.list (错误的
消息)
E: Sub-process /usr/bin/dpkg returned an error code (2)
Run CMD Task:[sudo apt install ros-noetic-desktop-full -y]
libthai-doc fancontrol read-edid libmail-box-perl python-nose-doc libgle3 r[|] libignition-tools-dev libignition-transport8 libignition-transport8-core-de[] libprotoc-dev libprotoc17 libqwt-qt5-6 libqwt-qt5-dev libruby2.7 libsctp-de[|] ros-noetic-rosmake ros-noetic-rosmaster ros-noetic-rosmsg ros-noetic-rosnod[|] ros-noetic-smach-ros ros-noetic-smclib ros-noetic-stage ros-noetic-stage-ro[/]升级了 5 个软件包,新安装了 435 个软件包, 要卸载 0 个软件包,有 477 个软件包[] 正在载入软件包 snapd 的文件列表: 无法打开 /var/lib/dpkg/info/snapd.list (错[-]Result:code:100Run CMD Task:[sudo apt-cache search python3-catkin-tools ]
[-]Result:success for working with catkin.Run CMD Task:[sudo apt install python3-catkin-tools -y]
正在载入软件包 snapd 的文件列表: 无法打开 /var/lib/dpkg/info/snapd.list (错[-]Result:code:100Run CMD Task:[sudo apt-cache search python3-rosdep ]
[]python3-rosdep2 - rosdep package manager abstraction tool for Robot OS (Pytho[-]Result:success anager abstraction tool for ROSRun CMD Task:[sudo apt install python3-rosdep -y]
[-]升级了 0 个软件包,新安装了 0 个软件包, 要卸载 0 个软件包,有 482 个软件包未[-]Result:successRun CMD Task:[ls /opt/ros/noetic/setup.bash]
[-]Result:code:2安装失败了,请打开鱼香社区:https://fishros.org.cn/forum 在一键安装专区反馈问题...
Run CMD Task:[ls /opt/ros/noetic/setup.bash]
[-]Result:code:2 -
@2215324833 在 ubuntu20.04安装ros2后再安装ros1报错 中说:
debconf: 因为并未安装 apt-utils,所以软件包的设定过程将被推迟
正在选中未选择的软件包 fonts-lato。
dpkg: 无法恢复的致命错误,中止:
正在载入软件包 snapd 的文件列表: 无法打开 /var/lib/dpkg/info/snapd.list (错误的
消息)是否安装书法之类的,感觉是某些东西损坏了
-
@2215324833
把下面的内容,替换 /var/lib/dpkg/info/snapd.list 。可能是这个文件损坏了下面的内容是我的ubuntu上面的
/. /etc /etc/apparmor.d /etc/apparmor.d/usr.lib.snapd.snap-confine.real /etc/apt /etc/apt/apt.conf.d /etc/apt/apt.conf.d/20snapd.conf /etc/profile.d /etc/profile.d/apps-bin-path.sh /etc/xdg /etc/xdg/autostart /etc/xdg/autostart/snap-userd-autostart.desktop /lib /lib/systemd /lib/systemd/system /lib/systemd/system/snapd.aa-prompt-listener.service /lib/systemd/system/snapd.apparmor.service /lib/systemd/system/snapd.autoimport.service /lib/systemd/system/snapd.core-fixup.service /lib/systemd/system/snapd.failure.service /lib/systemd/system/snapd.mounts-pre.target /lib/systemd/system/snapd.mounts.target /lib/systemd/system/snapd.recovery-chooser-trigger.service /lib/systemd/system/snapd.seeded.service /lib/systemd/system/snapd.service /lib/systemd/system/snapd.snap-repair.service /lib/systemd/system/snapd.snap-repair.timer /lib/systemd/system/snapd.socket /lib/systemd/system/snapd.system-shutdown.service /lib/systemd/system-generators /lib/systemd/system-generators/snapd-generator /lib/udev /lib/udev/rules.d /lib/udev/rules.d/66-snapd-autoimport.rules /snap /usr /usr/bin /usr/bin/snap /usr/bin/snapfuse /usr/lib /usr/lib/environment.d /usr/lib/environment.d/990-snapd.conf /usr/lib/snapd /usr/lib/snapd/complete.sh /usr/lib/snapd/etelpmoc.sh /usr/lib/snapd/info /usr/lib/snapd/snap-bootstrap /usr/lib/snapd/snap-confine /usr/lib/snapd/snap-device-helper /usr/lib/snapd/snap-discard-ns /usr/lib/snapd/snap-exec /usr/lib/snapd/snap-failure /usr/lib/snapd/snap-fde-keymgr /usr/lib/snapd/snap-gdb-shim /usr/lib/snapd/snap-gdbserver-shim /usr/lib/snapd/snap-mgmt /usr/lib/snapd/snap-preseed /usr/lib/snapd/snap-recovery-chooser /usr/lib/snapd/snap-repair /usr/lib/snapd/snap-seccomp /usr/lib/snapd/snap-update-ns /usr/lib/snapd/snapctl /usr/lib/snapd/snapd /usr/lib/snapd/snapd-aa-prompt-listener /usr/lib/snapd/snapd-aa-prompt-ui /usr/lib/snapd/snapd-apparmor /usr/lib/snapd/snapd.core-fixup.sh /usr/lib/snapd/snapd.run-from-snap /usr/lib/snapd/system-shutdown /usr/lib/systemd /usr/lib/systemd/system-environment-generators /usr/lib/systemd/system-environment-generators/snapd-env-generator /usr/lib/systemd/user /usr/lib/systemd/user/snapd.aa-prompt-ui.service /usr/lib/systemd/user/snapd.session-agent.service /usr/lib/systemd/user/snapd.session-agent.socket /usr/lib/systemd/user/sockets.target.wants /usr/lib/tmpfiles.d /usr/lib/tmpfiles.d/snapd.conf /usr/share /usr/share/applications /usr/share/applications/io.snapcraft.SessionAgent.desktop /usr/share/applications/snap-handle-link.desktop /usr/share/bash-completion /usr/share/bash-completion/completions /usr/share/bash-completion/completions/snap /usr/share/dbus-1 /usr/share/dbus-1/services /usr/share/dbus-1/services/io.snapcraft.Launcher.service /usr/share/dbus-1/services/io.snapcraft.Prompt.service /usr/share/dbus-1/services/io.snapcraft.SessionAgent.service /usr/share/dbus-1/services/io.snapcraft.Settings.service /usr/share/dbus-1/session.d /usr/share/dbus-1/session.d/snapd.session-services.conf /usr/share/dbus-1/system.d /usr/share/dbus-1/system.d/snapd.system-services.conf /usr/share/doc /usr/share/doc/snapd /usr/share/doc/snapd/changelog.gz /usr/share/doc/snapd/copyright /usr/share/fish /usr/share/fish/vendor_conf.d /usr/share/fish/vendor_conf.d/snapd.fish /usr/share/man /usr/share/man/man8 /usr/share/man/man8/snap-confine.8.gz /usr/share/man/man8/snap-discard-ns.8.gz /usr/share/man/man8/snap.8.gz /usr/share/man/man8/snapd-env-generator.8.gz /usr/share/polkit-1 /usr/share/polkit-1/actions /usr/share/polkit-1/actions/io.snapcraft.snapd.policy /usr/share/zsh /usr/share/zsh/vendor-completions /usr/share/zsh/vendor-completions/_snap /var /var/cache /var/cache/snapd /var/lib /var/lib/snapd /var/lib/snapd/apparmor /var/lib/snapd/apparmor/snap-confine /var/lib/snapd/auto-import /var/lib/snapd/dbus-1 /var/lib/snapd/dbus-1/services /var/lib/snapd/dbus-1/system-services /var/lib/snapd/desktop /var/lib/snapd/desktop/applications /var/lib/snapd/environment /var/lib/snapd/firstboot /var/lib/snapd/hostfs /var/lib/snapd/inhibit /var/lib/snapd/lib /var/lib/snapd/lib/gl /var/lib/snapd/lib/gl32 /var/lib/snapd/lib/glvnd /var/lib/snapd/lib/vulkan /var/lib/snapd/snaps /var/lib/snapd/snaps/partial /var/lib/snapd/ssl /var/lib/snapd/ssl/store-certs /var/lib/snapd/void /var/snap /lib/udev/snappy-app-dev /usr/bin/snapctl /usr/bin/ubuntu-core-launcher /usr/lib/systemd/user/sockets.target.wants/snapd.session-agent.socket
-
@2215324833 在 ubuntu20.04安装ros2后再安装ros1报错 中说:
正在载入软件包 snapd 的文件列表:
snap在国内的服务十分不稳定。
firefox就是用snap安装的