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.*

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

  • 相关阅读:
    eclipse如何正确部署tomcat7
    调用awk的三种方式
    jupyter的简单操作
    编程语言简介
    2019.9.6作业
    计算机的基本组成
    9.2作业
    CPP 栈 示例
    关于使用栈将一般运算式翻译为后缀表达式并实现三级运算的方法及实例(cpp版)
    深度遍历破解数独游戏
  • 原文地址:https://www.cnblogs.com/ERFishing/p/11220222.html
Copyright © 2011-2022 走看看