Cannot Update System

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Rico_Antonio_Felix

Cannot Update System

Post by Rico_Antonio_Felix »

My system has a lot of updates pending which I am unable to perform due to the error messages found in the attached images...
What must be done to resolve such errors?
Thank you in advance...
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
WharfRat

Re: Cannot Update System

Post by WharfRat »

Rico_Antonio_Felix

Can you run

Code: Select all

sudo apt-get install --fix-broken
and paste back the terminal output of errors.
Rico_Antonio_Felix

Re: Cannot Update System

Post by Rico_Antonio_Felix »

I followed your instruction and the following was the output:

sudo apt-get install --fix-broken
[sudo] password for rico:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
python3-problem-report
The following packages will be upgraded:
python3-problem-report
1 upgraded, 0 newly installed, 0 to remove and 122 not upgraded.
4 not fully installed or removed.
Need to get 0 B/148 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 207034 files and directories currently installed.)
Preparing to unpack .../python3-problem-report_2.14.1-0ubuntu3.7_all.deb ...
/var/lib/dpkg/info/python3-problem-report.prerm: 6: /var/lib/dpkg/info/python3-problem-report.prerm: py3clean: not found
dpkg: warning: subprocess old pre-removal script returned error exit status 127
dpkg: trying script from the new package instead ...
/var/lib/dpkg/tmp.ci/prerm: 6: /var/lib/dpkg/tmp.ci/prerm: py3clean: not found
dpkg: error processing archive /var/cache/apt/archives/python3-problem-report_2.14.1-0ubuntu3.7_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 127
/var/lib/dpkg/info/python3-problem-report.postinst: 6: /var/lib/dpkg/info/python3-problem-report.postinst: py3compile: not found
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
/var/cache/apt/archives/python3-problem-report_2.14.1-0ubuntu3.7_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
WharfRat

Re: Cannot Update System

Post by WharfRat »

Try reinstalling python3-minimal

Code: Select all

sudo apt-get install --reinstall python3-minimal
then try

Code: Select all

sudo apt-get install --fix-broken
again
Rico_Antonio_Felix

Re: Cannot Update System

Post by Rico_Antonio_Felix »

It worked...
I thank you very much for your expertise... My system is now in a state that I feel comfortable with...
Make me feel to send you a personal donation for the support :)
Locked

Return to “Beginner Questions”