LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-17-2011, 03:47 AM   #1
aatwo
LQ Newbie
 
Registered: Oct 2005
Posts: 13

Rep: Reputation: 0
Broken dependencies using sudo dpkg - save me jebus!


Hi guys. I have a fairly old debian distribution running on the linux Kernel 2.6.18-4-686 and I did something silly which has broken multiple packages. I use the manual package installation command (sudo dpkg -i filename.deb) to install a single package (gcc base) however I did this using the latest version of the package which seems to have broken my GCC package completely and I am unable to compile c++ anymore.

When I now load the Synaptic Package Manager it tells me that I have 10 broken packages and when I use the fix feature it tells me I need to update other packages to fix the depencies (it selects almost every single package on my system to be removed at this point!!!).

I cant change the system too much because the software packages are set up specifically to run a certain application and I don't want to change anything incase I make it stop working!

So my question is this:

If I go to the synaptic Package Manager and uninstall the broken packages (they are all gcc related), will I be able to use the aptitude command to install GCC again? If so will it automatically install the version of GCC that will work with my system? or will it try and install the latest version and then update the rest of my system?

Best regards, aatwo.

Last edited by aatwo; 01-17-2011 at 03:55 AM.
 
Old 01-17-2011, 06:17 AM   #2
jhuizer
LQ Newbie
 
Registered: Apr 2009
Posts: 12

Rep: Reputation: Disabled
I don't think you'll want to uninstall gcc-related packages, more packages are likely to depend on these gcc packages that are currently marked broken;

I guess the "safest" would be to downgrade the gcc-base back to the same version it was before.
(I'm not an expert however, even though I do use debian myself as well)
 
  


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
sudo dpkg problem highriseman Linux - Newbie 1 02-24-2010 08:25 PM
DPKG, please ignore dependencies... lectraplayer Debian 6 05-31-2007 09:56 AM
dpkg broken... danimalz Debian 2 01-13-2006 09:47 PM
dpkg broken ?? ptawe Debian 3 07-25-2005 03:01 PM
dpkg broken after crash g0ng Linux - General 0 09-28-2004 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:04 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