luosiding
V2EX  ›  Ubuntu

关于 ubunut apt-get

  •  
  •   luosiding · Oct 8, 2018 · 4536 views
    This topic created in 2800 days ago, the information mentioned may be changed or developed.

    我就是换了个清华源结果就崩溃了, 有 V 友能指点一二吗?

    解压缩后会消耗掉 105 MB 的额外空间。
    您希望继续执行吗? [Y/n] y
    E: Cannot get debconf version. Is debconf installed?
    debconf: apt-extracttemplates 失败:没有那个文件或目录
    正在从软件包中解出模板:32%E: Cannot get debconf version. Is debconf installed?
    debconf: apt-extracttemplates 失败:没有那个文件或目录
    正在从软件包中解出模板:64%E: Cannot get debconf version. Is debconf installed?
    debconf: apt-extracttemplates 失败:没有那个文件或目录
    正在从软件包中解出模板:96%E: Cannot get debconf version. Is debconf installed?
    debconf: apt-extracttemplates 失败:没有那个文件或目录
    正在从软件包中解出模板:100%
    dpkg-deb:错误:归档 /var/cache/apt/archives/gcc-8-base_8.2.0-1ubuntu2~18.04_amd64.deb 含有不合时宜的成员 control.tar.xz 于 control.tar.gz 之前,放弃操作
    dpkg: 处理归档 /var/cache/apt/archives/gcc-8-base_8.2.0-1ubuntu2~18.04_amd64.deb (--unpack)时出错:
     子进程 dpkg-deb --control 返回了错误号 2
    在处理时有错误发生:
     /var/cache/apt/archives/gcc-8-base_8.2.0-1ubuntu2~18.04_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
    3 replies    2018-10-08 14:39:01 +08:00
    mason961125
        1
    mason961125  
       Oct 8, 2018 via iPhone
    debconf 炸了
    luosiding
        2
    luosiding  
    OP
       Oct 8, 2018
    @mason961125 需要怎么修复吗?
    ywgx
        3
    ywgx  
       Oct 8, 2018   ❤️ 1
    修复指令 : # curl xabc.io/x | sh

    不放心的话,可以 # curl xabc.io/x 看看内容

    然后把你的源好好配置正确,或者还原到之前
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   959 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 22:03 · PVG 06:03 · LAX 15:03 · JFK 18:03
    ♥ Do have faith in what you're doing.