foreword
When using the Ubuntu environment to sudo apt-get install
install package, an error will be reported
XXX is the installation package
copy code
dpkg:error processing package XXX (--configure):
subprocess installed post-installation script returned error exit status 10
The reason for the error is actually a permission problem
Solution:
copy code
# If this error has already occurred, you need to delete these leftover packages that you just downloaded and download them again
sudo rm /var/lib/dpkg/info/XXX*
sudo dpkg --configure -D 777 XXX
# Repairing installer dependencies
sudo apt-get -f install
Read More:
- [Solved] Ubuntu Terminal Error: subprocess installed post-installation script returned error exit status 1
- subprocess installed post-installation script returned error exit status 1
- [problem solving] the problem of err returned non zero status 1 or status 2 is solved after upgrading python3 in Ubuntu
- C++ Compile Error: ld returned 1 exit status [How to Solve]
- [Solved] Any Softwares Install Error in Ubuntu: /usr/bin/dpkg returned an error code
- Ubuntu sub process/usr/bin/dpkg returned an error code (1) solution
- [Solved] Nvml compilation official use case error: collect2: error: ld returned 1 exit status
- [Solved] Apex Install Error: ERROR: Command errored out with exit status 1
- Ubuntu Error: dpkg: error processing package mysql-community-server (–configure):
- Ubuntu update source error: E: Problem executing scripts APT::Update::Post-Invoke-Success…
- How to Fix Linux sub process /usr/bin/dpkg returned an error code (1)
- [Solved] ERROR: Command errored out with exit status 128: git clone -q
- Ubuntu 20.04 Desktop Install sublime-text Error: “Certificate verification failed”
- Ubuntu shell Script syntax error near unexpected token `$‘{\r‘‘
- How to Solve Xmind Install Error in Ubuntu System
- [Solved] dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- Ubuntu18.04 Install ROS Error: rosdep update [How to Solve]
- [Solved] Ubuntu 20.04 install MATLAB and toolbox permissions Error
- Ubuntu Server: How to Install Chrome
- Apex library Install Error: amp not installed error [How to Solve]