unmet dependencies in apt

Asked by amit

I was trying to install mac theme as given in the following link

http://maketecheasier.com/turn-your-ubuntu-hardy-to-mac-osx-leopard/2008/07/23

when i wasv trying the globalmenu installation i got the errors

Errors were encountered while processing:
 libgtk2.0-0_2.12.9-4ubuntu3_i386.deb
 gnome2-globalmenu-applet
 gtk2.0-examples
 gtk2-engines-pixbuf
 libgtk2.0-bin

i checked my synaptic manager it says you have broken(gnome2-globalmenu-applet;libgtk2.0-0; libgtk2.0-bin; gtk2-engines-pixbuf) packages and when i clicked to fix it it shows that 272 programs will be removed :(

tell me how can i fix this without removing all the other dependencies........

I have gutsy installed

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
amit
Solved:
Last query:
Last reply:

This question was reopened

  • by amit
Revision history for this message
amit (amityy2002) said :
#1

please help me out i Got no response ?

Revision history for this message
amit (amityy2002) said :
#2

please help me out i Got no response ?

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#3

Try this

Open a Terminal from the menu Applications → Accessories → Terminal and type:
(if the system ask you a password give your user password, you will not see nothing when you type it, then press enter)

sudo dpkg --clear-avail

sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove

Hope this helps

Revision history for this message
amit (amityy2002) said :
#4

noops the problem here is same again when I tried all this the same problem that it asks to remove 273 pakages which are dependent on this ....

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#5

Please try this but be warned, this could end badly...

You can do it with dpkg. Run 'dpkg --force-help' and it will give you a list of things for you to force. One of them will be to force removal of a package that other packages depend on.

Hope this helps

Revision history for this message
amit (amityy2002) said :
#6

Thanks