Instalando diversos pacotes * -dev

1

Estou tentando instalar vários pacotes de desenvolvimento, mas continuo executando em roadblocks, e este é o mais recente:

khishman@khishman-desktop:~/dev/powertab/build$ sudo aptitude install  qtbase5-dev  libboost-date-time-dev libboost-filesystem-dev libboost-iostreams-dev
The following NEW packages will be installed:
  libboost-date-time-dev libboost-date-time1.58-dev{ab} libboost-filesystem-dev libboost-filesystem1.58-dev{ab} libboost-iostreams-dev libboost-iostreams1.58-dev{ab} libboost-system1.58-dev{ab} libqt5concurrent5{a} 
  libqt5opengl5-dev{ab} qt5-qmake{a} qtbase5-dev{b} qtbase5-dev-tools{a} 
0 packages upgraded, 12 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,362 kB of archives. After unpacking 23.3 MB will be used.
The following packages have unmet dependencies:
 libqt5opengl5-dev : Depends: libqt5opengl5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
 libboost-date-time1.58-dev : Depends: libboost-date-time1.58.0 (= 1.58.0+dfsg-5ubuntu3) but 1.58.0+dfsg-5ubuntu3.1 is installed.
 libboost-filesystem1.58-dev : Depends: libboost-filesystem1.58.0 (= 1.58.0+dfsg-5ubuntu3) but 1.58.0+dfsg-5ubuntu3.1 is installed.
 libboost-iostreams1.58-dev : Depends: libboost-iostreams1.58.0 (= 1.58.0+dfsg-5ubuntu3) but 1.58.0+dfsg-5ubuntu3.1 is installed.
 qtbase5-dev : Depends: libqt5core5a (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5dbus5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5gui5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5network5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5printsupport5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5sql5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5test5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5widgets5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5xml5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
 libboost-system1.58-dev : Depends: libboost-system1.58.0 (= 1.58.0+dfsg-5ubuntu3) but 1.58.0+dfsg-5ubuntu3.1 is installed.
The following actions will resolve these dependencies:

      Keep the following packages at their current version:              
1)      libboost-date-time-dev [Not Installed]                           
2)      libboost-date-time1.58-dev [Not Installed]                       
3)      libboost-filesystem-dev [Not Installed]                          
4)      libboost-filesystem1.58-dev [Not Installed]                      
5)      libboost-iostreams-dev [Not Installed]                           
6)      libboost-iostreams1.58-dev [Not Installed]                       
7)      libboost-system1.58-dev [Not Installed]                          
8)      libqt5opengl5-dev [Not Installed]                                
9)      qtbase5-dev [Not Installed]                                      

      Leave the following dependencies unresolved:                       
10)     qtbase5-dev recommends libqt5opengl5-dev (= 5.5.1+dfsg-16ubuntu7)


Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.

Parece que os pacotes não estão concordando com a versão secundária, por exemplo

Depends: libqt5opengl5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed

parece ser um conflito entre 16ubuntu7 e 16ubuntu7.2 Considerando que

Depends: libboost-iostreams1.58.0 (= 1.58.0+dfsg-5ubuntu3) but 1.58.0+dfsg-5ubuntu3.1 is installed.

Parece haver um conflito entre 5ubuntu3 e 5ubuntu3.1

Se você não percebeu, estou usando aptitude e não apt-get . A mudança foi uma tentativa de passar por um obstáculo semelhante (o "... mas não vai ser instalado", "você realizou pacotes quebrados" obstáculo), eu tentei sudo apt-get autoremove e sudo apt-get install -f apenas no caso. Eu também me certifiquei de remover todos os unofficial ppas

khishman@khishman-desktop:/etc/apt$ find ./ -name *.list -exec grep -E "^[\s]*deb" {} \;
deb http://ca.archive.ubuntu.com/ubuntu/ xenial main
deb http://ca.archive.ubuntu.com/ubuntu/ xenial universe
deb http://security.ubuntu.com/ubuntu xenial-security main
deb http://security.ubuntu.com/ubuntu xenial-security universe

Mas sem sorte.

Qualquer ajuda será apreciada.

    
por qwertyzw 30.05.2017 / 06:22

1 resposta

0

Acabei rejeitando a primeira solução do aptitude, e a segunda solução acabou por diminuir a maioria das dependências para uma versão anterior (de 16ubunt7.2 para 16ubuntu7 e 5ubuntu3.1 para 5ubuntu3 ). Eu não tenho certeza se isso era a coisa certa a fazer, mas eu alcancei meu objetivo.

khishman@khishman-desktop:/etc/apt$ sudo aptitude install  qtbase5-dev libboost-dev libboost-date-time-dev libboost-filesystem-dev libboost-iostreams-dev
libboost-dev is already installed at the requested version (1.58.0.1ubuntu1)
libboost-dev is already installed at the requested version (1.58.0.1ubuntu1)
The following NEW packages will be installed:
  libboost-date-time-dev libboost-date-time1.58-dev{ab} libboost-filesystem-dev libboost-filesystem1.58-dev{ab} libboost-iostreams-dev libboost-iostreams1.58-dev{ab} libboost-regex1.58-dev{ab} libboost-serialization1.58-dev{ab} 
  libboost-serialization1.58.0{a} libboost-system1.58-dev{ab} libqt5concurrent5{a} libqt5opengl5-dev{ab} qt5-qmake{a} qtbase5-dev{b} qtbase5-dev-tools{a} 
0 packages upgraded, 15 newly installed, 0 to remove and 14 not upgraded.
Need to get 3,944 kB of archives. After unpacking 29.4 MB will be used.
The following packages have unmet dependencies:
 libqt5opengl5-dev : Depends: libqt5opengl5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
 libboost-date-time1.58-dev : Depends: libboost1.58-dev (= 1.58.0+dfsg-5ubuntu3.1) but 1.58.0+dfsg-5ubuntu3 is installed.
 libboost-regex1.58-dev : Depends: libboost1.58-dev (= 1.58.0+dfsg-5ubuntu3.1) but 1.58.0+dfsg-5ubuntu3 is installed.
                          Depends: libboost-regex1.58.0 (= 1.58.0+dfsg-5ubuntu3.1) but it is not going to be installed.
 libboost-serialization1.58-dev : Depends: libboost1.58-dev (= 1.58.0+dfsg-5ubuntu3.1) but 1.58.0+dfsg-5ubuntu3 is installed.
 libboost-filesystem1.58-dev : Depends: libboost1.58-dev (= 1.58.0+dfsg-5ubuntu3.1) but 1.58.0+dfsg-5ubuntu3 is installed.
 libboost-iostreams1.58-dev : Depends: libboost1.58-dev (= 1.58.0+dfsg-5ubuntu3.1) but 1.58.0+dfsg-5ubuntu3 is installed.
 qtbase5-dev : Depends: libqt5core5a (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5dbus5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5gui5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5network5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5printsupport5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5sql5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5test5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5widgets5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
               Depends: libqt5xml5 (= 5.5.1+dfsg-16ubuntu7) but 5.5.1+dfsg-16ubuntu7.2 is installed.
 libboost-system1.58-dev : Depends: libboost1.58-dev (= 1.58.0+dfsg-5ubuntu3.1) but 1.58.0+dfsg-5ubuntu3 is installed.
The following actions will resolve these dependencies:

      Keep the following packages at their current version:              
1)      libboost-date-time-dev [Not Installed]                           
2)      libboost-date-time1.58-dev [Not Installed]                       
3)      libboost-filesystem-dev [Not Installed]                          
4)      libboost-filesystem1.58-dev [Not Installed]                      
5)      libboost-iostreams-dev [Not Installed]                           
6)      libboost-iostreams1.58-dev [Not Installed]                       
7)      libboost-regex1.58-dev [Not Installed]                           
8)      libboost-serialization1.58-dev [Not Installed]                   
9)      libboost-system1.58-dev [Not Installed]                          
10)     libqt5opengl5-dev [Not Installed]                                
11)     qtbase5-dev [Not Installed]                                      

      Leave the following dependencies unresolved:                       
12)     qtbase5-dev recommends libqt5opengl5-dev (= 5.5.1+dfsg-16ubuntu7)


Accept this solution? [Y/n/q/?] n   
The following actions will resolve these dependencies:

      Install the following packages:                                                                 
1)      libboost-date-time1.58-dev [1.58.0+dfsg-5ubuntu3 (xenial)]                                    
2)      libboost-filesystem1.58-dev [1.58.0+dfsg-5ubuntu3 (xenial)]                                   
3)      libboost-iostreams1.58-dev [1.58.0+dfsg-5ubuntu3 (xenial)]                                    
4)      libboost-regex1.58-dev [1.58.0+dfsg-5ubuntu3 (xenial)]                                        
5)      libboost-regex1.58.0 [1.58.0+dfsg-5ubuntu3 (xenial)]                                          
6)      libboost-serialization1.58-dev [1.58.0+dfsg-5ubuntu3 (xenial)]                                
7)      libboost-serialization1.58.0 [1.58.0+dfsg-5ubuntu3 (xenial)]                                  
8)      libboost-system1.58-dev [1.58.0+dfsg-5ubuntu3 (xenial)]                                       

      Downgrade the following packages:                                                               
9)      libboost-date-time1.58.0 [1.58.0+dfsg-5ubuntu3.1 (now) -> 1.58.0+dfsg-5ubuntu3 (xenial)]      
10)     libboost-filesystem1.58.0 [1.58.0+dfsg-5ubuntu3.1 (now) -> 1.58.0+dfsg-5ubuntu3 (xenial)]     
11)     libboost-filesystem1.58.0:i386 [1.58.0+dfsg-5ubuntu3.1 (now) -> 1.58.0+dfsg-5ubuntu3 (xenial)]
12)     libboost-iostreams1.58.0 [1.58.0+dfsg-5ubuntu3.1 (now) -> 1.58.0+dfsg-5ubuntu3 (xenial)]      
13)     libboost-system1.58.0 [1.58.0+dfsg-5ubuntu3.1 (now) -> 1.58.0+dfsg-5ubuntu3 (xenial)]         
14)     libboost-system1.58.0:i386 [1.58.0+dfsg-5ubuntu3.1 (now) -> 1.58.0+dfsg-5ubuntu3 (xenial)]    
15)     libqt5core5a [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]                  
16)     libqt5dbus5 [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]                   
17)     libqt5gui5 [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]                    
18)     libqt5network5 [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]                
19)     libqt5opengl5 [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]                 
20)     libqt5printsupport5 [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]           
21)     libqt5sql5 [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]                    
22)     libqt5test5 [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]                   
23)     libqt5widgets5 [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]                
24)     libqt5xml5 [5.5.1+dfsg-16ubuntu7.2 (now) -> 5.5.1+dfsg-16ubuntu7 (xenial)]                    



Accept this solution? [Y/n/q/?] Y
    
por qwertyzw 31.05.2017 / 01:48