root@ubuntu:~# apt-get remove java-1.8.0-openjdk
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@ubuntu:~# rm /var/lib/dpkg/lock
root@ubuntu:~# apt-get remove java-1.8.0-openjdk
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
root@ubuntu:~# rm /var/lib/dpkg/updates/*
root@ubuntu:~# apt-get remove java-1.8.0-openjdk
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package java-1.8.0-openjdk
E: Couldn't find any package by glob 'java-1.8.0-openjdk'
E: Couldn't find any package by regex 'java-1.8.0-openjdk'
# At this point: the deletion is complete.
Similar Posts:
- [Solved] Dpkg: error: dpkg status database is locked by another process
- Error reporting in Ubuntu apt get upgrade [How to Solve]
- [Solved] dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
- Could not open lock file/var/lib/dpkg/lock [How to Solve]
- [Solved] Err:12 http://security.ubuntu.com/ubuntu focal-updates/main amd64 openjdk-11-jre-headless amd64 11.0.11+9-0ubuntu2~20.04 404 Not Found [IP: 91.189.88.152 80]
- Ubuntu 16.04 troubleshooting MySQL error [How to Solve]
- ubuntu Resource temporarily unavailable (Could …
- [Solved] E: Sub-process /usr/bin/dpkg returned an error code (1)
- [Solved] Apt-get -f install Error: No apport report written because MaxReports is reached already Errors were…