DPKG was interrupted

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Husse

Post by Husse »

requires superuser privilege
That is the magic sudo command. So put sudo in front of the command and it'll work.
If the problem isn't solved post back
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Post by Husse »

If you installed and had a power failure you could get really funny results :)
I have a solution here that may work.

Code: Select all

This occurs when the *.bin files in

/var/cache/apt/

become corrupted. Why they become corrupted seems to be a mystery ...
The solution is to delete all  *.bin files in that directory (which requires using sudo). After doing that, both Synaptic and apt-get should work fine. 
Delete sudo rm path_to_file/file
Be careful with what you do.
After doing that run

Code: Select all

dpkg --configure -a
again to be sure.
Locked

Return to “Other topics”