| 
 | 
 
debian:~# apt-get install g++ 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 
The following packages have unmet dependencies: 
  g++: Depends: g++-4.3 (>= 4.3.2-1) but it is not going to be installed 
E: Broken packages 
debian:~# dpkg --install g++-4.3_4.3.2-1.1_amd64.deb  
Selecting previously deselected package g++-4.3. 
(Reading database ... 13619 files and directories currently installed.) 
Unpacking g++-4.3 (from g++-4.3_4.3.2-1.1_amd64.deb) ... 
dpkg: dependency problems prevent configuration of g++-4.3: 
 g++-4.3 depends on libstdc++6-4.3-dev (= 4.3.2-1.1); however: 
  Package libstdc++6-4.3-dev is not installed. 
dpkg: error processing g++-4.3 (--install): 
 dependency problems - leaving unconfigured 
Errors were encountered while processing: 
 g++-4.3 
debian:~# apt-get install libstdc++6-4.3-dev 
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: 
  libstdc++6-4.3-dev: Depends: libc6-dev (>= 2.5) but it is not going to be installed 
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 
debian:~# apt-get install libc6-dev 
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: 
  g++-4.3: Depends: libstdc++6-4.3-dev (= 4.3.2-1.1) but it is not going to be installed 
  libc6-dev: Depends: libc6 (= 2.7-18lenny7) but 2.11.2-10 is to be installed 
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). 
debian:~# apt-get -f install 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
Correcting dependencies... Done 
The following packages were automatically installed and are no longer required: 
  linux-libc-dev 
Use 'apt-get autoremove' to remove them. 
The following packages will be REMOVED: 
  g++-4.3 
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded. 
1 not fully installed or removed. 
After this operation, 9019kB disk space will be freed. 
Do you want to continue [Y/n]? y 
(Reading database ... 13626 files and directories currently installed.) 
Removing g++-4.3 ... 
debian:~# apt-get install libc6 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
libc6 is already the newest version. 
The following packages were automatically installed and are no longer required: 
  linux-libc-dev 
Use 'apt-get autoremove' to remove them. 
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 
debian:~# apt-get autoremove 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
The following packages were automatically installed and are no longer required: 
  linux-libc-dev 
The following packages will be REMOVED: 
  linux-libc-dev 
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded. 
After this operation, 3961kB disk space will be freed. 
Do you want to continue [Y/n]? y 
(Reading database ... 13619 files and directories currently installed.) 
Removing linux-libc-dev ... 
debian:~# apt-get install libc6-dev 
Reading package lists... Done 
Building dependency tree        
Reading state information... Done 
Some packages could not be installed. This may mean that you have 
requested an impossible situation or if you are using the unstable 
distribution that some required packages have not yet been created 
or been moved out of Incoming. 
The following information may help to resolve the situation: 
The following packages have unmet dependencies: 
  libc6-dev: Depends: libc6 (= 2.7-18lenny7) but 2.11.2-10 is to be installed 
E: Broken packages |   
 
 
 
 |