zoukankan      html  css  js  c++  java
  • ubuntu更新源列表

    1. 备份源列表

    sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
    

     2、修改更新源

    打开源列表

    sudo gedit /etc/apt/sources.list

     用https://www.cnblogs.com/iamhenanese/p/5514111.html这个网址中的一些源替换

    3、最后执行命令

    sudo apt-get update
    

    4、Ubuntu更新update源时出现AppStream cache update completed, but some metadata was ignored due to errors。

    After that, upgrade to the version from xenial-backports by typing:

    sudo apt install appstream/xenial-backports
    

    Now your appstream package should be upgraded to version 0.10.1.

    $ appstreamcli --version
    AppStream CLI tool version: 0.10.1
    

    Now force refreshing the cache data, you should no longer see any warning:

    $ sudo appstreamcli refresh --force
    AppStream cache update completed successfully.
    

     

  • 相关阅读:
    初步认识,合并集(树)
    20180918-1 词频统计
    20181011-1 每周例行报告
    2018091-2 博客作业
    项目第六天
    项目第五天
    项目第四天
    项目第三天
    总结随笔
    测试报告
  • 原文地址:https://www.cnblogs.com/lindaxin/p/7920802.html
Copyright © 2011-2022 走看看