Skip to content

Instantly share code, notes, and snippets.

@n1k0
Created June 20, 2012 15:14
Show Gist options
  • Save n1k0/2960405 to your computer and use it in GitHub Desktop.
Save n1k0/2960405 to your computer and use it in GitHub Desktop.
haha
# apt-get install nodejs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libc-ares2 libev4 libssl1.0.0 libv8-3.8.9.20 multiarch-support
The following packages will be REMOVED:
openssh-client openssh-server
The following NEW packages will be installed:
libc-ares2 libev4 libssl1.0.0 libv8-3.8.9.20 multiarch-support nodejs
0 upgraded, 6 newly installed, 2 to remove and 153 not upgraded.
Need to get 3 674 kB of archives.
After this operation, 6 722 kB of additional disk space will be used.
Do you want to continue [Y/n]?
# apt-get install nodejs openssh-client openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
openssh-client is already the newest version.
openssh-server is already the newest version.
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:
nodejs : Depends: libssl1.0.0 (>= 1.0.1) but it is not going to be installed
E: Broken packages
deb http://mirror.ovh.net/debian/ squeeze main contrib non-free
deb-src http://mirror.ovh.net/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ sid main
@metamatik
Copy link

/me likes this.

@wo0dyn
Copy link

wo0dyn commented Jun 20, 2012

Press ↵ → we'll see… 🙏

@n1k0
Copy link
Author

n1k0 commented Jun 20, 2012

/me… neither

@brutasse
Copy link

Try adding the backports?

deb http://backports.debian.org/debian-backports squeeze-backports main

@n1k0
Copy link
Author

n1k0 commented Jun 20, 2012

@brutasse: no success :(

@brutasse
Copy link

@n1k0 I assume you've run apt-get update (sorry)

$ dpkg -l |grep openssh
ii  openssh-blacklist                   0.4.1                        list of default blacklisted OpenSSH RSA and DSA keys
ii  openssh-blacklist-extra             0.4.1                        list of non-default blacklisted OpenSSH RSA and DSA keys
ii  openssh-client                      1:5.9p1-5                    secure shell (SSH) client, for secure access to remote machines
ii  openssh-server                      1:5.9p1-5                    secure shell (SSH) server, for secure access from remote machines
$ dpkg -l |grep nodejs
ii  nodejs                              0.6.17~dfsg1-1               Node.js event-based server-side javascript engine
ii  nodejs-dev                          0.6.17~dfsg1-1               Development files for Node.js
$ dpkg -l |grep libssl
ii  libssl-dev                          1.0.1c-1                     SSL development libraries, header files and documentation
ii  libssl-doc                          1.0.1c-1                     SSL development documentation documentation
ii  libssl0.9.8                         0.9.8o-4squeeze12            SSL shared libraries
ii  libssl1.0.0                         1.0.1c-1                     SSL shared libraries

@n1k0
Copy link
Author

n1k0 commented Jun 20, 2012

@brutasse I did.

# vi /etc/apt/sources.list
root@exmoor:~# apt-get update
Hit http://mirror.ovh.net squeeze Release.gpg
Ign http://mirror.ovh.net/debian/ squeeze/contrib Translation-en                                                                                
Ign http://mirror.ovh.net/debian/ squeeze/contrib Translation-en_GB                                                                             
Ign http://mirror.ovh.net/debian/ squeeze/contrib Translation-fr                                                                                
Ign http://mirror.ovh.net/debian/ squeeze/main Translation-en                                                                                    
Ign http://mirror.ovh.net/debian/ squeeze/main Translation-en_GB                                                                                 
Hit http://mirror.ovh.net/debian/ squeeze/main Translation-fr                                                                                    
Ign http://mirror.ovh.net/debian/ squeeze/non-free Translation-en                                                                                
Ign http://mirror.ovh.net/debian/ squeeze/non-free Translation-en_GB                                                                             
Ign http://mirror.ovh.net/debian/ squeeze/non-free Translation-fr                                                                                
Hit http://mirror.ovh.net squeeze Release                                                                                                        
Hit http://mirror.ovh.net squeeze/main Sources                                                                                                                         
Hit http://mirror.ovh.net squeeze/contrib Sources                                                                                                                
Hit http://mirror.ovh.net squeeze/non-free Sources                                                                                                               
Hit http://mirror.ovh.net squeeze/main amd64 Packages                                                                                                                                  
Hit http://mirror.ovh.net squeeze/contrib amd64 Packages                                                                                                                               
Hit http://mirror.ovh.net squeeze/non-free amd64 Packages                                                                                                                              
Hit http://ftp.us.debian.org sid Release.gpg                                                                                                                                           
Hit http://ftp.us.debian.org/debian/ sid/main Translation-en                                                                                                       
Ign http://ftp.us.debian.org/debian/ sid/main Translation-en_GB                                                                                                    
Hit http://ftp.us.debian.org/debian/ sid/main Translation-fr                                                                                                       
Hit http://security.debian.org squeeze/updates Release.gpg                                                                                                         
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en                                                                                             
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_GB                                                            
Ign http://security.debian.org/ squeeze/updates/contrib Translation-fr                                                               
Ign http://security.debian.org/ squeeze/updates/main Translation-en                                                                  
Ign http://security.debian.org/ squeeze/updates/main Translation-en_GB                                                               
Ign http://security.debian.org/ squeeze/updates/main Translation-fr                                                                  
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en                                                              
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_GB                                                           
Ign http://security.debian.org/ squeeze/updates/non-free Translation-fr                                                              
Hit http://security.debian.org squeeze/updates Release                                                                               
Hit http://security.debian.org squeeze/updates/main Sources                                                                           
Hit http://security.debian.org squeeze/updates/contrib Sources                                                 
Hit http://security.debian.org squeeze/updates/non-free Sources                                                
Hit http://security.debian.org squeeze/updates/main amd64 Packages                                                                   
Hit http://security.debian.org squeeze/updates/contrib amd64 Packages                                                                
Hit http://security.debian.org squeeze/updates/non-free amd64 Packages                                                               
Hit http://ftp.us.debian.org sid Release                                                                                             
Hit http://ftp.us.debian.org sid/main amd64 Packages/DiffIndex                                                 
Get:1 http://backports.debian.org squeeze-backports Release.gpg [836 B]                  
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en_GB
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-fr
Hit http://pkg.jenkins-ci.org binary/ Release.gpg                          
Ign http://pkg.jenkins-ci.org/debian/ binary/ Translation-en               
Get:2 http://backports.debian.org squeeze-backports Release [77,6 kB]      
Ign http://pkg.jenkins-ci.org/debian/ binary/ Translation-en_GB            
Ign http://pkg.jenkins-ci.org/debian/ binary/ Translation-fr                         
Hit http://pkg.jenkins-ci.org binary/ Release                                        
Hit http://pkg.jenkins-ci.org binary/ Packages            
Get:3 http://backports.debian.org squeeze-backports/main amd64 Packages [432 kB]
Fetched 510 kB in 2s (196 kB/s)   
Reading package lists... Done
root@exmoor:~# apt-get install nodejs openssh-client openssh-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
openssh-client is already the newest version.
openssh-server is already the newest version.
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:
 nodejs : Depends: libssl1.0.0 (>= 1.0.1) but it is not going to be installed
E: Broken packages
root@exmoor:~#

@n1k0
Copy link
Author

n1k0 commented Jun 20, 2012

Further info:

root@exmoor:~# dpkg -l |grep openssh
ii  openssh-blacklist                   0.4.1                        list of default blacklisted OpenSSH RSA and DSA keys
ii  openssh-blacklist-extra             0.4.1                        list of non-default blacklisted OpenSSH RSA and DSA keys
ii  openssh-client                      1:5.5p1-6+squeeze2           secure shell (SSH) client, for secure access to remote machines
ii  openssh-server                      1:5.5p1-6+squeeze2           secure shell (SSH) server, for secure access from remote machines
root@exmoor:~# dpkg -l |grep libssl
ii  libssl-dev                          0.9.8o-4squeeze1             SSL development libraries, header files and documentation
ii  libssl0.9.8                         0.9.8o-4squeeze1             SSL shared libraries
rc  libssl1.0.0                         1.0.1c-3                     SSL shared libraries

@clochix
Copy link

clochix commented Jun 20, 2012

Look at the dependencies: openssh-client 1:5.5p1-6+squeeze2 depends on libssl0.9.8 but the backported node try to replace libssl0.9.8 with libssl1.0.0.
You can try to install a openssh-client version compatible with libssl1.0.0, but who knows where it will stop.

FYI, Sid is pretty stable ;)

@n1k0
Copy link
Author

n1k0 commented Jun 20, 2012

FYI, Sid is pretty stable ;)

Oh, if it was just me… :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment