LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Broken packages (https://www.linuxquestions.org/questions/debian-26/broken-packages-473494/)

hraposo 08-13-2006 10:35 AM

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?

b0uncer 08-13-2006 01:17 PM

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.

utanja 08-13-2006 01:55 PM

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:)


All times are GMT -5. The time now is 09:43 AM.