求助!
在 sentris 购买了一个 64m 内存的便宜 vps ,选择了 debian-7.0-standard_7.0-3_amd64.tar.gz 系统,使用 putty 登录了 root 用户后,执行:
apt-get update
apt-get upgrade
结果有这句:
E: Sub-process /usr/bin/dpkg exited unexpectedly
就没更新完成,另外安装爱思爱思,按照教程输入命令后,也是返回这个结果,搭建失败。。
这个问题是因为内存太小了吗?还是因为我选的是 64 位系统?
求解决方法。。拜谢!
下面是代码:
Linux CT156 2.6.32-39-pve #1 SMP Wed Jun 24 06:39:42 CEST 2015 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue May 3 11:32:51 2016 from ********
root@CT156:~# apt-get update
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://security.debian.org wheezy/updates Release
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://ftp.debian.org wheezy Release.gpg
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Get:1 http://ftp.debian.org wheezy-updates Release.gpg [1554 B]
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://ftp.debian.org wheezy Release
Get:2 http://ftp.debian.org wheezy-updates Release [151 kB]
Hit http://ftp.debian.org wheezy/main amd64 Packages
Hit http://ftp.debian.org wheezy/contrib amd64 Packages
Hit http://ftp.debian.org wheezy/contrib Translation-en
Hit http://ftp.debian.org wheezy/main Translation-en
Hit http://ftp.debian.org wheezy-updates/main amd64 Packages/DiffIndex
Get:3 http://ftp.debian.org wheezy-updates/contrib amd64 Packages [14 B]
Get:4 http://ftp.debian.org wheezy-updates/contrib Translation-en [14 B]
Hit http://ftp.debian.org wheezy-updates/main Translation-en/DiffIndex
Fetched 153 kB in 2s (58.3 kB/s)
Reading package lists... Done
root@CT156:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
base-files cpio dpkg dselect isc-dhcp-client isc-dhcp-common krb5-locales libc-bin libc6 libc6-i386
libdns88 libexpat1 libfreetype6 libgcrypt11 libgnutls-openssl27 libgnutls26 libgssapi-krb5-2 libgssrpc4
libisc84 libisccc80 libisccfg82 libk5crypto3 libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-6 libkrb5-3
libkrb5support0 libldap-2.4-2 liblwres80 libpng12-0 libssl1.0.0 libxml2 locales multiarch-support
openssh-client openssh-server openssl perl perl-base perl-modules rpcbind ssh ssl-cert tzdata 44 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/41.0 MB of archives.
After this operation, 1118 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Extracting templates from packages: 100%
Preconfiguring packages ...
E: Sub-process /usr/bin/dpkg exited unexpectedly
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.