Ubuntu 14.04 upgrade from 13.10: Usando pacotes de software não oficiais não fornecidos pelo Ubuntu

2

Estou tendo problemas para atualizar para o 14.04 (Trusty Tahr) de 13.10 (Saucy Salamander), onde recebo uma mensagem Could not calculate the upgrade , e acredito que seja devido aos meus pacotes de software não oficiais. Alguém pode sugerir quais pacotes devo resolver e como resolver esses pacotes? Minha pergunta é semelhante a esta aqui , mas eu preciso de ajuda em implementando a solução que resolve os pacotes.

Já desmarcou todos os pacotes em "outros" no menu Software and Updates ao tentar atualizar através de Software Updater .

A execução de um grep Broken /var/log/dist-upgrade/apt.log mostrou vários pacotes, mas não sei quais estão quebrados e como resolvê-los antes da atualização. Eu suspeito que minha configuração com o Bumblebee e Nvidia Optimus tenha adicionado alguns PPAs e outros softwares não suportados.

Aqui está minha grep Broken /var/log/dist-upgrade/apt.log output:

Broken libqt5core5a:amd64 Breaks on libqt5core5 [ amd64 ] < 5.0.2+dfsg1-7ubuntu11.1 > ( libs ) (< 5.2.0+dfsg~)
Broken libharfbuzz0b:amd64 Conflicts on libharfbuzz0a [ amd64 ] < 0.9.19-1 > ( libs )
Broken cups-filters:amd64 Conflicts on foomatic-filters [ amd64 ] < 4.0.17-1ubuntu1 > ( universe/text )
Broken libboost1.54-dev:amd64 Conflicts on libboost1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libclutter-1.0-0:amd64 Breaks on libcogl12 [ amd64 ] < 1.14.0-2 > ( libs )
Broken unity-control-center:amd64 Conflicts on gnome-control-center-unity [ amd64 ] < 1.3+13.10.20131004-0ubuntu1 > ( gnome )
Broken libgoa-1.0-0b:amd64 Conflicts on libgoa-1.0-0 [ amd64 ] < 3.8.3-2 > ( libs )
Broken libtcl8.6:amd64 Conflicts on tcl8.6-lib [ amd64 ] < 8.6.0-1ubuntu1 > ( interpreters ) (< 8.6.0-2)
Broken unity-control-center-signon:amd64 Conflicts on gnome-control-center-signon [ amd64 ] < 0.1.7~+13.10.20130724.1-0ubuntu1 > ( gnome )
Broken libboost-serialization1.54-dev:amd64 Conflicts on libboost-serialization1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken evolution-data-server:amd64 Conflicts on evolution-data-server-goa [ amd64 ] < 3.8.5-1ubuntu3 > ( gnome ) (< 3.10.3-0ubuntu2~)
Broken libopenmpi1.6:amd64 Conflicts on libopenmpi1.3 [ amd64 ] < 1.4.5-1ubuntu2 > ( libs )
Broken libopenmpi1.6:amd64 Conflicts on openmpi-libs0 [ amd64 ] < none > ( none )
Broken libtk8.6:amd64 Conflicts on tk8.6-lib [ amd64 ] < 8.6.0-1ubuntu1 > ( libs ) (< 8.6.0-2)
Broken libboost-system1.54-dev:amd64 Conflicts on libboost-system1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken tk:amd64 Conflicts on tk-lib [ amd64 ] < 8.5.0-2ubuntu5 > ( libs )
Broken tk:amd64 Conflicts on tk8.5-lib [ amd64 ] < 8.5.11-2ubuntu4 > ( libs )
Broken tcl:amd64 Conflicts on tcl-lib [ amd64 ] < 8.5.0-2ubuntu5 > ( interpreters )
Broken tcl:amd64 Conflicts on tcl8.5-lib [ amd64 ] < 8.5.13-1ubuntu4 > ( interpreters )
Broken libboost-filesystem1.54-dev:amd64 Conflicts on libboost-filesystem1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-date-time1.54-dev:amd64 Conflicts on libboost-date-time1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-test1.54-dev:amd64 Conflicts on libboost-test1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-atomic1.54-dev:amd64 Conflicts on libboost-atomic1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-chrono1.54-dev:amd64 Conflicts on libboost-chrono1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-mpi1.54-dev:amd64 Conflicts on libboost-mpi1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libunity-core-6.0-9:amd64 Conflicts on libunity-core-6.0-8 [ amd64 ] < 7.1.2+13.10.20131014.1-0ubuntu1 > ( libs )
Broken libunity-core-6.0-9:amd64 Conflicts on unity-common [ amd64 ] < none > ( none )
Broken libboost-mpi1.53.0:amd64 Depends on libopenmpi1.3 [ amd64 ] < 1.4.5-1ubuntu2 > ( libs )
Broken libboost-regex1.54-dev:amd64 Conflicts on libboost-regex1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-program-options1.54-dev:amd64 Conflicts on libboost-program-options1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-thread1.54-dev:amd64 Conflicts on libboost-thread1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken icu-devtools:amd64 Breaks on icu-tools [ amd64 ] < 4.8.1.1-12ubuntu2 > ( libdevel ) (< 52.1-3~)
Broken icu-devtools:amd64 Breaks on icu-tools [ i386 ] < none > ( none ) (< 52.1-3~)
Broken libboost-context1.54-dev:amd64 Conflicts on libboost-context1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-mpi-python1.54-dev:amd64 Conflicts on libboost-mpi-python1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-exception1.54-dev:amd64 Conflicts on libboost-exception1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-graph1.54-dev:amd64 Conflicts on libboost-graph1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-locale1.54-dev:amd64 Conflicts on libboost-locale1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost1.54-tools-dev:amd64 Conflicts on libboost1.53-tools-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost1.54-tools-dev:amd64 Conflicts on libboost1.53-tools-dev [ i386 ] < none > ( none )
Broken libboost-python1.54-dev:amd64 Conflicts on libboost-python1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-graph-parallel1.54-dev:amd64 Conflicts on libboost-graph-parallel1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-wave1.54-dev:amd64 Conflicts on libboost-wave1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-iostreams1.54-dev:amd64 Conflicts on libboost-iostreams1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken libboost-timer1.54-dev:amd64 Conflicts on libboost-timer1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-math1.54-dev:amd64 Conflicts on libboost-math1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-signals1.54-dev:amd64 Conflicts on libboost-signals1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken libboost-random1.54-dev:amd64 Conflicts on libboost-random1.53-dev [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libdevel )
Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken libboost-mpi-python1.53.0:amd64 Depends on libboost-mpi1.53.0 [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libs )
Broken xserver-xorg-video-glamoregl:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-radeon:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken libboost-graph-parallel1.53.0:amd64 Depends on libboost-mpi1.53.0 [ amd64 ] < 1.53.0-6+exp3ubuntu8 > ( libs )
Broken libcogl-pango12:amd64 Depends on libcogl12 [ amd64 ] < 1.14.0-2 > ( libs ) (>= 1.13.4)
Broken libgd-gd2-perl:amd64 Conflicts on libgd-gd2-noxpm-perl [ amd64 ] < none -> 1:2.46-2.1build1 > ( universe/perl )
Broken gnome-control-center-datetime:amd64 Depends on indicator-datetime [ amd64 ] < 13.10.0+13.10.20131023.2-0ubuntu1.1 -> 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.0.8-1 -> 2.1.2-2build2 > ( universe/graphics ) (= 2.0.8-1)
Broken libperl5.14:amd64 Depends on perl-base [ amd64 ] < 5.14.2-21build1 -> 5.18.2-2ubuntu1 > ( perl ) (= 5.14.2-21build1)
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ] < 1:7.3.99+git20140420.48d3dbc8-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ] < 2:2.99.911+git20140429.2fd1a05a-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ] < 1:1.0.10+git20140220.480f0998-0ubuntu0sarvatt~saucy > ( x11 )
Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ] < 1:7.3.99+git20140420.48d3dbc8-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ] < 2:2.99.911+git20140429.2fd1a05a-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ] < 1:1.0.10+git20140220.480f0998-0ubuntu0sarvatt~saucy > ( x11 )
Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ] < 1:7.3.99+git20140420.48d3dbc8-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ] < 1:7.3.99+git20140420.48d3dbc8-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ] < 2:2.99.911+git20140429.2fd1a05a-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ] < 1:1.0.10+git20140220.480f0998-0ubuntu0sarvatt~saucy > ( x11 )
Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ] < 1:7.3.99+git20140420.48d3dbc8-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ] < 2:2.99.911+git20140429.2fd1a05a-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ] < 1:1.0.10+git20140220.480f0998-0ubuntu0sarvatt~saucy > ( x11 )
Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-ati:amd64 Depends on xserver-xorg-video-glamoregl [ amd64 ] < 0.6.0+git20140313.a4fbc773-0ubuntu0sarvatt~saucy > ( x11 )
Broken xserver-xorg-video-ati:amd64 Depends on xserver-xorg-video-radeon [ amd64 ] < 1:7.3.99+git20140420.48d3dbc8-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-mach64:amd64 Depends on xorg-video-abi-15 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-r128:amd64 Depends on xorg-video-abi-15 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-glamoregl:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-intel:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-ati:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-radeon:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-nouveau:amd64 Depends on xorg-video-abi-14 [ amd64 ] < none > ( none )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-ati [ amd64 ] < 1:7.3.99+git20140420.48d3dbc8-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-intel [ amd64 ] < 2:2.99.911+git20140429.2fd1a05a-0ubuntu0ricotz~saucy > ( x11 )
Broken xserver-xorg-video-all:amd64 Depends on xserver-xorg-video-nouveau [ amd64 ] < 1:1.0.10+git20140220.480f0998-0ubuntu0sarvatt~saucy > ( x11 )

UPDATE Aqui está informação 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

e também meu /etc/apt/sources.list abaixo:

# 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

## N.B. 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

## N.B. 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

## N.B. 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
    
por modulitos 01.05.2014 / 01:54

3 respostas

3

Para atualizar os pacotes principais do sistema para o Trusty, simplesmente execute o seguinte:

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 atualizar seus PPAs, você pode selecionar manualmente os que serão ativados ou fazer o seguinte:

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

Estou atualizando minhas máquinas há anos sem problemas. Às vezes você precisa rodar dist-upgrade algumas vezes, ou algum novo pacote pode sobrescrever um arquivo que o APT se recusa a fazer, então nesses casos você pode manualmente dpkg -force-sobrescrever esses pacotes se você os encontrar.

    
por mmstick 02.05.2014 / 21:13
1

Bem, eu também tinha muitos pacotes quebrados. Acabei de baixar o 14.04 ISO e instalei com a opção de dados do preservador. Ele preserva todos os seus dados, mas excluirá todos os pacotes não suportados.

Mas quando você os reinstalar, os dados deles não serão perdidos.

O acima se aplica, é claro, se seus /home e / estiverem em partições diferentes. Se eles estiverem na mesma partição, você precisará fazer o backup de /home , reinstalar e restaurar ou corrigir seus pacotes.

Experimente também:

$ sudo apt-get install --fix-broken

Isso limpará o máximo possível.

Feliz por ajudar.

    
por ps95 01.05.2014 / 11:02
1

A execução do seguinte comando resolveu o problema para mim e continuei com êxito com a atualização:

sudo apt-get remove xserver-xorg-video-nouveau
    
por tamers 07.08.2014 / 09:26