ubuntu 修复 could not open file '/etc/apt/sources.list'

Posted 一只猫的旅行

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ubuntu 修复 could not open file '/etc/apt/sources.list'相关的知识,希望对你有一定的参考价值。

问题描述:could not open file \'/etc/apt/sources.list\'

问题分析:软件源被清空了,也就是 /etc/apt/sources.list 被删除了

解决问题:1、打开更新管理器,点击左下角的设置,打开软件源

     2、选中源的相关选项,然后关闭,再点击更新管理器的 检查,更新本地软件列表。

     

以上是关于ubuntu 修复 could not open file '/etc/apt/sources.list'的主要内容,如果未能解决你的问题,请参考以下文章

关于Ubuntu中E: Could not get lock /var/lib/dpkg/lock - open的三种解决方案

ubuntu安装软件提示:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)(

Ubuntu中针对问题 E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)的解

ubuntu 报错E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unav E:

错误记录Ubuntu 安装软件报错 ( Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource tempora )

Ubuntu下vmware 打开虚拟机错误could not open /dev/vmmon:?????? please make sure that the kernel moduel vmmon