Quick troubleshooting view
APT refuses to continue because dpkg has been interrupted or a partially configured state remains.
- stop or reboot during installation
- concurrent apt process
- broken package
- Checking processes
- Control the space
- Finish Configuration
- let the active process be completed
- free from space if necessary
- complete the dpkg configuration
Contextual technician plan
S, ensure that no legitimate apt/dpkg is still active.
ps aux | grep -E 'apt|dpkg'The command should complete without an unexpected error and return data consistent with the intended service.
If the result is normal, keep this layer lower in the hypothesis ranking and continue with the next discriminating check.
If the result is abnormal, preserve the output and investigate this layer before making broader changes.
Check /, /var and inodes.
df -hThe relevant volume should have sufficient free space for normal operation.
Capacity is not the immediate blocker; continue with the next hypothesis.
Identify what consumes space and free/extend capacity with a controlled change plan.
Run dpkg --configure -a after eliminating causes.
df -iThe relevant volume should have sufficient free space for normal operation.
Capacity is not the immediate blocker; continue with the next hypothesis.
Identify what consumes space and free/extend capacity with a controlled change plan.
Use apt -f install if necessary.
sudo dpkg --configure -aThe command should complete without an unexpected error and return data consistent with the intended service.
If the result is normal, keep this layer lower in the hypothesis ranking and continue with the next discriminating check.
If the result is abnormal, preserve the output and investigate this layer before making broader changes.
Repeat the same validation test after the correction and confirm the original symptom is gone. Validate stability before closing the incident.
Before changing configuration, record the current value and a way back.
Escalader if dpkg still fails on the same critical system package or if the file system has errors.
APT refuses to continue because dpkg has been interrupted or a partially configured state remains.
Causes probables
- stop or reboot during installation
- concurrent apt process
- broken package
- insufficient disk space
Diagnostic étape par étape
- 1
Checking processes
S, ensure that no legitimate apt/dpkg is still active.
- 2
Control the space
Check /, /var and inodes.
- 3
Finish Configuration
Run dpkg --configure -a after eliminating causes.
- 4
Repair dependencies
Use apt -f install if necessary.
Commands utiles
ps aux | grep -E 'apt|dpkg'df -hdf -isudo dpkg --configure -asudo apt -f installSolutions possibles
- let the active process be completed
- free from space if necessary
- complete the dpkg configuration
- correct the wrong package before resuming updates
Escalader if dpkg still fails on the same critical system package or if the file system has errors.