여러 *-dev 패키지 설치

여러 *-dev 패키지 설치

여러 개발 패키지를 설치하려고 하는데 계속해서 장애물이 발생하는데 이것이 가장 최근 패키지입니다.

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.

예를 들어 패키지가 부 버전에 동의하지 않는 것 같습니다.

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

16ubuntu7와 사이에 갈등이 있는 것 같습니다 16ubuntu7.2 .

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

5ubuntu3와 사이에 갈등이 있는 것 같습니다 .5ubuntu3.1

눈치 채지 못했다면 aptitude나는 apt-get. 스위치는 유사한 장애물("...하지만 설치되지 않을 것입니다", "깨진 패키지를 보유하고 있습니다" 장애물)을 극복하려는 시도였으며 만일의 경우에 대비 sudo apt-get autoremove하여 시도했습니다. sudo apt-get install -f나는 또한 모든 unofficialppa를 제거했는지 확인했습니다.

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

그러나 행운이 없습니다.

도움을 주시면 감사하겠습니다.

답변1

나는 결국 aptitude의 첫 번째 솔루션을 거부했고 두 번째 솔루션은 대부분의 종속성을 이전 버전으로 다운그레이드하는 것으로 나타났습니다( 16ubunt7.2아래에서 까지 16ubuntu7) . 이것이 옳은 일인지는 잘 모르겠지만, 나는 내 목표를 달성했습니다.5ubuntu3.15ubuntu3

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

관련 정보