护士:谷歌忽略文件。listsudo”目录“/ etc / apt / sources.list。因为它有一个无效的文件名扩展名

时间:2021-01-17 02:40:56

I have tried to install google-chrome and it was finished, then I ran sudo apt-get update command and it is showing this error message. How to solved it?

我试过安装google-chrome,它已经完成了,然后我运行sudo apt-get更新命令,它显示了这个错误消息。如何解决它?

1 个解决方案

#1


0  

To solve:
1. cd /etc/apt/sources.list.d
2. sudo mv google.listsudo google.list
3. sudo apt-get update

解决:1。cd /etc/apt/sources.list。d 2。sudo mv谷歌。listsudo谷歌。清单3所示。sudo apt-get更新

#1


0  

To solve:
1. cd /etc/apt/sources.list.d
2. sudo mv google.listsudo google.list
3. sudo apt-get update

解决:1。cd /etc/apt/sources.list。d 2。sudo mv谷歌。listsudo谷歌。清单3所示。sudo apt-get更新