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...
Cannot Update System
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.
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.
Cannot Update System
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Cannot Update System
Rico_Antonio_Felix
Can you run
and paste back the terminal output of errors.
Can you run
Code: Select all
sudo apt-get install --fix-broken
Re: Cannot Update System
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)
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)
Re: Cannot Update System
Try reinstalling python3-minimal
then try
again
Code: Select all
sudo apt-get install --reinstall python3-minimal
Code: Select all
sudo apt-get install --fix-broken
Re: Cannot Update System
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
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