• apt小问题


    安装软件遇到情况,一直等待:

    root@test-xxx:/opt# apt-get install vsftpd
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following extra packages will be installed:
    ssl-cert
    Suggested packages:
    openssl-blacklist
    The following NEW packages will be installed:
    ssl-cert vsftpd
    0 upgraded, 2 newly installed, 0 to remove and 17 not upgraded.
    Need to get 130 kB of archives.
    After this operation, 477 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    0% [Waiting for headers]

    进行apt-get update,也是一直等到

    root@test-xxx:/etc/apt# apt-get update
    0% [Waiting for headers] [Waiting for headers]

    按照网上说法,更换源,问题未修复。

    之后又找到一说法,删除/var/cache/apt/archives/partial目录,问题未修复。

    但是,发现/var/cache/apt/archives/下有一个‘lock’文件。删除,问题解决。

    看来,遇到问题自己分析一下,是很有必要的。

  • 相关阅读:
    html5——渐变
    html5——背景
    html5——边框
    html5——私有前缀
    html5——盒子模式
    html5——文本阴影
    html5——颜色
    html5——css选择器
    html5——DOM扩展
    html5——多媒体(一)
  • 原文地址:https://www.cnblogs.com/laozhizi/p/4448327.html
Copyright © 2020-2023  润新知