zoukankan      html  css  js  c++  java
  • Ubuntu18.04-The list of sources could not be read-fix it

    1.遇上了The list of sources could not be read

    N: Ignoring file 'google-chrome.list.6' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'google-chrome.list.3' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'google-chrome.list.10' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'google-chrome.list.7' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'google-chrome.list.8' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'google-chrome.list.5' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'google-chrome.list.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'google-chrome.list.4' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'google-chrome.list.2' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'google-chrome.list.9' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    E: Malformed line 1 in source list /etc/apt/sources.list.d/google-chromw.list (type)
    E: The list of sources could not be read.

    2.解决方法-删除指定文件

     sudo rm /etc/apt/sources.list.d/google-chrome.list.*

    注意:注意目录名和文件名

  • 相关阅读:
    做汉堡
    作业2结对子
    软件开发流程阅读《构建之法》 第5.5 第6 第7章
    自动生成四则运算
    修改过的四则运算
    【暴力DP】[Dota1004]受折磨的灵魂(TormentedSoul)
    【Blog】Start My Journey In Cnblogs!
    【DP+ShortPath】[Dota1000]德鲁伊(Dyrad)
    【Watery DP】[Dota1002]光之守卫(Gandolf)
    【DP】[Dota1003]育母蜘蛛(BroodMother)
  • 原文地址:https://www.cnblogs.com/ERFishing/p/11220222.html
Copyright © 2011-2022 走看看