Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
dragonxzcay opened this issue Nov 20, 2023 · 2 comments
Open

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

dragonxzcay opened this issue Nov 20, 2023 · 2 comments

Comments

@dragonxzcay
Copy link

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

@Davoplayz2323
Copy link

Same

@IBRHIM190
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants