1. Problem description
The following error occurred while attempting to install CUDA 10.2 on Ubuntu 18.04
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
2. Problem solving
1. Open the terminal and input sudo dpkg - I -- force overwrite XXX
sudo dpkg -i --force-overwrite /var/cache/apt/archives/nvidia-cuda-dev_9.1.85-3ubuntu1_amd64.deb
2. Repair the damaged package
sudo apt-get -f install
3. Sprinkle flowers after completion
Read More:
- [How to Fix] 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
- Solution to Tomcat’s broken pipe error
- SSH write failed broken pipe
- Failed sending reply to debugger: Broken pipe
- java.net.SocketException: Broken pipe (Write failed)
- Python TCP socket programming: send returns broken pipe error?
- E / Art: failed sending reply to debugger: a solution to broken pipe
- How to Solve Error: The emulator process for AVD was killed.
- dpkg: error processing archive /var/cache/apt/archives/libc6-dev-amd64_2.19-0ubuntu6.9_i386.deb (–u
- Dpkg: error processing package XXX (- – configure) solution (red warning in the upper right corner of Ubuntu)
- E: sub process / usr / bin / dpkg returned an error code (2) solution under Ubuntu
- Solution of dpkg interrupted problem
- 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
- Error handling of apt instruction e: unmet dependencies. Try ‘apt — fix broken install’ with no packages in Ubuntu 20.04
- 12 days after the programmer was dismissed by the company, the former leader asked to go back to the company to explain the code clearly, but he was confused
- Solve the red letter prompt “sub process / usr / bin / dpkg returned an error code (2) in Cydia