0
I'm running Ubuntu 11.04 (Natty Narwhal) with gnome-shell, and I have a conflict in apt-get that don't let me upgrade / install new packages (my system is in Spanish. Because of that some output is in this language).
When I run apt-get upgrade:
Tal vez quiera ejecutar «apt-get -f install» para corregirlo. Los siguientes paquetes tienen dependencias incumplidas: gnome-session : Depende: gnome-session-common (=
3.0.1-0ubuntu1~build2) pero 3.0.2-0ubuntu3~natty1 está instalado E: Dependencias incumplidas. Pruebe de nuevo usando -f.
gnome-sessions depend on gnome-session-common (= 3.0.1-0ubuntu1~build2) but 3.0.2-0ubuntu3~natty1 is installed
If I run apt-get -f install:
dpkg: error al procesar /var/cache/apt/archives/gnome-session_3.0.2-0ubuntu3~natty1_all.deb (--unpack):
intentando sobreescribir `/usr/share/xsessions/gnome-shell.desktop', que está también en el paquete gnome-shell 3.0.1-0ubuntu1~build1
Se encontraron errores al procesar:
/var/cache/apt/archives/gnome-session_3.0.2-0ubuntu3~natty1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I have a similar error:
apt-get clean
apt-get autoclean
With or without "-f" I have similar output.
File /etc/apt/sources.list
:
deb http://es.archive.ubuntu.com/ubuntu/ natty main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ natty main restricted
deb http://es.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ natty-updates main restricted
deb http://es.archive.ubuntu.com/ubuntu/ natty universe
deb-src http://es.archive.ubuntu.com/ubuntu/ natty universe
deb http://es.archive.ubuntu.com/ubuntu/ natty-updates universe
deb-src http://es.archive.ubuntu.com/ubuntu/ natty-updates universe
deb http://es.archive.ubuntu.com/ubuntu/ natty multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ natty multiverse
deb http://es.archive.ubuntu.com/ubuntu/ natty-updates multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ natty-updates multiverse
deb http://security.ubuntu.com/ubuntu natty-security main restricted
deb-src http://security.ubuntu.com/ubuntu natty-security main restricted
deb http://security.ubuntu.com/ubuntu natty-security universe
deb-src http://security.ubuntu.com/ubuntu natty-security universe
deb http://security.ubuntu.com/ubuntu natty-security multiverse
deb-src http://security.ubuntu.com/ubuntu natty-security multiverse
deb http://extras.ubuntu.com/ubuntu natty main
deb-src http://extras.ubuntu.com/ubuntu natty main
deb http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu natty main
deb-src http://ppa.launchpad.net/gnome3-team/gnome3/ubuntu natty main
How can I fix this problem?
What's in your /etc/apt/sources.list? There must be something other than the regular Ubuntu archives, since Ubuntu package search doesn't show mention gnome-sessions at all (just gnome-session), and this post references a Gnome PPA.
– Mike Renfro – 2011-06-02T12:35:43.237