升级Lenny挤压ssh

我正在运行与Lenny ISPConfig3服务器,我想升级Squeeze,但是…我不是在terminal,服务器在我的服务器大厅。

我可以升级莱尼通过SSH挤压? 我检查了更新列表,并且openssh-clientopenssh-server都被拒绝了,但是,我觉得如果可以,应该继续下去。

这是apt-get在运行apt-get upgrade

 The following packages have been kept back: amavisd-new apache2 apache2-mpm-prefork apache2.2-common apt apt-listchanges apt-utils aptitude autoconf automake avahi-daemon bash bc bind9-host binutils build-essential courier-maildrop cpio cpp cpp-4.3 cron dbus dc debianutils dhcp3-client dhcp3-common diff djvulibre-desktop dnsutils dpkg dpkg-dev e2fsprogs ed enscript expect findutils flex ftp g++ g++-4.3 gcc gcc-4.3 gcc-4.3-base gettext ghostscript gnupg gpgv grep grub grub-common html2text imagemagick info iptables ispell libaprutil1 libarchive-zip-perl libberkeleydb-perl libc6 libc6-dev libc6-i386 libcompress-raw-zlib-perl libcompress-zlib-perl libconvert-uulib-perl libcups2 libcupsimage2 libcurl3 libdatetime-locale-perl libdatetime-perl libdbd-mysql-perl libdbi-perl libdevmapper1.02.1 libdigest-sha1-perl libdjvulibre21 libedit2 libgcc1 libgdbm3 libglib2.0-0 libglib2.0-data libgomp1 libgs8 libgsf-1-114 libgtk2.0-0 libgtk2.0-bin libhtml-parser-perl libio-compress-base-perl libio-compress-zlib-perl libkrb53 liblocale-gettext-perl libmail-box-perl libneon27 libneon27-gnutls libnet-dns-perl libnet-libidn-perl libnet-ssleay-perl libnetaddr-ip-perl libpango1.0-0 libparams-validate-perl libpq5 librsvg2-2 libsasl2-2 libsasl2-modules libsasl2-modules-sql libsocket6-perl libstdc++6 libstdc++6-4.3-dev libsvn1 libthai-data libthai0 libtool libts-0.0-0 libwv-1.2-3 libx11-6 libxcb1 libxi6 linux-image-2.6-amd64 locales m4 man-db mc memcached mutt mysql-client nano nfs-common ntp ntpdate openssh-client openssh-server perl perl-base perl-modules polipo postfix postfix-mysql python python-apt python-minimal python-sqlalchemy python2.5 python2.5-minimal quota readline-common reportbug rpm sasl2-bin sed source-highlight subversion sysv-rc tor tor-geoipdb udev unixodbc util-linux wget wv The following packages will be upgraded: acpi-support-base acpid adduser apache2-doc apache2-suexec apache2-utils apticron arj aspell aspell-de aspell-en aspell-fi aspell-fr aspell-nl aspell-ru aspell-sv at automake1.9 autotools-dev base-files base-passwd bash-completion bison bsd-mailx bsdmainutils bsdutils busybox bzip2 ca-certificates cabextract clamav clamav-base clamav-daemon clamav-docs clamav-freshclam clamav-testfiles console-common console-data console-tools coreutils courier-authdaemon courier-authlib courier-authlib-mysql courier-authlib-userdb courier-base courier-imap courier-imap-ssl courier-pop courier-pop-ssl courier-ssl curl daemon db4.6-util dbus-x11 debconf debconf-i18n debhelper debian-archive-keyring debian-faq defoma dictionaries-common dmidecode doc-debian e2fslibs eject fail2ban fakeroot fam file firmware-bnx2 fontconfig fontconfig-config gawk getmail4 gettext-base groff-base gs-common gsfonts gzip hicolor-icon-theme hostname iamerican ibritish ifupdown initramfs-tools initscripts installation-report iproute iputils-ping java-common klibc-utils laptop-detect less libacl1 libaio1 libapache2-mod-fcgid libapache2-mod-jk libapr1 libasound2 libaspell15 libatk1.0-0 libatk1.0-data libattr1 libauthen-sasl-perl libavahi-common-data libavahi-common3 libblkid1 libbz2-1.0 libcairo2 libcap2 libclamav6 libclass-singleton-perl libcomerr2 libconsole libconvert-asn1-perl libconvert-tnef-perl libcroco3 libcwidget3 libdaemon0 libdatetime-timezone-perl libdb4.6 libdb4.8 libdbus-1-3 libdigest-hmac-perl libexpat1 libfam0 libfile-copy-recursive-perl libfile-remove-perl libfontconfig1 libfontenc1 libfreetype6 libgc1c2 libgcrypt11 libgd2-xpm libgeoip-dev libgeoip1 libgmp3c2 libgnutls26 libgpg-error0 libgpm2 libgsf-1-common libgssglue1 libgtk2.0-common libhtml-template-perl libhtml-tree-perl libice6 libidn11 libilmbase6 libio-multiplex-perl libio-socket-inet6-perl libio-socket-ssl-perl libipc-run3-perl libjasper1 libjpeg62 libkeyutils1 libklibc liblcms1 libldap-2.4-2 liblockfile1 liblqr-1-0 libltdl7 liblzo2-2 libmagic-dev libmagic1 libmail-sendmail-perl libmail-spf-perl libmailtools-perl libmcrypt4 libmhash2 libmime-tools-perl libmime-types-perl libncurses5 libncursesw5 libnet-cidr-perl libnet-daemon-perl libnet-ident-perl libnet-ldap-perl libnewt0.52 libnfsidmap2 libnss-mdns libobject-realize-later-perl libopenexr6 libpam-modules libpam-mysql libpam-runtime libpam0g libpango1.0-common libpaper-utils libpaper1 libpci3 libpcre3 libpixman-1-0 libplrpc-perl libpng12-0 libpopt0 libqdbm14 libreadline5 librpcsecgss3 libselinux1 libsepol1 libserf-0-0 libsigc++-2.0-0c2a libslang2 libsm6 libsqlite0 libsqlite3-0 libss2 libssh2-1 libssl-dev libssl0.9.8 libsysfs2 libt1-5 libtasn1-3 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtidy-0.99-0 libtiff4 libtimedate-perl libtommath0 liburi-perl libusb-0.1-4 libuser-identity-perl libuuid1 libwmf0.2-7 libwrap0 libwww-perl libx11-data libxau6 libxcb-render-util0 libxcb-render0 libxcomposite1 libxcursor1 libxdamage1 libxdmcp6 libxext6 libxfixes3 libxfont1 libxft2 libxinerama1 libxml2 libxml2-dev libxmuu1 libxpm4 libxrandr2 libxrender1 libxt6 libxtst6 linux-libc-dev lockfile-progs login logrotate lsb-base lsb-release lsof make makedev manpages mawk mcrypt mdadm mercurial mercurial-common mime-support mktemp mlocate mlock module-init-tools mount ncurses-base ncurses-bin ncurses-term net-tools netbase nomarch openbsd-inetd openssl openssl-blacklist passwd patch pciutils po-debconf portmap postfix-doc procmail procps psfontmgr psmisc pure-ftpd-common pure-ftpd-mysql python-beaker python-central python-support quotatool rcs rkhunter rsyslog shtool socat spamassassin spamc ssh ssl-cert sun-java6-bin sun-java6-jdk sun-java6-jre sysstat sysvinit sysvinit-utils tar tasksel tasksel-data tcl8.4 tcpd texinfo time traceroute ttf-dejavu ttf-dejavu-core ttf-dejavu-extra tzdata ucf unhide unrtf unzip update-inetd usbutils vim-common vim-tiny w3m wamerican webalizer whiptail whois x-ttcidfont-conf x11-common xauth xfonts-encodings xfonts-utils zip zlib1g zlib1g-dev zoo 343 upgraded, 0 newly installed, 0 to remove and 157 not upgraded. 

我可以升级吗? 有没有什么会杀死我的SSH连接? 我是否可以在后台运行它,以便升级过程继续进行,尽pipeSSH连接可能已经被终止了。

这就是为什么上帝发明了基于IP的KVM。

根据我的经验,如果不是绝对必要,我不会这样做。 如果你可以等周末过后再做,我不会冒这个险。

我已经做了多个lenny来挤压升级,并在大约30台机器,我只有一个,结果不好。 所以这是由你决定是否可以承担风险。 通常这些升级顺利进行。 请注意,您将需要重新启动机器来完成升级,因此您将无法使用ssh连接。

正常情况下,在从lenny进行dist-upgrade升级时,不会丢失SSH。