Can't perform update

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
User avatar
sdim
Level 3
Level 3
Posts: 154
Joined: Fri Mar 21, 2008 6:19 pm

Can't perform update

Post by sdim »

Hi, everyone.
After installing Mint KDE 10 and going to the recommended updates to install them, I get this error message:
Could not apply changes
Fix broken packages first
Does anyone know what can be done here?
Many thanks.
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.
MB:MSI 770 C-45 / HD1:500 GB-->Windows / HD2:320 GB-->Mint 20 Cinnamon
CPU:AMD X4 640 3.00 GHz / RAM:4.0 GB / VGA: NVidia GeForce GT630
User avatar
linuxviolin
Level 8
Level 8
Posts: 2081
Joined: Tue Feb 27, 2007 6:55 pm
Location: France

Re: Can't perform update

Post by linuxviolin »

Try in a terminal:

Code: Select all

sudo dpkg --configure -a
:idea:
K.I.S.S. ===> "Keep It Simple, Stupid"
"Simplicity is the ultimate sophistication." (Leonardo da Vinci)
"Everything should be made as simple as possible, but no simpler." (Albert Einstein)
User avatar
sdim
Level 3
Level 3
Posts: 154
Joined: Fri Mar 21, 2008 6:19 pm

Re: Can't perform update

Post by sdim »

Thanks for the answer.
I ran that, and then tried to refresh and install the updates via the Update Manager. Nothing changed. I get the same message.
MB:MSI 770 C-45 / HD1:500 GB-->Windows / HD2:320 GB-->Mint 20 Cinnamon
CPU:AMD X4 640 3.00 GHz / RAM:4.0 GB / VGA: NVidia GeForce GT630
Inkit

Re: Can't perform update

Post by Inkit »

Hi sdim,
Try applying the level 1 &2 updates first. after that don't choose all the level 3 updates but go down in batches of 10 or so. It may take some time, but if you have a halfway decent broadband, will not take you more than 15 to 20 min and you will not get this error.
linmint777

Re: Can't perform update

Post by linmint777 »

do it from the terminal securely with:

sudo aptitude safe-upgrade
or
sudo apt-get upgrade
If an error occurs, post it to appear on the terminal in order to better assist you.
Joe Field

Re: Can't perform update

Post by Joe Field »

Hi,

I had the same problem this weekend and found two ways to overcome this situation.

1. Open the update manager and then open the text terminal. In the terminal type sudo install followed by the package name from the update manager, press enter and enter root password. This will then install the updated package with all it's dependences. Obviously, this is very time consuming.
2. A better method, although still time consuming, is to close the update manager. Then open Synaptic package manager. With the highlight bar on ALL scroll down the package list in the top right panel. All packages that were installed when you first installed the OS are shown with a green square next to them. Where there is an updated version to be installed there is a gold star in the green square. Right-click on the package name and choose the option to mark it for upgrade. When you have marked all the items with stars, click on the Apply button and Synaptic will download and install all the updates. When finished, close Synaptic and open update manager, if you see any items still there it is only because you missed them the first time. Just keep going until all are cleared.

This is a long exercise but, at the end, all packages have been updated and, more importantly, the error message disappears. I have installed updates since and no longer get the message.

Good luck, Joe
User avatar
sdim
Level 3
Level 3
Posts: 154
Joined: Fri Mar 21, 2008 6:19 pm

Re: Can't perform update

Post by sdim »

Thank you all for the answers.
I will see what I can do with each one of them.
MB:MSI 770 C-45 / HD1:500 GB-->Windows / HD2:320 GB-->Mint 20 Cinnamon
CPU:AMD X4 640 3.00 GHz / RAM:4.0 GB / VGA: NVidia GeForce GT630
User avatar
sdim
Level 3
Level 3
Posts: 154
Joined: Fri Mar 21, 2008 6:19 pm

Re: Can't perform update

Post by sdim »

I did it one by one and they installed OK.
I don't know what the issue was, but now it's OK.
Many thanks for the help, everyone.
MB:MSI 770 C-45 / HD1:500 GB-->Windows / HD2:320 GB-->Mint 20 Cinnamon
CPU:AMD X4 640 3.00 GHz / RAM:4.0 GB / VGA: NVidia GeForce GT630
luisgf

Re: Can't perform update

Post by luisgf »

That happened to me a while ago (which is why I can't be more specific :oops: ) but what I did was use Synaptic to find out which packages were broken. It turned out to be that they were not properly downloaded at the time of the update, so I manually deleted them from the APT cache (/var/cache/apt/archives), and the next time I ran the update, it re-downloaded them and everything worked fine.
User avatar
sdim
Level 3
Level 3
Posts: 154
Joined: Fri Mar 21, 2008 6:19 pm

Re: Can't perform update

Post by sdim »

Many thanks, lulsgf.
I'll keep that in mind.
MB:MSI 770 C-45 / HD1:500 GB-->Windows / HD2:320 GB-->Mint 20 Cinnamon
CPU:AMD X4 640 3.00 GHz / RAM:4.0 GB / VGA: NVidia GeForce GT630
Locked

Return to “Beginner Questions”