Actualización de Ubuntu 14.04 de 13.10: uso de paquetes de software no oficiales no proporcionados por ubuntu

Tengo problemas para actualizar a 14.04 (Trusty Tahr) desde 13.10 (Saucy Salamander), donde recibo un mensaje. Could not calculate the upgrade y creo que se debe a mis paquetes de software no oficiales. ¿Alguien puede sugerir qué paquetes debo resolver y cómo resolver estos paquetes? Mi pregunta es similar a esta aquí , pero necesito ayuda para implementar la solución que resuelve los paquetes.

introduzca la descripción de la imagen aquí

Ya desactivé todos los paquetes en “otro” en el menú Software and Updates al intentar actualizar a través del Software Updater .

Ejecutar un grep Broken /var/log/dist-upgrade/apt.log me mostró varios paquetes, pero no estoy seguro de cuáles están rotos y cómo resolverlos antes de actualizar. Sospecho que mi configuración con Bumblebee y Nvidia Optimus ha agregado algunos PPA y otro software no compatible.

Aquí está mi salida de grep Broken /var/log/dist-upgrade/apt.log :

 Broken libqt5core5a:amd64 Breaks on libqt5core5 [ amd64 ]  ( libs ) (< 5.2.0+dfsg~) Broken libharfbuzz0b:amd64 Conflicts on libharfbuzz0a [ amd64 ]  ( libs ) Broken cups-filters:amd64 Conflicts on foomatic-filters [ amd64 ]  ( universe/text ) Broken libboost1.54-dev:amd64 Conflicts on libboost1.53-dev [ amd64 ]  ( libdevel ) Broken libclutter-1.0-0:amd64 Breaks on libcogl12 [ amd64 ]  ( libs ) Broken unity-control-center:amd64 Conflicts on gnome-control-center-unity [ amd64 ]  ( gnome ) Broken libgoa-1.0-0b:amd64 Conflicts on libgoa-1.0-0 [ amd64 ]  ( libs ) Broken libtcl8.6:amd64 Conflicts on tcl8.6-lib [ amd64 ]  ( interpreters ) (< 8.6.0-2) Broken unity-control-center-signon:amd64 Conflicts on gnome-control-center-signon [ amd64 ]  ( gnome ) Broken libboost-serialization1.54-dev:amd64 Conflicts on libboost-serialization1.53-dev [ amd64 ]  ( libdevel ) Broken evolution-data-server:amd64 Conflicts on evolution-data-server-goa [ amd64 ]  ( gnome ) (< 3.10.3-0ubuntu2~) Broken libopenmpi1.6:amd64 Conflicts on libopenmpi1.3 [ amd64 ]  ( libs ) Broken libopenmpi1.6:amd64 Conflicts on openmpi-libs0 [ amd64 ]  ( none ) Broken libtk8.6:amd64 Conflicts on tk8.6-lib [ amd64 ]  ( libs ) (< 8.6.0-2) Broken libboost-system1.54-dev:amd64 Conflicts on libboost-system1.53-dev [ amd64 ]  ( libdevel ) Broken tk:amd64 Conflicts on tk-lib [ amd64 ]  ( libs ) Broken tk:amd64 Conflicts on tk8.5-lib [ amd64 ]  ( libs ) Broken tcl:amd64 Conflicts on tcl-lib [ amd64 ]  ( interpreters ) Broken tcl:amd64 Conflicts on tcl8.5-lib [ amd64 ]  ( interpreters ) Broken libboost-filesystem1.54-dev:amd64 Conflicts on libboost-filesystem1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-date-time1.54-dev:amd64 Conflicts on libboost-date-time1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-test1.54-dev:amd64 Conflicts on libboost-test1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-atomic1.54-dev:amd64 Conflicts on libboost-atomic1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-chrono1.54-dev:amd64 Conflicts on libboost-chrono1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-mpi1.54-dev:amd64 Conflicts on libboost-mpi1.53-dev [ amd64 ]  ( libdevel ) Broken libunity-core-6.0-9:amd64 Conflicts on libunity-core-6.0-8 [ amd64 ]  ( libs ) Broken libunity-core-6.0-9:amd64 Conflicts on unity-common [ amd64 ]  ( none ) Broken libboost-mpi1.53.0:amd64 Depends on libopenmpi1.3 [ amd64 ]  ( libs ) Broken libboost-regex1.54-dev:amd64 Conflicts on libboost-regex1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-program-options1.54-dev:amd64 Conflicts on libboost-program-options1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-thread1.54-dev:amd64 Conflicts on libboost-thread1.53-dev [ amd64 ]  ( libdevel ) Broken icu-devtools:amd64 Breaks on icu-tools [ amd64 ]  ( libdevel ) (< 52.1-3~) Broken icu-devtools:amd64 Breaks on icu-tools [ i386 ]  ( none ) (< 52.1-3~) Broken libboost-context1.54-dev:amd64 Conflicts on libboost-context1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-mpi-python1.54-dev:amd64 Conflicts on libboost-mpi-python1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-exception1.54-dev:amd64 Conflicts on libboost-exception1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-graph1.54-dev:amd64 Conflicts on libboost-graph1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-locale1.54-dev:amd64 Conflicts on libboost-locale1.53-dev [ amd64 ]  ( libdevel ) Broken libboost1.54-tools-dev:amd64 Conflicts on libboost1.53-tools-dev [ amd64 ]  ( libdevel ) Broken libboost1.54-tools-dev:amd64 Conflicts on libboost1.53-tools-dev [ i386 ]  ( none ) Broken libboost-python1.54-dev:amd64 Conflicts on libboost-python1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-graph-parallel1.54-dev:amd64 Conflicts on libboost-graph-parallel1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-wave1.54-dev:amd64 Conflicts on libboost-wave1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-iostreams1.54-dev:amd64 Conflicts on libboost-iostreams1.53-dev [ amd64 ]  ( libdevel ) Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken libboost-timer1.54-dev:amd64 Conflicts on libboost-timer1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-math1.54-dev:amd64 Conflicts on libboost-math1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-signals1.54-dev:amd64 Conflicts on libboost-signals1.53-dev [ amd64 ]  ( libdevel ) Broken libboost-random1.54-dev:amd64 Conflicts on libboost-random1.53-dev [ amd64 ]  ( libdevel ) Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken libboost-mpi-python1.53.0:amd64 Depends on libboost-mpi1.53.0 [ amd64 ]  ( libs ) Broken xserver-xorg-video-glamoregl:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-radeon:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken libboost-graph-parallel1.53.0:amd64 Depends on libboost-mpi1.53.0 [ amd64 ]  ( libs ) Broken libcogl-pango12:amd64 Depends on libcogl12 [ amd64 ]  ( libs ) (>= 1.13.4) Broken libgd-gd2-perl:amd64 Conflicts on libgd-gd2-noxpm-perl [ amd64 ]  1:2.46-2.1build1 > ( universe/perl ) Broken gnome-control-center-datetime:amd64 Depends on indicator-datetime [ amd64 ]  13.10.0+14.04.20140415.3-0ubuntu1 > ( misc ) (= 13.10.0+13.10.20131023.2-0ubuntu1.1) Broken libvlccore5:amd64 Depends on vlc-data [ amd64 ]  2.1.2-2build2 > ( universe/graphics ) (= 2.0.8-1) Broken libperl5.14:amd64 Depends on perl-base [ amd64 ]  5.18.2-2ubuntu1 > ( perl ) (= 5.14.2-21build1) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ]  ( x11 ) Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ]  ( x11 ) Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ]  ( x11 ) Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ]  ( x11 ) Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ]  ( x11 ) Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-ati:amd64 Depends on xserver-xorg-video-glamoregl [ amd64 ]  ( x11 ) Broken xserver-xorg-video-ati:amd64 Depends on xserver-xorg-video-radeon [ amd64 ]  ( x11 ) Broken xserver-xorg-video-mach64:amd64 Depends on xorg-video-abi-15 [ amd64 ]  ( none ) Broken xserver-xorg-video-r128:amd64 Depends on xorg-video-abi-15 [ amd64 ]  ( none ) Broken xserver-xorg-video-glamoregl:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-radeon:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ]  ( none ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ]  ( x11 ) Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ]  ( x11 ) 

ACTUALIZACIÓN Aquí hay información adicional:

 [lucas@lucas-ThinkPad-W520]~$ less /etc/apt/sources.list.d/ bumblebee-stable-saucy.list bumblebee-stable-saucy.list.distUpgrade bumblebee-stable-saucy.list.save cassou-emacs-saucy.list cassou-emacs-saucy.list.distUpgrade cassou-emacs-saucy.list.save dropbox.list dropbox.list.distUpgrade dropbox.list.save google-chrome.list google-chrome.list.distUpgrade google-chrome.list.save google-talkplugin.list google-talkplugin.list.distUpgrade google-talkplugin.list.save insync.list insync.list.distUpgrade insync.list.save kilian-f_lux-saucy.list kilian-f_lux-saucy.list.distUpgrade kilian-f_lux-saucy.list.save mongodb.list mongodb.list.distUpgrade mongodb.list.save nemh-gambas3-saucy.list nemh-gambas3-saucy.list.distUpgrade nemh-gambas3-saucy.list.save n-muench-calibre-saucy.list n-muench-calibre-saucy.list.distUpgrade n-muench-calibre-saucy.list.save thefanclub-grive-tools-saucy.list thefanclub-grive-tools-saucy.list.distUpgrade thefanclub-grive-tools-saucy.list.save webupd8team-java-saucy.list webupd8team-java-saucy.list.distUpgrade webupd8team-java-saucy.list.save xorg-edgers-ppa-saucy.list xorg-edgers-ppa-saucy.list.distUpgrade xorg-edgers-ppa-saucy.list.save 

y también mi /etc/apt/sources.list continuación:

 # deb cdrom:[Ubuntu 13.10 _Saucy Salamander_ - Release amd64 (20131016.1)]/ saucy main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://us.archive.ubuntu.com/ubuntu/ saucy main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ saucy main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates main restricted deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-updates main restricted ## NB software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ saucy universe deb-src http://us.archive.ubuntu.com/ubuntu/ saucy universe deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-updates universe ## NB software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://us.archive.ubuntu.com/ubuntu/ saucy multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ saucy multiverse deb http://us.archive.ubuntu.com/ubuntu/ saucy-updates multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-updates multiverse ## NB software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://us.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse deb-src http://us.archive.ubuntu.com/ubuntu/ saucy-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu saucy-security main restricted deb-src http://security.ubuntu.com/ubuntu saucy-security main restricted deb http://security.ubuntu.com/ubuntu saucy-security universe deb-src http://security.ubuntu.com/ubuntu saucy-security universe deb http://security.ubuntu.com/ubuntu saucy-security multiverse deb-src http://security.ubuntu.com/ubuntu saucy-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu saucy partner # deb-src http://archive.canonical.com/ubuntu saucy partner ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. # deb http://extras.ubuntu.com/ubuntu saucy main # deb-src http://extras.ubuntu.com/ubuntu saucy main deb http://repository.spotify.com stable non-free # deb-src http://repository.spotify.com stable non-free 

Para actualizar los paquetes del sistema central a Trusty, simplemente ejecute lo siguiente:

 sudo sed 's/saucy/trusty/g' -i /etc/apt/sources.list sudo mv /etc/apt/sources.list.d /etc/apt/sources.list.d.bak sudo apt-get update sudo apt-get dist-upgrade -y 

Para actualizar sus PPA, puede seleccionar manualmente los que desea habilitar o hacer lo siguiente:

 sudo mv /etc/apt/sources.list.d.bak /etc/apt/sources.list.d sudo sed 's/saucy/trusty/g' -i /etc/apt/sources.list.d/* sudo apt-get update sudo apt-get dist-upgrade -y 

Llevo años actualizando mis máquinas de esta manera sin ningún problema. A veces es necesario ejecutar dist-upgrade varias veces, o algún paquete nuevo puede sobrescribir un archivo que APT se niega a hacer, por lo que en esos casos puede dpkg –force-overwrite manualmente esos paquetes si los encuentra.

Bueno, yo también tenía muchos paquetes rotos. Acabo de descargar la ISO 14.04 e instalé con la opción de datos de conservador. Conserva todos sus datos, pero eliminará todos los paquetes no compatibles.

Pero cuando los reinstalas, sus datos no se pierden.

Lo anterior se aplica, por supuesto, si su /home y / están en diferentes particiones. Si están en la misma partición, querrá hacer una copia de seguridad /home , reinstalar y restaurar o arreglar sus paquetes.

Intenta también:

 $ sudo apt-get install --fix-broken 

Eso limpiará tanto como pueda.

Feliz de ayudar.

Ejecutar el siguiente comando resolvió el problema por mí y procedí exitosamente con la actualización:

 sudo apt-get remove xserver-xorg-video-nouveau