V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
mioo
V2EX  ›  Linux

求助 Debian 7 返回 E: Sub-process /usr/bin/dpkg exited unexpectedly 错误。

  •  
  •   mioo · 2016-05-03 21:07:40 +08:00 · 3399 次点击
    这是一个创建于 2922 天前的主题,其中的信息可能已经有所发展或是发生改变。

    求助!

    在 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

    13 条回复    2016-05-04 15:17:38 +08:00
    kmahyyg
        1
    kmahyyg  
       2016-05-03 21:18:57 +08:00 via Android   ❤️ 1
    sentris 受害用户
    我也是 我买的 128m ram 的 买后 1 周直接 oversold 到 control panel 都各种 err
    bandwagon 都稳定得多

    总结 ram 不足 弃坑当交学费吧
    不要 用 o v z !
    mioo
        2
    mioo  
    OP
       2016-05-03 21:20:25 +08:00
    @kmahyyg 已经无法挽救了吗,,那这货还有啥用途么,,
    Devin
        3
    Devin  
       2016-05-03 21:52:10 +08:00 via iPhone
    发工单
    BOYPT
        4
    BOYPT  
       2016-05-03 22:01:55 +08:00
    64m 内存... 安装个 nginx 跑静态页面可以的。跑 ss 应该也勉强可以,看网络好不好咯。
    kmahyyg
        5
    kmahyyg  
       2016-05-03 22:09:37 +08:00 via Android
    ticket 没用。 support 会告诉你 ping success,然后让你自己弄。

    64m,顶多跑个 ss,还要看 swap 够不够。
    apt-get 只能一次安装 2 3 个 deb

    换 digitalocean/bandwagonhost/linode/conaha/ramnode
    only kvm can be chosen.

    via fuck kindle
    mioo
        6
    mioo  
    OP
       2016-05-03 22:32:04 +08:00
    @BOYPT 现在是 SS 都弄不起,,
    mioo
        7
    mioo  
    OP
       2016-05-03 22:32:26 +08:00
    @kmahyyg swap 只有 1m 。。。
    mioo
        8
    mioo  
    OP
       2016-05-03 22:32:42 +08:00
    @Devin 好像也只有这样了,谢谢
    msg7086
        9
    msg7086  
       2016-05-03 22:40:43 +08:00
    @kmahyyg (管 OVZ 啥事。你用 KVM 内存占用只会更多。)

    @mioo 64M 内存不是谁都能玩得转的。
    BOYPT
        10
    BOYPT  
       2016-05-03 22:41:54 +08:00
    @msg7086 KVM 内存不足了可以放 swap ,不会像 ovz 那样 opkg 被母鸡 kill 进程
    ayaseangle
        11
    ayaseangle  
       2016-05-03 22:48:05 +08:00
    很明显 ram 不足被杀了。。
    msg7086
        12
    msg7086  
       2016-05-04 01:36:30 +08:00
    @BOYPT 然后频繁 swap 被当成 hdd abuse 直接删号什么的……(
    Neveroldmilk
        13
    Neveroldmilk  
       2016-05-04 15:17:38 +08:00
    sentris 快要跑路了吧。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2391 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 09:35 · PVG 17:35 · LAX 02:35 · JFK 05:35
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.