LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   install ssh on debian lenny 6 (https://www.linuxquestions.org/questions/debian-26/install-ssh-on-debian-lenny-6-a-915165/)

rey 11-23-2011 02:02 PM

install ssh on debian lenny 6
 
hello

i'm trying to setup an ssh server on a desktop pc running
debian lenny 6, but when i try to install it aptitude shows
a broken dependency on libkrb53 and the solution it suggests
seems to delete a lot of programs like dolphin or kate etc.
it shows a list of unresolved dependencies too

i'm using debian 6 kde cd just as it installs, i wonder
if this happens to other people, what can i do to solve
that problem? i just need a ssh server running and maybe other common servers,

thanks for your help!

rey 11-23-2011 03:13 PM

update
i tried to install apache 2 inc ssh on the same OS and it shows the
same dependencies message for libkrb53 i don't knw what to do!

TobiSGD 11-23-2011 03:31 PM

You can start with telling us if you use Debian Lenny (which is version 5) or Debian Squeeze (which is version 6). There is no Debian Lenny 6.
After that, please post the exact commands you try and the exact output you get between code-tags (the #-button on top of the post-editor).

rey 11-23-2011 03:45 PM

hello
thanks for your reply

here it is, it's shown in spanish but it's basically the same output

thanks for your help

Code:

root@debian:/home/server# uname -a
Linux debian 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011 i686 GNU/Linux
root@debian:/home/server# cat /etc/issue
Debian GNU/Linux 6.0 \n \l

root@debian:/home/server# aptitude install ssh
Se instalarán los siguiente paquetes NUEVOS:   
  libkrb53{a} openssh-server{ab} ssh
0 paquetes actualizados, 3 nuevos instalados, 0 para eliminar y 0 sin actualizar.
Necesito descargar 777 kB de ficheros. Después de desempaquetar se usarán 2052 kB.
No se satisfacen las dependencias de los siguientes paquetes:
  libkrb5-3: Rompe: libkrb53 (< 1.6.dfsg.4~beta1-9) pero se va a instalar 1.6.dfsg.4~beta1-5lenny6.
  libkrb5support0: Rompe: libkrb53 (< 1.6.dfsg.4~beta1-9) pero se va a instalar 1.6.dfsg.4~beta1-5lenny6.
  libk5crypto3: Rompe: libkrb53 (< 1.6.dfsg.4~beta1-9) pero se va a instalar 1.6.dfsg.4~beta1-5lenny6.
  libgssapi-krb5-2: Rompe: libkrb53 (< 1.8) pero se va a instalar 1.6.dfsg.4~beta1-5lenny6.
  openssh-server: Depende: openssh-client (= 1:5.1p1-5) pero está instalado 1:5.5p1-6.
abierto: 113; cerrado: 129; diferido: 48; conflicto: 63                                    .Las acciones siguientes resolverán estas dependencias

      Eliminar los paquetes siguientes:                                 
1)      akonadi-server                                                 
2)      akregator                                                       
3)      ark                                                             
4)      bind9-host                                                     
5)      desktop-base                                                   
6)      dnsutils                                                       
7)      dolphin                                                         
8)      dragonplayer                                                   
9)      flashplugin-nonfree                                             
10)      gwenview                                                       
11)      host                                                           
12)      iceweasel                                                       
13)      juk                                                             
14)      kaddressbook                                                   
15)      kappfinder                                                     
16)      kate                                                           
17)      kcalc                                                           
18)      kde-plasma-desktop                                             
19)      kde-standard                                                   
20)      kde-window-manager                                             
21)      kdebase-apps                                                   
22)      kdebase-bin                                                     
23)      kdebase-runtime                                                 
24)      kdebase-workspace                                               
25)      kdebase-workspace-bin                                           
26)      kdelibs-bin                                                     
27)      kdelibs5-plugins                                               
28)      kdepasswd                                                       
29)      kdepim-runtime                                                 
30)      kdeplasma-addons                                               
31)      kdm                                                             
32)      kfind                                                           
33)      khelpcenter4                                                   
34)      klipper                                                         
35)      kmail                                                           
36)      kmix                                                           
37)      knotes                                                         
38)      konqueror                                                       
39)      konsole                                                         
40)      kopete                                                         
41)      korganizer                                                     
42)      kscreensaver                                                   
43)      ksnapshot                                                       
44)      ksysguard                                                       
45)      kwalletmanager                                                 
46)      kwrite                                                         
47)      libakonadi-contact4                                             
48)      libakonadi-kde4                                                 
49)      libakonadi-kmime4                                               
50)      libakonadiprivate1                                             
51)      libbind9-60                                                     
52)      libcups2                                                       
53)      libcupsimage2                                                   
54)      libcurl3-gnutls                                                 
55)      libdns69                                                       
56)      libgraphicsmagick3                                             
57)      libgs8                                                         
58)      libgssapi-krb5-2                                               
59)      libgssrpc4                                                     
60)      libgtk2.0-0                                                     
61)      libisccfg62                                                     
62)      libk5crypto3                                                   
63)      libkadm5clnt-mit7                                               
64)      libkadm5srv-mit7                                               
65)      libkdb5-4                                                       
66)      libkdepim4                                                     
67)      libkonq5                                                       
68)      libkopete4                                                     
69)      libkrb5-3                                                       
70)      libkrb5support0                                                 
71)      libmailtransport4                                               
72)      libmessagelist4                                                 
73)      libnepomuk4                                                     
74)      libnepomukquery4a                                               
75)      libokularcore1                                                 
76)      libraptor1                                                     
77)      librasqal2                                                     
78)      librdf0                                                         
79)      librsvg2-2                                                     
80)      librsvg2-common                                                 
81)      libscim8c2a                                                     
82)      libsmbclient                                                   
83)      libsoprano4                                                     
84)      libspectre1                                                     
85)      libtunepimp5                                                   
86)      libwmf0.2-7                                                     
87)      libxine1                                                       
88)      libxine1-misc-plugins                                           
89)      libxine1-plugins                                               
90)      mutt                                                           
91)      nfs-common                                                     
92)      okular                                                         
93)      openssh-client                                                 
94)      phonon                                                         
95)      phonon-backend-xine                                             
96)      plasma-dataengines-workspace                                   
97)      plasma-desktop                                                 
98)      plasma-runners-addons                                           
99)      plasma-widget-folderview                                       
100)    plasma-widget-lancelot                                         
101)    plasma-widgets-addons                                           
102)    plasma-widgets-workspace                                       
103)    polkit-kde-1                                                   
104)    soprano-daemon                                                 
105)    sweeper                                                         
106)    systemsettings                                                 
107)    xorg                                                           
108)    xulrunner-1.9.1                                                 

      Mantener los paquetes siguientes en la versión actual:           
109)    openssh-server [Sin instalar]                                   
110)    ssh [Sin instalar]                                             

      Dejar las siguientes dependencias sin resolver:                   
111)    openssh-blacklist recomienda openssh-client                     
112)    libqtgui4 recomienda libcups2                                   
113)    plasma-widgets-addons recomienda plasma-widget-lancelot         
114)    libkio5 recomienda kdelibs5-plugins (= 4:4.4.5-2+squeeze2)     
115)    plasma-desktop recomienda kdebase-workspace                     
116)    libgtk2.0-common recomienda libgtk2.0-0                         
117)    libkhtml5 recomienda kdelibs5-plugins (= 4:4.4.5-2+squeeze2)   
118)    kscreensaver recomienda kde-window-manager                     
119)    kdm recomienda xterm | x-terminal-emulator                     
120)    kdebase-workspace-bin recomienda polkit-kde-1 | policykit-1-gnome
121)    konqueror recomienda dolphin                                   


¿Acepta esta solución? [Y/n/q/?]q
Abandonando todos los esfuerzos por resolver estas dependencias
Cancela.
root@debian:/home/server#


TobiSGD 11-23-2011 03:52 PM

Have you updated the package database first with
Code:

aptitude update

rey 11-23-2011 04:18 PM

yes of course currently it doesn't show any upgrade

TobiSGD 11-23-2011 04:30 PM

Please post your /etc/apt/sources.list

widget 11-23-2011 04:54 PM

Quote:

Originally Posted by TobiSGD (Post 4532141)
Please post your /etc/apt/sources.list

Yes, definitely do that.

rey 11-23-2011 05:08 PM

ok this is it


Code:



deb http://ftp.us.debian.org/debian lenny main
deb http://ftp.us.debian.org/debian lenny non-free
#deb http://backports.debian.org/debian-backports lenny-backports main contrib$
deb http://download.virtualbox.org/virtualbox/debian lenny non-free



# Line commented out by installer because it failed to verify:
deb http://security.debian.org/ lenny/updates main


TobiSGD 11-23-2011 05:11 PM

So I see your problem: You are running Debian 6, codename Squeeze, but your sources list points to Debian 5, codename Lenny. Replace any lenny in that file with squeeze, update the database and try it again.

rey 11-23-2011 06:35 PM

thank you i noticed that as soon as i posted, it's just that
i never saw the squeeze name on the uname commands

thanks for your help guys you are great!!!


All times are GMT -5. The time now is 11:46 PM.