PDA

View Full Version : [ubuntu] How to remove broken packages only without affecting others



EthioJOB
June 3rd, 2011, 10:26 AM
I was installing some packages using the generate download script in synaptic and 'sudo dpkg -i -R ...' because I don't have my own internet connection at home but somewhere else.
I think I got carried away a little and installed some packages that have some dependency issues. Now I have three broken packages that need to be removed, but I don't want them to affect (remove) other packages which would be marked whenever I try to mark them for removal, for fear that their removal might affect other functions. I think my machine was just fine before I started to fumble with individual dependencies; that's why I don't what the other dependencies removed. My question is how do I remove those dependencies only using the terminal without removing the others?

jerrrys
June 3rd, 2011, 11:26 PM
what are the three packages?

EthioJOB
June 4th, 2011, 11:16 AM
I tried repair packages which was in the Edit menu bar, I think, and the problem seems to require the upgrading of only three of the packages. I have downloaded them, so the question remains is how do I force upgrade these packages using the terminal (or whatever, if possible). Using the internet is not a convenient option for me, so I would appreciate if I you can help me find a way to upgarde these packages offline.

jerrrys
June 4th, 2011, 02:18 PM
force upgrade packages or force update packages

http://www.googlubuntu.com/results/?cx=006238239194895611142:u-ocqbntw_o&q=force+upgrade+packages&sa=Search&cof=FORID:9#881

http://www.googlubuntu.com/results/?cx=006238239194895611142:u-ocqbntw_o&q=force+update+packages&sa=Search&cof=FORID:9#881