upgrade de 13.04 para 13.10 dependências com falha e quebradas

2

Eu tentei executar a atualização do meu Ubuntu 13.04 para 13.10 mas ele falhou ao atualizar um pacote latex com o erro de [here] ( Atualizando de 13.04 para 13.10 paradas ) e se acalmou para tentar reverter. No entanto, o computador se mantém em 13.10.

Quando tento executar apt-get install , obtenho:

    Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 libboost-chrono1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-date-time1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-filesystem1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-graph-parallel1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-graph1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-iostreams1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-locale1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-math1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-mpi1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-program-options1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-python1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-random1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-regex1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-serialization1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-signals1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-system1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-test1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-thread1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-timer1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
 libboost-wave1.49-dev : Depends: libboost1.49-dev (= 1.49.0-4) but 1.49.0-3.2ubuntu1 is installed
E: Unmet dependencies. Try using -f.

e quando tento apt-get -f install , recebo o erro:

The following extra packages will be installed:
  libboost1.49-dev
Suggested packages:
  libboost1.49-doc xsltproc docbook-xsl fop
The following packages will be upgraded:
  libboost1.49-dev
1 upgraded, 0 newly installed, 0 to remove and 23 not upgraded.
40 not fully installed or removed.
Need to get 0 B/9,208 kB of archives.
After this operation, 36.9 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 598837 files and directories currently installed.)
Preparing to replace libboost1.49-dev 1.49.0-3.2ubuntu1 (using .../libboost1.49-dev_1.49.0-4_amd64.deb) ...
Unpacking replacement libboost1.49-dev ...
dpkg: error processing /var/cache/apt/archives/libboost1.49-dev_1.49.0-4_amd64.deb (--unpack):
 trying to overwrite '/usr/bin/bcp', which is also in package libboost1.53-tools-dev 1.53.0-6+exp3ubuntu8
No apport report written because MaxReports is reached already
                                                              dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/libboost1.49-dev_1.49.0-4_amd64

Eu considerei remover um boost de novo download, mas não o que tornar meu sistema mais estranho e menos estável.

Alguma sugestão sobre a melhor maneira de corrigir este problema e qualquer outra falha na atualização pode ter sido feita?

    
por Silverdev 23.12.2013 / 06:25

1 resposta

0

O problema é que o libboost1.49-dev que foi instalado a partir de outro repositório está competindo com a instalação recente do libboost1.49-dev do repositório principal.

Então, primeiro você precisa remover o presente libboost1.49-dev .

sudo dpkg --purge libboost1.49-dev

Em seguida, limpe o apt-cache

sudo apt-get clean

Em seguida, execute sudo apt-get -f install .

    
por user224082 31.12.2013 / 10:49