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

Notices


Reply
  Search this Thread
Old 08-13-2006, 10:35 AM   #1
hraposo
Member
 
Registered: Aug 2004
Posts: 370

Rep: Reputation: 30
Broken packages


I installed a package with dpkg (libc6_2.3.6-15_i386.d) that causes a 5 broken packages when I execute synapic. When I try uninstall the broken packages synaptic said that must remove a lot of packages. There's any way to remove just the broken package without remove the others? A away to force this remotion?
 
Old 08-13-2006, 01:17 PM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I could think there is some way (like dpkg) to remove single packets, like installing them too, but there is a simple reason why apt (synaptic, which is a front-end for apt) won't let you do it: apt refuses to break packages, so it removes all the dependencies for a package to be removed, too. So if you did remove those broken packages that Synaptic refuses to remove, you would cause all the other packages, that Synaptic wants to remove too, break, so you would just grow your problem bigger.

The solution is to remove the single package that broke up the others, do an update and fix the broken ones. With apt (Synaptic) you cannot remove a single package that depends on other packages, that's what the info page of apt says.

Last edited by b0uncer; 08-13-2006 at 01:18 PM.
 
Old 08-13-2006, 01:55 PM   #3
utanja
Member
 
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
Quote:
Originally Posted by hraposo
I installed a package with dpkg (libc6_2.3.6-15_i386.d) that causes a 5 broken packages when I execute synapic. When I try uninstall the broken packages synaptic said that must remove a lot of packages. There's any way to remove just the broken package without remove the others? A away to force this remotion?

dpkg --purge remove <brokenpackagename>


i believe this is what you are looking form
 
  


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
Broken packages mcnearcj Ubuntu 3 08-01-2006 01:56 PM
Broken Packages hongman Linux - Software 2 04-13-2005 05:48 AM
what's with all those broken packages darkleaf Debian 8 09-29-2004 01:40 PM
apt-get + broken packages = death ulaoulao Linux - Software 2 09-19-2004 09:55 AM
Broken Packages Kujila Linux - Software 2 02-01-2004 05:07 PM

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

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