Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello people,I am a new user of Linux Mint 18 Sarah.Have been using without any major issues for the past 3 months.
But from a month around,whenever I used to install updates,I would get an error window saying you have broken packages,which is:
You have 958 broken packages on your system!
Use the "Broken" filter to locate them.
I tried fixing the broken packages in the Synaptic Package Manager,reading various solutions listed in the forums,but there would be an error again.Today,I tried to update using terminal using the command: sudo apt-get update.This is what I got:
Differences between Update Manager, Synaptic, and `apt-get upgrade` said xenopeek:
"Upgrading through Synaptic has been disabled on Linux Mint. To the best of my recollection this was done because there is a rare but severe bug in Synaptic that can effectively cause uninstallation of the user's operating system. The list of available package upgrades and changelogs can be viewed in it though, but it can't access the changelogs from all standard Linux Mint repositories."
I've heard that using synaptic and apt on Mint is been known to trash systems. I don't use synaptic.
I don't know about no 958 packages, but if you check via the Update Manager (as recommended) I'd like to hear what
that interface says. I trust xenopeek's technical expertise enough. He certainly knows what he's talking about.
The above article was written after the release of LM 18.
I tried fixing the broken packages in the Synaptic Package Manager,reading various solutions listed in the forums,but there would be an error
What specifically did you try? The more detail you provide, the easier it is for others to help you.
Have you tried this command, as root?
Code:
apt-get -f <---for "--fix-broken"
If not, try it and post the output here, being sure to enclose it in "code" tags, which become available when you click the "Go Advanced" button at the bottom of the compose post windows.
As advised by Niely on LMF, I think you would be much quicker backing up all your personal data from your home folder, plus any bookmarks, email profile folders (not applicable to web mail) etc to an external drive and then reinstalling Linux Mint.
A fresh installation takes very little time in any case.
Distribution: Linux Mint, Manjaro, FreeBSD, Android
Posts: 99
Rep:
The major issue at this point is not how to fix the problem of broken packages, but what were the actions that caused the broken packages in the first place. Like the previous poster recommended, backing up your data, and reinstalling the OS would be the be the best approach IMO at this point.
All this being said, the OS still may be repairable with the following steps. But do so at your own risk.
1) Get rid of all those PPA's. While you may think they are nifty programs, they do you little good if that is what is trashing your system.
2) Make sure Synaptic, Update Manager, Software Manager are closed so Aptitude can get an exclusive lock on the process.
3) Run the following commands in a terminal window in the sequence as I have them outlined.
What I do know is that Synaptic on Linux Mint is patched to remove the package upgrade functionality from it, because of the bug that is in Synaptic's upgrade logic that can cause your entire operating system to be uninstalled by it if you use it to upgrade your system.[1]
In a word, don't use it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.