hackingtool icon indicating copy to clipboard operation
hackingtool copied to clipboard

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

Open dragonxzcay opened this issue 2 years ago • 2 comments
trafficstars

After I run the command "sudo bash install.sh" I get the error "Errors were encountered while processing: /var/cache/apt/archives/postgresql-15_15.4-3_arm64.deb E: Sub-process /usr/bin/dpkg returned an error code (1)" IMG_20231120_024949

I'm using Redmi Note 10 s

dragonxzcay avatar Nov 20 '23 01:11 dragonxzcay

Same

Davoplayz2323 avatar Dec 10 '23 18:12 Davoplayz2323

A simple solution: the first thing you write is a command : sudo mv /var/lib/dpkg/info /var/lib/dpkg/info_mac And press Enter And put another thing : sudo mkdir /var/lib/dpkg/info And press Enter And another thing : sudo mv /var/lib/dpkg/info/* /var/lib/\dpkg/info_mac If this command gives you an error, ignore it and the problem is solved. Enjoy

IBRHIM190 avatar Feb 07 '24 15:02 IBRHIM190