Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
01-08-2017, 01:55 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,791
|
Are you running that as root?
|
|
|
01-08-2017, 04:06 PM
|
#3
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
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.
Good luck.
Last edited by Habitual; 01-08-2017 at 04:07 PM.
|
|
|
01-08-2017, 06:47 PM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,020
|
Quote:
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.
|
|
|
01-09-2017, 04:43 AM
|
#5
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
Last edited by Habitual; 01-09-2017 at 07:39 AM.
|
|
|
01-09-2017, 10:59 AM
|
#6
|
Senior Member
Registered: Jan 2007
Location: Wild West Wales, UK
Distribution: Linux Mint 22 MATE, Peppermint OS-Devuan, EndeavourOS, antiX
Posts: 4,552
|
kinns91,
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.
|
|
|
01-10-2017, 12:34 PM
|
#7
|
Member
Registered: Jun 2002
Location: Idaho
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.
Run the first command and wait for it to finish.
Code:
sudo aptitude update && sudo aptitude install gtkorphan
Next run this command and wait for it to complete.
Code:
sudo aptitude update && sudo aptitude upgrade
And finally run the last command which clears out the broken packages.
Good luck to you on your journey to learning and using Linux.
Last edited by crazypenguin; 01-10-2017 at 01:23 PM.
|
|
|
01-10-2017, 05:51 PM
|
#8
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep: 
|
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.
Re-install.
Last edited by Habitual; 01-10-2017 at 06:07 PM.
|
|
|
All times are GMT -5. The time now is 01:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|