2

When trying to install or update packages, I got the following error:

dpkg: error processing package libssl1.1:amd64 (--configure):

installed libssl1.1:amd64 package post-installation script subprocess returned error exit status 10

Errors occurred while processing the following packets: libssl1.1:amd64

E: Sub-process /usr/bin/dpkg returned an error code (1)

I did:

sudo dpkg --configure -a

sudo apt-get install -f

Do I need reinstall dpkg?

2 Answers 2

5

I was stucked in the same problem. I tried this and worked to me:

cd /var/lib/dpkg/info
sudo rm libssl1.1:amd64.postinst libssl1.1:amd64.shlibs libssl1.1:amd64.postrm
sudo apt update && sudo apt upgrade

got from linuxquestions.org forum.

2
  • This helped, thank you very much.
    – Alex
    Commented Jun 20, 2019 at 10:17
  • Hey it worked !! Thanks dude
    – user190999
    Commented Jun 23, 2019 at 19:54
0

try sudo rm /var/cache/debconf/*.dat it will rebuild the .dat files when you run apt-get again. credit

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .