Saturday, April 27, 2024
 Popular · Latest · Hot · Upcoming
48
rated 0 times [  48] [ 0]  / answers: 1 / hits: 124714  / 1 Year ago, sun, november 13, 2022, 10:56:22

I am getting error while using sudo apt-get upgrade stating:



dpkg: error processing libgfortran3:amd64 (--configure):
package libgfortran3:amd64 is not ready for configuration
cannot configure (current status `half-installed')
Errors were encountered while processing:
libgfortran3:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)


It does not seem to block the installation/upgrade other applications.
I believe this problem arose due to direct shutting down of my PC while the application was being upgraded.



How can I fix this?


More From » apt

 Answers
4
sudo dpkg --remove --force-remove-reinstreq --dry-run libgfortran3:amd64


That's just a dry-run. I'm not sure what removing libgfortran3 will take with it but run that and see. Assuming it's not going to gobble the whole system, run it again without the --dry-run and then you can sudo apt-get install ... the packages you need back.


[#24330] Monday, November 14, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
losbu

Total Points: 71
Total Questions: 124
Total Answers: 106

Location: Honduras
Member since Sat, Jul 24, 2021
3 Years ago
;