我正在升级运行最新的Debian的VPS的一个问题,我决定切换到testing分支,以便能够使用OpenSSH 6.7(目前的稳定分支只带来了6.0,它缺less许多密码,对我来说很重要)。 因此,花了大约5个小时试图完成这项工作后,我放弃了,并在此寻求指导,因为没有find有效的解决scheme。 我试图做apt-get install openssh-server但它只是扔我未满足的依赖。
[root:~]# apt-get install openssh-server 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: lsof : Depends: libperl4-corelibs-perl or perl (< 5.12.3-7) but 5.20.1-4 is to be installed openssh-server : Depends: init-system-helpers (>= 1.18~) but it is not going to be installed Depends: openssh-client (= 1:6.7p1-3) Depends: openssh-sftp-server but it is not going to be installed Recommends: xauth but it is not going to be installed plymouth : Depends: init-system-helpers (>= 1.18) but it is not going to be installed systemd-sysv : Depends: systemd (= 44-11+deb7u4) but 215-8 is to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
我做的
[root:~]# 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: libicu48 libmagickcore5 libmagickwand5 libming1 libsystemd-daemon0 libsystemd-id128-0 libsystemd-journal0 pslib1 Use 'apt-get autoremove' to remove them. The following extra packages will be installed: init-system-helpers libperl4-corelibs-perl systemd-sysv The following NEW packages will be installed: init-system-helpers libperl4-corelibs-perl The following packages will be upgraded: systemd-sysv 1 upgraded, 2 newly installed, 0 to remove and 165 not upgraded. 4 not fully installed or removed. Need to get 0 B/88.5 kB of archives. After this operation, 342 kB of additional disk space will be used. Do you want to continue? [Y/n] y Setting up udev (215-8) ... Removing any system startup links for /etc/init.d/udev-mtab ...
到目前为止,这个过程被困在这一点,我已经尝试重新启动并更改源列表和updatint apt,似乎没有任何工作。
我没有冒险做一个完整的重启,因为这意味着closures一系列重要的服务(邮件服务器,Web服务器和游戏服务器),但是如果现在需要做的话,我会的。