How to handle dpkg was interrupted error?
What you need to do is repair DPKG with following command:
sudo dpkg --configure -a
Hope this helps
ubuntu error when install app E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem
Well, just follow what the command says. Try to run 'sudo dpkg --configure -a'
how to tell dpkg to NOT to download / install a broken source?
You need to define does this package depends on something and do you need it. If not just force to purge it with
aptitude purge oracle-java7-installer
or even
dpkg --force-all --purge oracle-java7-installer
If you need it try to determine why it is broken. Due to your posted error there is broken script in installer. So you'll need to fix it. The simplest way is to unpack it, fix script and repack. After that install should success.
`dpkg --configure -a` hangs
This is a confirmed bug.
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1621336
A workaround is listed:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1621336/comments/4
Adding the workaround from Axel Kämpfe since the links seems to be broken:
- Start a rootshell with "sudo -i"
- Run
echo "bash -c 'service snapd.boot-ok start'" | at now + 4 min
- Then run
apt install snapd
(if it argues about canceled dpkg processes use thedpkg --configure -a
. Then wait for at least 4 minutes. The hanging should gone then.
Good luck! :)
/Patrik
Related Topics
How to Add an Icon to The Bash Prompt
Apache Httpd VS. Tomcat 7: Port 80 VS. Port 8080
What Is The Meaning of This Macro _Ior(My_Macig, 0, Int)
Siege Aborted Due to Excessive Socket Failure
What Does "No More Variables Left in This Mib View" Mean (Linux)
How to Remove Special Characters in File Names
Calculate Total Disk I/O by a Single Process
Crystalspace VS. Irrlicht VS. .....
Jenkins Failed to Start in Linux
How to Give File Permission to a Specific User in a Group
Expect, Interact and Then Again Expect
Install Library in Home Directory
How to Add Export Statement in a Bash_Profile File
Adjust Audio Volume Level with Cli Omxplayer - Raspberry Pi
Securing Udp - Openssl or Gnutls or ...
Is Swarm Required for Using Multi-Host Networking Feature Using Overlay in Docker
Distro for Linux Kernel Development
Angular Cli App Not Running When Deploying to Linux App Service