LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-11-2011, 08:46 AM   #1
TokyoJohn
LQ Newbie
 
Registered: Sep 2011
Location: Tokyo, Japan (since 1979).
Distribution: Ubuntu
Posts: 15

Rep: Reputation: Disabled
How do you fix broken packages when Synaptic is unable to?


Hi, again!

I noticed I had some 866 updates to install from the Update Manager, so I clicked install. It says fix the broken packages first. I go to Synaptic and click the fix button in Edit. Sorry, no can do. My system is holding onto something that's broken, that has to be fixed first. But it can't be fixed because I'm holding onto it. A real Catch-22. What does a sane human being do in this dilemma?
 
Old 10-11-2011, 09:18 AM   #2
etech3
Senior Member
 
Registered: Jul 2009
Location: Virginia
Distribution: Debian Stable Testing Sid Slackware CentOS
Posts: 1,055
Blog Entries: 2

Rep: Reputation: 45
You could try a command line:

Code:
apt-get update
Code:
apt-get install -f
Second one, -f = fix
 
1 members found this post helpful.
Old 10-12-2011, 12:07 AM   #3
TokyoJohn
LQ Newbie
 
Registered: Sep 2011
Location: Tokyo, Japan (since 1979).
Distribution: Ubuntu
Posts: 15

Original Poster
Rep: Reputation: Disabled
Thanks, man! I'll give it a whirl!
 
Old 10-18-2011, 01:31 AM   #4
countach74
Member
 
Registered: Feb 2011
Distribution: Ubuntu 10.04, Debian Squeeze
Posts: 46

Rep: Reputation: 8
If packages are still broken after the above "apt-get install -f" and you have added additional repositories, there is always the possibility that the repositories contain conflicting packages. This can be a bit of a pain. When I suspect this problem, I typically go in and disable my extra repo's and then run "apt-get update && apt-get upgrade", or something along those lines.

Hope this helps.
 
1 members found this post helpful.
Old 04-30-2017, 09:23 PM   #5
LilDeadGirl
Member
 
Registered: Apr 2017
Location: The Sierra Nevada above Sacramento
Distribution: Kali and AVLinux, seems I lean towards the Debian side of things
Posts: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by countach74 View Post
If packages are still broken after the above "apt-get install -f" and you have added additional repositories, there is always the possibility that the repositories contain conflicting packages. This can be a bit of a pain. When I suspect this problem, I typically go in and disable my extra repo's and then run "apt-get update && apt-get upgrade", or something along those lines.

Hope this helps.
Thank you. I had the same issue as the OP and was set scrap the install and start over, but pointing to the sources.list file led to solving the problem for me. I just turned each repository off one at a time until the issue was no more. So, again, thank you
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to fix Broken packages -f prickee Debian 12 05-11-2011 06:20 AM
Fix broken packages ervini Linux Mint 1 12-18-2010 06:59 PM
Fix broken packages ervini LQ Suggestions & Feedback 1 12-18-2010 05:53 PM
could not apply changes. Fix broken packages first amritpalpathak Linux - Software 2 04-23-2010 11:32 PM
Making synaptic ignore broken packages ???? UsualTuxpect Linux - Software 5 09-05-2004 10:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration