installing gnome-shell: some kind of dependencies problem in ubuntu 12.10

Asked by Muhammad Umar Ibrahim on 2012-10-29

When i tried to install gnome shell i got the following error

Package dependencies cannot be resolved
This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.

The following packages have unmet dependencies:

gnome-shell: Depends: libgjs0-libmozjs185-1.0 but it is a virtual package
             Depends: libpulse-mainloop-glib0 (>= 1:0.99.1) but 1:2.1-0ubuntu4 is to be installed
             Depends: libpulse0 (>= 1:0.99.1) but 1:2.1-0ubuntu4 is to be installed
             Depends: libxfixes3 (>= 1:5.0) but 1:5.0-4ubuntu5 is to be installed
             Depends: gnome-shell-common (= 3.6.0-0ubuntu2) but 3.6.0-0ubuntu2 is to be installed

When I tried to install Skype i got the following error

The following packages have unmet dependencies:

skype: Depends: skype-bin but it is a virtual package

Similarly I am not able to install some other softwares in Ubuntu 12.10
How can I fix this problem?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-shell Edit question
Assignee:
No assignee Edit question
Solved by:
Muhammad Umar Ibrahim
Solved:
2012-10-29
Last query:
2012-10-29
Last reply:
2012-10-29
N1ck 7h0m4d4k15 (nicktux) said : #1

Hi ,

what other PPAs have you added ?

Give the results of this command

~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

This seems a problem either from some PPA where messed up your system's packages
or
a problem with proposed-updates.

Do you have proposed-updates enabled ?

How to check.

Give this command in terminal

~$ gksudo software-properties-gtk

at the opened window goto "Updates" section and see if Quantal-proposed are marked. Un-mark (un-tick) the box and run in terminal

~$ sudo apt-get update
~$ sudo apt-get dist-upgrade

Then try again to install gnome-shell.

Thanks

umar@hcsc-i3:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     2
     3 # newer versions of the distribution.
     4 deb http://pk.archive.ubuntu.com/ubuntu/ quantal main restricted
     5 deb-src http://pk.archive.ubuntu.com/ubuntu/ quantal main restricted
     6
     7 ## Major bug fix updates produced after the final release of the
     8 ## distribution.
     9 deb http://pk.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
    10 deb-src http://pk.archive.ubuntu.com/ubuntu/ quantal-updates main restricted
    11
    12 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    13 ## team. Also, please note that software in universe WILL NOT receive any
    14 ## review or updates from the Ubuntu security team.
    15 deb http://pk.archive.ubuntu.com/ubuntu/ quantal universe
    16 deb-src http://pk.archive.ubuntu.com/ubuntu/ quantal universe
    17 deb http://pk.archive.ubuntu.com/ubuntu/ quantal-updates universe
    18 deb-src http://pk.archive.ubuntu.com/ubuntu/ quantal-updates universe
    19
    20 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    21 ## team, and may not be under a free licence. Please satisfy yourself as to
    22 ## your rights to use the software. Also, please note that software in
    23 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    24 ## security team.
    25 deb http://pk.archive.ubuntu.com/ubuntu/ quantal multiverse
    26 deb-src http://pk.archive.ubuntu.com/ubuntu/ quantal multiverse
    27 deb http://pk.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
    28 deb-src http://pk.archive.ubuntu.com/ubuntu/ quantal-updates multiverse
    29
    30 ## N.B. software from this repository may not have been tested as
    31 ## extensively as that contained in the main release, although it includes
    32 ## newer versions of some applications which may provide useful features.
    33 ## Also, please note that software in backports WILL NOT receive any review
    34 ## or updates from the Ubuntu security team.
    35
    36 deb http://security.ubuntu.com/ubuntu quantal-security main restricted
    37 deb-src http://security.ubuntu.com/ubuntu quantal-security main restricted
    38 deb http://security.ubuntu.com/ubuntu quantal-security universe
    39 deb-src http://security.ubuntu.com/ubuntu quantal-security universe
    40 deb http://security.ubuntu.com/ubuntu quantal-security multiverse
    41 deb-src http://security.ubuntu.com/ubuntu quantal-security multiverse
    42
    43 ## Uncomment the following two lines to add software from Canonical's
    44 ## 'partner' repository.
    45 ## This software is not part of Ubuntu, but is offered by Canonical and the
    46 ## respective vendors as a service to Ubuntu users.
    47 deb http://archive.canonical.com/ubuntu quantal partner
    48 # deb-src http://archive.canonical.com/ubuntu quantal partner
    49
    50 ## Uncomment the following two lines to add software from Ubuntu's
    51 ## 'extras' repository.
    52 ## This software is not part of Ubuntu, but is offered by third-party
    53 ## developers who want to ship their latest software.
    54 deb http://extras.ubuntu.com/ubuntu quantal main
    55 # deb-src http://extras.ubuntu.com/ubuntu quantal main

Under updates tab in software properties only Important security updates and and Recommended updates are checked pre released updates and unsupported updates are not enabled.

N1ck 7h0m4d4k15 (nicktux) said : #3

Is this a fresh install of 12.10 , or upgrade release from 12.04 ?

It seems that your sources.list are clear .

Maybe you have to add the unofficial repository of gnome3-team.

You have to know that this repository will update-upgrade essential system packages. If brakes your system then you can remove it with these commands

~$ sudo apt-get install ppa:purge

~$ sudo ppa-purge ppa:gnome3-team/gnome3

~$ sudo apt-get update ; sudo apt-get dist-upgrade

Now add the repository and try again

~$ sudo add-apt-reposiroty ppa:gnome3-team/gnome3
~$ sudo apt-get update
~$ sudo apt-get dist-upgrade
~$ sudo apt-get install gnome-shell

Thanks

Yea this is a fresh install.
I changed the update server to main server.checked for updates again. it showed some updates to install. after installing all the available updates i am now able to install all softwares of my choise. I guess that problem was due to that update server which was previously selected.
anyways thanks a lot