Hi Everyone
I have been trying to update LMDE and it Keeps telling me ERROR Fix Broken Packages....
I first ran the Package Manager and told it to Fix Broken Packages, that did nothing...
I ran "apt update" and that didnt do anything, I then found this on line "sudo apt-get upgrade" and it ran for about 30 min and then I restarted the Laptop.
But still I am getting this Error....
What am I not doing correctly?
Fix Broken Packages???
Forum rules
LMDE 2 has reached end of support as of 1-1-2019
LMDE 2 has reached end of support as of 1-1-2019
Fix Broken Packages???
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: Fix Broken Packages???
Give this a shot.plowran wrote:Hi Everyone
I have been trying to update LMDE and it Keeps telling me ERROR Fix Broken Packages....
I first ran the Package Manager and told it to Fix Broken Packages, that did nothing...
I ran "apt update" and that didnt do anything, I then found this on line "sudo apt-get upgrade" and it ran for about 30 min and then I restarted the Laptop.
But still I am getting this Error....
What am I not doing correctly?
Code: Select all
sudo apt-get install -f && sudo apt-get clean && sudo apt-get update && sudo apt-get dist-upgrade
Re: Fix Broken Packages???
Thank you JasonLG
I have done your solution on two desktops today and it is long winded and not a quick fix but both are now up to date with packages lets hope they stay that way
I have done your solution on two desktops today and it is long winded and not a quick fix but both are now up to date with packages lets hope they stay that way
Re: Fix Broken Packages???
Right on, your welcome.Ralf1e wrote:Thank you JasonLG
I have done your solution on two desktops today and it is long winded and not a quick fix but both are now up to date with packages lets hope they stay that way
Not a quick fix? Copy from the code box then paste into a terminal, I'm not sure how much quicker you want. The time it takes to upgrade the packages on your system depends on the speed of your system and the speed of your connection. The upgrade command is no slower then if you upgraded in Synaptic.
Re: Fix Broken Packages???
Hello JasonLG, When I mean not a quick fix I mean the time the computer takes to carry out your instruction.
I didn't realize it was going to clean out and upgrade every package in the system and with the problem as it was it would not upgrade through synaptic, it gave error messages. So it would seem your solution is spot on
Thank you very much.
Maybe this should get marked up as Solved now.
I am amazed there are not more posts about this subject, unless it doesn't do it to all computers after install.
I didn't realize it was going to clean out and upgrade every package in the system and with the problem as it was it would not upgrade through synaptic, it gave error messages. So it would seem your solution is spot on
Thank you very much.
Maybe this should get marked up as Solved now.
I am amazed there are not more posts about this subject, unless it doesn't do it to all computers after install.
Re: Fix Broken Packages???
Yep, i figured you wanted the error fixed and a full update and upgrade so I strung together the appropriate commands. I used dist-upgrade instead of just upgrade since you're using LMDE which is based on Debian testing and it may introduce additional dependencies over time and dist-upgrade handles dependencies better then just upgrade.Ralf1e wrote:Hello JasonLG, When I mean not a quick fix I mean the time the computer takes to carry out your instruction.
I didn't realize it was going to clean out and upgrade every package in the system and with the problem as it was it would not upgrade through synaptic, it gave error messages. So it would seem your solution is spot on
Thank you very much.
Maybe this should get marked up as Solved now.
I am amazed there are not more posts about this subject, unless it doesn't do it to all computers after install.
Here is a page that tells you what they do.
http://linux.die.net/man/8/apt-get
The && in between the commands just tells it to run one after the other.