LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 09-24-2012, 05:23 PM   #1
Gene Cavanaugh
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
Can't remove broken files


I am informed I have broken dependencies. I have gone into Synaptic, found the broken files, and tried to fix them (with the "Fix Broken" option).
The files won't go away. The man pages say something about writing some code to input to try to get rid of the offending files, but I am not knowledgeable enough to do that.
The files involved don't seem to be anything I would care about anyway, but they are like an unremoveable cancer infecting my machine.
Any ideas on how I can get rid of them (short of throwing the laptop away?).
 
Old 09-24-2012, 05:28 PM   #2
mennohellinga
Member
 
Registered: Jun 2012
Location: Netherlands
Distribution: Archlinux
Posts: 72

Rep: Reputation: 38
Open the terminal and type:
Code:
mkdir ~/brokenfiles
sudo mv NAMES-OF-FILES ~/brokenfiles
Then, reinstall the package.
(Make sure these files aren't critical to the installation process)
 
Old 09-24-2012, 05:41 PM   #3
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,791

Rep: Reputation: 157Reputation: 157
Uhm,... I think he was looking for this command...

Code:
sudo dpkg --configure -a
Try this first...


If that works, here are some other useful commands:
Code:
sudo apt-get update

sudo apt-get upgrade

sudo apt-get autoclean

sudo apt-get autoremove
 
Old 09-24-2012, 06:09 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
If you have broken dependencies start a terminal and run
Code:
sudo apt-get update
sudo apt-get -f install
If you get error-messages please post them here and also the contents of your /etc/apt/sources.list.
 
Old 09-25-2012, 01:00 PM   #5
mennohellinga
Member
 
Registered: Jun 2012
Location: Netherlands
Distribution: Archlinux
Posts: 72

Rep: Reputation: 38
I assumed OP had already taken all conventional steps to repair this.
 
Old 09-25-2012, 06:52 PM   #6
Gene Cavanaugh
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Original Poster
Rep: Reputation: Disabled
My question on broken filter

I very much appreciate the various answers. I will be sure to keep them in mind in the
future.

After I posted, though, I realized I had other issues that looked like they would take
an inordinate amount of time, even when this was fixed, so I simply took the laptop in,
explained that virtually everything I need is on the cloud, and directed them to scrub
the disk and start over. That made the specific question irrelevant, for now, but if
the same sort of thing comes up again, I will be much better prepared to handle it.

THANK YOU ALL!
 
Old 09-26-2012, 06:04 AM   #7
mennohellinga
Member
 
Registered: Jun 2012
Location: Netherlands
Distribution: Archlinux
Posts: 72

Rep: Reputation: 38
You're welcome,
Now click "Thread Tools"->"Mark as Solved".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
remove broken link from gnome desktop exbootie Linux - Newbie 11 11-18-2010 02:07 PM
Broken Adobe flashplayer - Can neither remove nor reinstall bagley Ubuntu 3 05-12-2010 11:45 PM
RPM remove broken packages diego_cn Red Hat 8 05-23-2008 12:27 AM
forcibly remove broken package edgjerp Linux - Software 8 05-01-2008 01:41 AM
How Do I Remove A Broken Driver Install darksied Ubuntu 2 11-02-2006 12:29 AM


All times are GMT -5. The time now is 04:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration