Dependency Problems

Asked by Ethan Waterson on 2012-12-14

Hello. I'm new to linux and I'm having some problems installing programs with apt-get.

Here's the outputs of me floundering around. I'm assuming I need to install programs that these other ones are dependent on. Is that the root of this problem? If not please explain, if yes please help me to know what commands I should use to get those programs.

Thanks Ubuntu community for helping me through all this adjustment.
-----------------------------------------------------

apyrexia@apyrexia-VPCEB47GM:~$ sudo apt-get install xchat
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 googleearth : Depends: libfreeimage3 but it is not going to be installed
               Depends: lsb-core
               Depends: ia32-libs-gtk
 xchat : Depends: libsexy2 (>= 0.1.8) but it is not going to be installed
         Depends: xchat-common (= 2.8.8-3ubuntu15) but it is not going to be installed
         Recommends: tcl8.5 (>= 8.5.0) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

apyrexia@apyrexia-VPCEB47GM:~$ sudo apt-get install playonlinux
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 googleearth : Depends: libfreeimage3 but it is not going to be installed
               Depends: lsb-core
               Depends: ia32-libs-gtk
 playonlinux : Depends: wine or
                        wine-unstable but it is not installable
               Depends: imagemagick
               Depends: mesa-utils but it is not going to be installed
               Depends: icoutils
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

apyrexia@apyrexia-VPCEB47GM:~$ sudo apt-get -f install playonlinux
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 googleearth : Depends: libfreeimage3 but it is not going to be installed
               Depends: lsb-core
               Depends: ia32-libs-gtk
 playonlinux : Depends: wine or
                        wine-unstable but it is not installable
               Depends: imagemagick
               Depends: mesa-utils but it is not going to be installed
               Depends: icoutils
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

apyrexia@apyrexia-VPCEB47GM:~$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

apyrexia@apyrexia-VPCEB47GM:~$ git clone https://github.com/PlayOnLinux/POL-POM-4
The program 'git' is currently not installed. You can install it by typing:
sudo apt-get install git

apyrexia@apyrexia-VPCEB47GM:~$ sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 git : Depends: liberror-perl but it is not going to be installed
       Depends: git-man (> 1:1.7.10.4) but it is not going to be installed
       Depends: git-man (< 1:1.7.10.4-.) but it is not going to be installed
 googleearth : Depends: libfreeimage3 but it is not going to be installed
               Depends: lsb-core
               Depends: ia32-libs-gtk
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

apyrexia@apyrexia-VPCEB47GM:~$ sudo apt-get ia32-libs-gtk
E: Invalid operation ia32-libs-gtk
apyrexia@apyrexia-VPCEB47GM:~$

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xchat Edit question
Assignee:
No assignee Edit question
Solved by:
Ethan Waterson
Solved:
2012-12-14
Last query:
2012-12-14
Last reply:
2012-12-14
DNS (dns) said : #1

Try: sudo apt-get -f install
And if there are still issues, try to remove googleearth with: sudo apt-get remove googleearth
...and try again.

( Btw do you know Marble? Its a free alternative to googleearth. To install marble: sudo apt-get install marble )

Ethan Waterson (elwaterson) said : #2

Ohh, I didn't sudo when I tried.

I'll try marble sounds much better, and besides google earth is a disaster on my system.

Thanks!