Dependency problem installing The Gnome Desktop Environment
When I select
"The GNOME Desktop Environment, with extra components" and click Install I get a dependency problem:
gnome: Depends: gnome-core (= 1:3.0+6ubuntu3) but 1:3.0+6ubuntu3 is to be installed
Which is not correct as the expected and installed version are exactly the same.
Regards,
Arno
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Please open a terminal (ctrl-alt-t) and isssue the following command
sudo apt-get install gnome gnome-core
Then select all output (edit - select all), copy it (edit - copy) and paste it into a new message of this question thread https:/
Revision history for this message
|
#2 |
This is a Ubuntu 12.04 that has been recently upgraded from 11.04 via 11.10.
$ sudo apt-get install gnome gnome-core
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnome-core is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
gnome : Depends: evolution (>= 3.0) but it is not going to be installed
Depends: evolution-plugins (>= 3.0) but 2.32.2-0ubuntu7 is to be installed
E: Unable to correct problems, you have held broken packages.
Revision history for this message
|
#3 |
Apparently there are more dependency problems than just the one with gnome and gnome-core that has been described at the beginning.
Please try the following command:
sudo apt-get install --reinstall gnome gnome-core evolution evolution-plugins
If that command again ends with error messages, please execute the process that is described in https:/
Revision history for this message
|
#4 |
Things are going from bad to worse. apt now fully broken:
comet=9:52:~> sudo bash
[sudo] password for arno:
bash: /home/arno/.bashrc: Permission denied
root@comet:
root@comet:
root@comet:
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@comet:
root@comet:
Linux comet 3.0.0-19-generic #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012 i686 athlon i386 GNU/Linux
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@comet:
root@comet:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: The package software-center needs to be reinstalled, but I can't find an archive for it.
root@comet:
root@comet:
Ign http://
Ign http://
Ign http://
Ign http://
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
Get:7 http://
Get:8 http://
Ign http://
Get:9 http://
Get:10 http://
Ign http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Get:23 http://
Get:24 http://
Get:25 http://
Get:26 http://
Get:27 http://
Get:28 http://
Get:29 http://
Get:30 http://
Get:31 http://
Get:32 http://
Get:33 http://
Get:34 http://
Get:35 http://
Get:36 http://
Get:37 http://
Get:38 http://
Get:39 http://
Get:40 http://
Get:41 http://
Get:42 http://
Get:43 http://
Get:44 http://
Get:45 http://
Get:46 http://
Get:47 http://
Get:48 http://
Get:49 http://
Get:50 http://
Get:51 http://
Get:52 http://
Get:53 http://
Get:54 http://
Get:55 http://
Get:56 http://
Get:57 http://
Fetched 17.3 MB in 11s (1,478 kB/s)
Reading package lists... Done
root@comet:
root@comet:
Setting up man-db (2.6.1-2) ...
Building database of manual pages ...
Setting up hicolor-icon-theme (0.12-1ubuntu2) ...
Setting up python-gi (3.2.2-1~precise) ...
Setting up linux-image-
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled
(3.2.0-24.38 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled
(3.2.0-24.38 was configured last, according to dpkg)
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Generating /boot/initrd.
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
run-parts: executing /etc/kernel/
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/vmlinuz-
Found kernel: /boot/memtest86
Updating /boot/grub/menu.lst ... done
Setting up resolvconf (1.63ubuntu14) ...
Setting up nautilus-data (1:3.4.2-0ubuntu1) ...
Setting up libcupsfilters1 (1.0.18-0ubuntu0.1) ...
Setting up libasound2 (1.0.25-
Setting up libsmbclient (2:3.6.
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Processing triggers for gnome-menus ...
Setting up cups-filters (1.0.18-0ubuntu0.1) ...
.
Setting up libsnmp15 (5.4.3~
Setting up samba-common (2:3.6.
Setting up libutouch-geis1 (2.2.9-0ubuntu3) ...
Setting up smbclient (2:3.6.
Setting up python-
Processing triggers for ureadahead ...
Setting up python-gi-cairo (3.2.2-1~precise) ...
Setting up python-gobject (3.2.2-1~precise) ...
Setting up at-spi2-core (2.4.2-0ubuntu0.1) ...
Setting up libssl-doc (1.0.1-4ubuntu5.2) ...
Setting up samba-common-bin (2:3.6.
Setting up libssl-dev (1.0.1-4ubuntu5.2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for gconf2 ...
Setting up libsmbclient-dev (2:3.6.
Setting up linux-headers-
Processing triggers for libglib2.0-0 ...
Processing triggers for cups ...
Setting up libasound2-dev (1.0.25-
Setting up python-apport (2.0.1-0ubuntu8) ...
Setting up libgtk-3-0 (3.4.2-0ubuntu0.2) ...
Setting up nautilus-
Setting up libnautilus-
Setting up libgtk-3-bin (3.4.2-0ubuntu0.2) ...
Setting up linux-headers-
Examining /etc/kernel/
Setting up gir1.2-gtk-3.0 (3.4.2-0ubuntu0.2) ...
Setting up linux-headers-
Examining /etc/kernel/
Setting up apport (2.0.1-0ubuntu8) ...
Setting up libubuntuoneui-
Setting up ubuntu-
Setting up empathy (3.4.2-0ubuntu1) ...
Setting up libgtksourcevie
Setting up libgail-3-0 (3.4.2-0ubuntu0.2) ...
Setting up apport-gtk (2.0.1-0ubuntu8) ...
Setting up gir1.2-
dpkg: error processing software-center (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Setting up gnome-orca (3.4.2-0ubuntu0.1) ...
Setting up gir1.2-
Setting up nautilus (1:3.4.2-0ubuntu1) ...
Setting up language-pack-en (1:12.04+20120508) ...
Setting up language-
Generating locales...
en_AG.UTF-8... up-to-date
en_AU.UTF-8... up-to-date
en_BW.UTF-8... up-to-date
en_CA.UTF-8... up-to-date
en_DK.UTF-8... up-to-date
en_GB.UTF-8... up-to-date
en_HK.UTF-8... up-to-date
en_IE.UTF-8... up-to-date
en_IN.UTF-8... up-to-date
en_NG.UTF-8... up-to-date
en_NZ.UTF-8... up-to-date
en_PH.UTF-8... up-to-date
en_SG.UTF-8... up-to-date
en_US.UTF-8... up-to-date
en_ZA.UTF-8... up-to-date
en_ZM.UTF-8... up-to-date
en_ZW.UTF-8... up-to-date
Generation complete.
Setting up language-
Setting up language-
Processing triggers for resolvconf ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/
Errors were encountered while processing:
software-center
root@comet:
root@comet:
root@comet:
root@comet:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
software-center
The following packages will be upgraded:
software-center
1 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
1 not fully installed or removed.
Need to get 621 kB of archives.
After this operation, 12.3 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Abort.
root@comet:
Revision history for this message
|
#5 |
Manually installed software-center from a .deb. The described test still fails:
# apt-get install --reinstall gnome gnome-core evolution evolution-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package evolution is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
libevolution
Package gnome is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'gnome' has no installation candidate
E: Package 'evolution' has no installation candidate
Recovery procedure output:
root@comet:
root@comet:
root@comet:
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
root@comet:
root@comet:
Linux comet 3.0.0-19-generic #33-Ubuntu SMP Thu Apr 19 19:05:57 UTC 2012 i686 athlon i386 GNU/Linux
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
root@comet:
Reading package lists... Done
Building dependency tree
Reading state information... Done
root@comet:
root@comet:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
9 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up shotwell (0.12.3-0ubuntu0.1) ...
Setting up software-center (5.2.2.1) ...
Updating software catalog...this may take a moment.
INFO:softwarece
Software catalog update was successful.
Setting up ubuntuone-
Setting up vinagre (3.4.2-0ubuntu1) ...
Setting up vino (3.4.2-0ubuntu1) ...
Setting up xserver-common (2:1.11.
Setting up xserver-xorg-core (2:1.11.
Setting up xserver-
Setting up xserver-
root@comet:
Revision history for this message
|
#6 |
"Things are going from bad to worse. apt now fully broken:" This is not true, there is only a minor problem that for sure can be solved without much effort.
There was an error in one of the commands that you executed. Due to line-end truncating one of the commands got broken.
instead of
"apt-get install --reinstall gnome gnome-core evolution evolution-"
it should have been
"apt-get install --reinstall gnome gnome-core evolution evolution-plugins"
But it seems it did not do much harm.
Please open a terminal and issue the following commands:
sudo apt-get install --reinstall software-center
sudo apt-get -f install
and copy/paste all output into a new message of this question thread
Revision history for this message
|
#7 |
Hi
I reinstalled software-center from a .deb, and evolution* as well. That seemed to be stuck at 2.3.
Gnome Desktop is now fully installed. A potential source of the problem may be the existence of two
versions of libebook:
$ dpkg -l | grep ebook
ii libebook-1.2-12 3.2.3-0ubuntu6 Client library for evolution address books
rc libebook1.2-10 2.32.2-0ubuntu2 Client library for evolution address books
rc libebook1.2-12 3.2.2-0ubuntu1~
rc libebook1.2-9 2.30.3-2ubuntu2.1 Client library for evolution address books
$ dpkg -l | grep ecal
ii libecal-1.2-10 3.2.3-0ubuntu6 Client library for evolution calendars
rc libecal1.2-10 3.2.2-0ubuntu1~
rc libecal1.2-7 2.30.3-2ubuntu2.1
$ dpkg -l | grep dataserver
ii libedataserver-
rc libedataserver1
rc libedataserver1
ii libedataserver1
rc libedataserver1
So there is a libebook minus 1.2 minus 12 and one without a dash between name and version.
If I run update-manager at the moment it wants to install libebook-1.2-12, libecal-1.2-10, libedataserver-
although they are already installed. Weird. These are dependencies of evolution-plugins.
But things are working again now, so thanks for the assistance.
Revision history for this message
|
#8 |
You have to be aware that by installing packages manually form a .deb file you have the potential to break dependencies in your package management system. So you should do that only as a last resort.
The output of dpkg -l grep "name" does not show that you have two versions of libebook installed. Only the lines that start with "ii" indicate installed packages. The lines with "rc" show packages that are not installed, but where some configuration files are left over. These usually do not create any problem and can be removed (e.g. by use of the synaptic package management program).
The only package that is double is libedataserver.
libedataserver1
Update-manager is right with respect to libebook-1.2-12 and others. You have 3.2.3-0ubuntu6 installed (the version that originally came with precise). Meanwhile 3.2.3-0ubuntu7 is available in precise-updates, solving a problem with adding events to Google Calendars. Even if you are not affected by that bug you should still allow the upgrade.
I recommend that you try the following:
Open a terminal and issue the following command:
apt-get --simulate upgrade
This command should tell what upgrade actions it wants to do (without really executing them).
Can you help with this problem?
Provide an answer of your own, or ask HappyCamper for more information if necessary.