dpkg: error processing archive /var/cache/apt/archives/ros-kinetic-assisted-teleop_0.2.1-0xenial-20190320-212004-0800_amd64.deb (–unpack):
trying to overwrite ‘/opt/ros/kinetic/lib/liblaser_scan_filters.so’, which is also in package ros-kinetic-laser-filters 1.8.5-0xenial-20190320-160450-0800
Errors were encountered while processing:
/var/cache/apt/archives/ros-kinetic-assisted-teleop_0.2.1-0xenial-20190320-212004-0800_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
安装ros move base时候出现这个错误,处理方法是:
执行如下命令,强制覆盖安装错误的内容
sudo dpkg -i --force-overwrite /var/cache/apt/archives/ros-kinetic-assisted-teleop_0.2.1-0xenial-20190320-212004-0800_amd64.deb