社区
其他技术讨论专区
帖子详情
sudo gedit /etc/apt/sources.list找不到命令
weixin_38052002
2018-07-05 08:17:40
安装好Ubuntu后按照教程配置,但输入sudo gedit /etc/apt/sources.list后出现这种情况
...全文
530
3
打赏
收藏
sudo gedit /etc/apt/sources.list找不到命令
安装好Ubuntu后按照教程配置,但输入sudo gedit /etc/apt/sources.list后出现这种情况
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
sudo
g
edit
/etc/
apt
/
source
s.
list
:
找
不到
命令
Ubuntu18.04安装ROS Melodic时候提示
sudo
g
edit
/etc/
apt
/
source
s.
list
:
找
不到
命令
安装方法https://zhuanlan.zhihu.com/p/84821192 问题解决办法
sudo
g
edit
/etc/
apt
/
source
s.
list
g
edit
和/
命令
之间要有空格
sudo
cp /etc/
apt
/
source
s.
list
/etc/
apt
/
source
s.
list
.bak
Ubuntu 20.04 LTS Focal Fossa于2020年04月23日发布。
sudo
cp /etc/
apt
/
source
s.
list
/etc/
apt
/
source
s.
list
.bak 更改文件权限使其可编辑
sudo
chmod 777 /etc/
apt
/
source
s.
list
写入 g
edit
/etc/
apt
/
source
s.
list
把下列复制进去就行,文件原来的内容删不删都行。 #清华源 # 默认注释了源码镜像以提高
apt
update 速度,如有需要可自行取消注释 deb ht
忽略‘google-chrome.
list
.1’(于目录‘/etc/
apt
/
source
s.
list
.d/’),鉴于它的文件扩展名无效 问题的解决方法
亲测有效: 一、将google-chrome.
list
.1文件的下载源复制到google-chrome.
list
1.
sudo
g
edit
/etc/
apt
/
source
s.
list
.d/google-chrome.
list
.1(复制其内容到清空后的google-chrome.
list
) 2.
sudo
g
edit
/etc/
apt
/
source
s.
list
.d/google-chrome.
list
(保存) 二、删除google-chrome.
list
.1文件 1.
sudo
rm -f /etc
sudo
g
edit
/etc/
apt
/
source
s.
list
command not found
g
edit
后有个空格。不加会导致这个错误。
/etc/
apt
/
source
s.
list
/etc/
apt
/
source
s.
list
是包管理工具
apt
所用的记录软件包仓库位置的配置文件,在/etc/
apt
/
source
s.
list
添加新内容的步骤如下: 1.打开终端输入
sudo
g
edit
/etc/
apt
/
source
s.
list
source
s.
list
条目格式
source
s.
list
文件中的条目一般都有如下所示的形式: deb http://site...
其他技术讨论专区
477
社区成员
790,954
社区内容
发帖
与我相关
我的任务
其他技术讨论专区
其他技术讨论专区
复制链接
扫一扫
分享
社区描述
其他技术讨论专区
其他
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章