Kod: Zaznacz cały
dpkg -l |grep ssh
Kod: Zaznacz cały
dpkg -l |grep ssh
Bastian pisze:Pokaz ino wynik:Kod: Zaznacz cały
dpkg -l |grep ssh
Kod: Zaznacz cały
debian:/home/debian# dpkg -l |grep ssh
ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh/rcp replacement
debian:/home/debian#
Kod: Zaznacz cały
debian:/home/debian# dpkg-reconfigure ssh
Package `ssh' is not installed and no info is available.
[/QUOTE]Wychodzi ze nie mam tej usługi zainstalowanej. Próbuje zainstalować ją na nowo ale :
[quote]debian:/home/debian# aptitude install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
No candidate version found for ssh
No candidate version found for ssh
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
debian:/home/debian#
Kod: Zaznacz cały
ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh/rcp replacement
Nie całego Debiana. Wyszukaj pakiety mające w nazwie "ssh" - to powinno rozjaśnić sytuację.debianowiec pisze:Wychodzi ze nie mam tej usługi zainstalowanej. Próbuje zainstalować ją na nowo ale :Przecież bez sensu jest instalowanie od nowa Debiana.Kod: Zaznacz cały
debian:/home/debian# aptitude install sshReading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done No candidate version found for ssh No candidate version found for ssh No packages will be installed, upgraded, or removed. 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B of archives. After unpacking 0B will be used. Writing extended state information... Done Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done Reading task descriptions... Done debian:/home/debian#
Wiedziałem od początku, że nie mam serwera ssh zainstalowanego. W końcu doszedłem dlaczego nie mogłem ściągnąć przez:Bastian pisze:Czyli tak jak wszyscy podpowiadają. Nie masz zainstalowanego serwera ssh a tylko klienta. To było oczywiste od początku.Kod: Zaznacz cały
ii openssh-client 1:5.1p1-5 secure shell client, an rlogin/rsh/rcp replacement
Kod: Zaznacz cały
apt-get install ssh
Kod: Zaznacz cały
apt-get install ssh
Kod: Zaznacz cały
debian:/etc/ssh# apt-get install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
openssh-server
Suggested packages:
ssh-askpass rssh molly-guard
The following NEW packages will be installed:
openssh-server ssh
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/296kB of archives.
After this operation, 836kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 61338 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-5_i386.deb) ...
ssh config: Aborting because ssh/use_old_init_script = false
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Selecting previously deselected package ssh.
Unpacking ssh (from .../ssh_1%3a5.1p1-5_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:/etc/ssh# aptitude install openssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Couldn't find package "openssh". However, the following
packages contain "openssh" in their name:
openssh-blacklist-extra openssh-client openssh-blacklist openssh-server
Couldn't find package "openssh". However, the following
packages contain "openssh" in their name:
openssh-blacklist-extra openssh-client openssh-blacklist openssh-server
The following packages are BROKEN:
ssh
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
ssh: Depends: openssh-server but it is not installable
The following actions will resolve these dependencies:
Remove the following packages:
ssh
Score is 121
Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
ssh{a}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 45.1kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 61340 files and directories currently installed.)
Removing ssh ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Current status: 0 broken [-1].
debian:/etc/ssh# aptitude install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following NEW packages will be installed:
openssh-server{a} ssh
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/296kB of archives. After unpacking 836kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 61338 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-5_i386.deb) ...
ssh config: Aborting because ssh/use_old_init_script = false
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Selecting previously deselected package ssh.
Unpacking ssh (from .../ssh_1%3a5.1p1-5_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of ssh:
ssh depends on openssh-server; however:
Package openssh-server is not installed.
dpkg: error processing ssh (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Current status: 1 broken [+1].
debian:/etc/ssh# aptitude install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
The following NEW packages will be installed:
openssh-server
The following partially installed packages will be configured:
ssh
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/295kB of archives. After unpacking 791kB will be used.
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 61340 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-5_i386.deb) ...
ssh config: Aborting because ssh/use_old_init_script = false
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of ssh:
ssh depends on openssh-server; however:
Package openssh-server is not installed.
dpkg: error processing ssh (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
debian:/etc/ssh# dir
debian:/etc/ssh# cd ..
debian:/etc# dir
acpi gai.conf lsb-base rc2.d
adduser.conf gconf magic rc3.d
adjtime gdm magic.mime rc4.d
aliases gnome mailcap rc5.d
alsa gnome-vfs-2.0 mailcap.order rc6.d
alternatives gnome-vfs-mime-magic mailname rc.local
anacrontab gre.d mail.rc rcS.d
apache2 groff manpath.config reportbug.conf
apm group menu resolv.conf
apt group- menu-methods rmt
at.deny gshadow mime.types rpc
bash.bashrc gshadow- mke2fs.conf rsyslog.conf
bash_completion gssapi_mech.conf modprobe.d rsyslog.d
bash_completion.d gtk-2.0 modules samba
bindresvport.blacklist hal motd scsi_id.config
bonobo-activation host.conf motd.tail securetty
ca-certificates hostname mtab security
ca-certificates.conf hosts Muttrc services
calendar hosts.allow Muttrc.d sgml
console hosts.deny mysql shadow
console-tools iceweasel nanorc shadow-
cron.d idmapd.conf netscsid.conf shells
cron.daily inetd.conf network skel
cron.hourly init.d networks sound
cron.monthly initd.d nsswitch.conf ssh
crontab initramfs-tools openoffice ssl
cron.weekly inittab opt sudoers
cups inputrc pam.conf sysctl.conf
dbus-1 iproute2 pam.d sysctl.d
debconf.conf issue pango terminfo
debian_version issue.net papersize texmf
default kde3 passwd timezone
defoma kernel-img.conf passwd- ts.conf
deluser.conf ldap perl ucf.conf
dhcp3 ld.so.cache php5 udev
dictionaries-common ld.so.conf pm updatedb.conf
dm ld.so.conf.d postgresql vga
dpkg libao.conf postgresql-common vim
emacs libpaper.d ppp w3m
email-addresses locale.alias profile wgetrc
environment locale.gen protocols wodim.conf
esound localtime python X11
exim4 login.defs python2.5 xdg
fonts logrotate.conf rc0.d xml
fstab logrotate.d rc1.d
debian:/etc# cd ssh
debian:/etc/ssh# dir
debian:/etc/ssh# aptitude install ssh-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:
ssh
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
The following packages have unmet dependencies:
ssh: Depends: openssh-server but it is not installable
The following actions will resolve these dependencies:
Remove the following packages:
ssh
Score is 121
Accept this solution? [Y/n/q/?] y
The following packages will be REMOVED:
ssh{a}
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 45.1kB will be freed.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 61340 files and directories currently installed.)
Removing ssh ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Current status: 0 broken [-1].
debian:/etc/ssh# dir
debian:/etc/ssh# dir
debian:/etc/ssh# cd ..
debian:/etc# cd ..
debian:/# apt-get install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
openssh-server
Suggested packages:
ssh-askpass rssh molly-guard
The following NEW packages will be installed:
openssh-server ssh
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/296kB of archives.
After this operation, 836kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Preconfiguring packages ...
(Reading database ... 61338 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-5_i386.deb) ...
ssh config: Aborting because ssh/use_old_init_script = false
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Selecting previously deselected package ssh.
Unpacking ssh (from .../ssh_1%3a5.1p1-5_all.deb) ...
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:/# cd /var/cache/apt/archives/
debian:/var/cache/apt/archives# dir
base-files_5lenny9_i386.deb
libpq5_8.3.13-0lenny1_i386.deb
lock
man-db_2.5.2-5_i386.deb
openssh-blacklist_0.4.1_all.deb
openssh-blacklist-extra_0.4.1_all.deb
openssh-client_1%3a5.1p1-5_i386.deb
openssh-server_1%3a5.1p1-5_i386.deb
partial
perl_5.10.0-19lenny3_i386.deb
perl-base_5.10.0-19lenny3_i386.deb
perl-modules_5.10.0-19lenny3_all.deb
postgresql_8.3.13-0lenny1_all.deb
postgresql-8.3_8.3.13-0lenny1_i386.deb
postgresql-client_8.3.13-0lenny1_all.deb
postgresql-client-8.3_8.3.13-0lenny1_i386.deb
postgresql-doc_8.3.13-0lenny1_all.deb
postgresql-doc-8.3_8.3.13-0lenny1_all.deb
ssh_1%3a5.1p1-5_all.deb
debian:/var/cache/apt/archives# dpkg -i ssh_1%3a5.1p1-5_all.deb
(Reading database ... 61340 files and directories currently installed.)
Preparing to replace ssh 1:5.1p1-5 (using ssh_1%3a5.1p1-5_all.deb) ...
Unpacking replacement ssh ...
dpkg: dependency problems prevent configuration of ssh:
ssh depends on openssh-server; however:
Package openssh-server is not installed.
dpkg: error processing ssh (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ssh
debian:/var/cache/apt/archives# dir
base-files_5lenny9_i386.deb
libpq5_8.3.13-0lenny1_i386.deb
lock
man-db_2.5.2-5_i386.deb
openssh-blacklist_0.4.1_all.deb
openssh-blacklist-extra_0.4.1_all.deb
openssh-client_1%3a5.1p1-5_i386.deb
openssh-server_1%3a5.1p1-5_i386.deb
partial
perl_5.10.0-19lenny3_i386.deb
perl-base_5.10.0-19lenny3_i386.deb
perl-modules_5.10.0-19lenny3_all.deb
postgresql_8.3.13-0lenny1_all.deb
postgresql-8.3_8.3.13-0lenny1_i386.deb
postgresql-client_8.3.13-0lenny1_all.deb
postgresql-client-8.3_8.3.13-0lenny1_i386.deb
postgresql-doc_8.3.13-0lenny1_all.deb
postgresql-doc-8.3_8.3.13-0lenny1_all.deb
ssh_1%3a5.1p1-5_all.deb
debian:/var/cache/apt/archives# rm ssh_1%3a5.1p1-5_all.deb
debian:/var/cache/apt/archives# dir
base-files_5lenny9_i386.deb
libpq5_8.3.13-0lenny1_i386.deb
lock
man-db_2.5.2-5_i386.deb
openssh-blacklist_0.4.1_all.deb
openssh-blacklist-extra_0.4.1_all.deb
openssh-client_1%3a5.1p1-5_i386.deb
openssh-server_1%3a5.1p1-5_i386.deb
partial
perl_5.10.0-19lenny3_i386.deb
perl-base_5.10.0-19lenny3_i386.deb
perl-modules_5.10.0-19lenny3_all.deb
postgresql_8.3.13-0lenny1_all.deb
postgresql-8.3_8.3.13-0lenny1_i386.deb
postgresql-client_8.3.13-0lenny1_all.deb
postgresql-client-8.3_8.3.13-0lenny1_i386.deb
postgresql-doc_8.3.13-0lenny1_all.deb
postgresql-doc-8.3_8.3.13-0lenny1_all.deb
debian:/var/cache/apt/archives# dir
base-files_5lenny9_i386.deb
libpq5_8.3.13-0lenny1_i386.deb
lock
man-db_2.5.2-5_i386.deb
openssh-blacklist_0.4.1_all.deb
openssh-blacklist-extra_0.4.1_all.deb
openssh-client_1%3a5.1p1-5_i386.deb
openssh-server_1%3a5.1p1-5_i386.deb
partial
perl_5.10.0-19lenny3_i386.deb
perl-base_5.10.0-19lenny3_i386.deb
perl-modules_5.10.0-19lenny3_all.deb
postgresql_8.3.13-0lenny1_all.deb
postgresql-8.3_8.3.13-0lenny1_i386.deb
postgresql-client_8.3.13-0lenny1_all.deb
postgresql-client-8.3_8.3.13-0lenny1_i386.deb
postgresql-doc_8.3.13-0lenny1_all.deb
postgresql-doc-8.3_8.3.13-0lenny1_all.deb
debian:/var/cache/apt/archives# cd ..
debian:/var/cache/apt# cd ..
debian:/var/cache# cd ..
debian:/var# cd ..
debian:/# apt-get install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
ssh-askpass rssh molly-guard
The following NEW packages will be installed:
openssh-server
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/295kB of archives.
After this operation, 791kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 61340 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-5_i386.deb) ...
ssh config: Aborting because ssh/use_old_init_script = false
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
debian:/# clear
Kod: Zaznacz cały
debian:/# aptitude install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
The following NEW packages will be installed:
openssh-server{a}
The following partially installed packages will be configured:
ssh
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/295kB of archives. After unpacking 791kB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 61340 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-5_i386.deb) ...
ssh config: Aborting because ssh/use_old_init_script = false
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of ssh:
ssh depends on openssh-server; however:
Package openssh-server is not installed.
dpkg: error processing ssh (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Kod: Zaznacz cały
debian:/# aptitude install openssh-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
The following NEW packages will be installed:
openssh-server
The following partially installed packages will be configured:
ssh
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/295kB of archives. After unpacking 791kB will be used.
Writing extended state information... Done
Preconfiguring packages ...
(Reading database ... 61340 files and directories currently installed.)
Unpacking openssh-server (from .../openssh-server_1%3a5.1p1-5_i386.deb) ...
ssh config: Aborting because ssh/use_old_init_script = false
dpkg: error processing /var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb (--unpack):
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/openssh-server_1%3a5.1p1-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of ssh:
ssh depends on openssh-server; however:
Package openssh-server is not installed.
dpkg: error processing ssh (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
debian:/#
Kod: Zaznacz cały
apt-get install ssh
Kod: Zaznacz cały
deb http://ftp.pl.debian.org/debian/ lenny main non-free contrib
deb-src http://ftp.pl.debian.org/debian/ lenny main non-free contrib
deb http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free