When I try to update the system or install updates through:

sudo apt update; sudo apt upgrade -y;

I get an error:

Sub-process /usr/bin/dpkg returned an error code (1)
When processing the following packages, errors occurred:

I suppressed this error by freezing the package via aptitude, but can we somehow really solve this problem?

1 Answer 1


Solved the problem when I found the broken "deb" package in "/var/cache/apt/archives" and deleted it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.