1. Problem: There is a dependency problem during the Ubuntu software installation process
“E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).”
The following two commands as instructed did not solve the problem.
sudo apt-get -f install
sudo apt-get --fix-broken install
Instead, the problem of “DPkg-deb: error: paste subprocess was killed by signal (Broken pipe)” appeared again
Preparing to unpack .../ros-melodic-moveit-core_0.10.8-0bionic.20181227.040044_amd64.deb ...
Unpacking ros-melodic-moveit-core (0.10.8-0bionic.20181227.040044) over (0.10.5-0bionic.20181117.193206) ...
dpkg: error processing archive /var/cache/apt/archives/ros-melodic-moveit-core_0.10.8-0bionic.20181227.040044_amd64.deb (--unpack):
trying to overwrite '/opt/ros/melodic/include/moveit/collision_distance_field/collision_detector_allocator_distance_field.h', which is also in package ros-melodic-moveit-experimental 0.10.5-0bionic.20181117.194840
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/ros-melodic-moveit-core_0.10.8-0bionic.20181227.040044_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Final solution:
sudo apt-get autoremove ros-melodic-moveie-experimental
sudo apt-get -f install
Postscript: the origin of this problem is a legacy problem that occurred when installing ros under ubuntu18.04. As it had no impact on normal software installation, it was abandoned. However, today when installing teamviewer, I encountered a dependency problem and reported an error when -f install could not be performed. After many unsuccessful attempts to re-install ROS, I unexpectedly purge the command and failed to execute. As a result, The problem is overwhelming and I have little knowledge of the system.
Read More:
- dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- dpkg:error: dpkg frontend is locked by another process
- dpkg: error: dpkg frontend is locked by another process
- Python TCP socket programming: send returns broken pipe error?
- Solution to Tomcat’s broken pipe error
- SSH write failed broken pipe
- java.net.SocketException: Broken pipe (Write failed)
- Failed sending reply to debugger: Broken pipe
- E / Art: failed sending reply to debugger: a solution to broken pipe
- How to Solve Error: The emulator process for AVD was killed.
- Solution of dpkg interrupted problem
- Dpkg: error processing package XXX (- – configure) solution (red warning in the upper right corner of Ubuntu)
- Error handling of apt instruction e: unmet dependencies. Try ‘apt — fix broken install’ with no packages in Ubuntu 20.04
- Dpkg: error processing package XXX solution
- Ubuntu error: flAbsPath on /var/lib/dpkg/status failed – realpath (2: No such file or directory)
- flAbsPath on /var/lib/dpkg/status failed – realpath
- Use subprocess to execute the command line, and the pipeline is blocked
- E: sub process / usr / bin / dpkg returned an error code (2) solution under Ubuntu
- dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.9_i386.deb (–u