wsl遇到问题The repository ‘http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu focal Release‘解决方法
按照这篇博文
在wsl中安装vscode遇到的问题
第一步:切换为国内的源没有问题
sudo sed -i s@/archive.ubuntu.com/@/mirrors.aliyun.com/@g /etc/apt/sources.list
sudo apt update -y
sudo apt upgrade -y
第二步安装vscode遇到问题,报错如下:
azheng@lishizheng:/mnt/e$ sudo apt-get update
Hit:1 http://mirrors.aliyun.com/ubuntu focal InRelease
Hit:2 http://mirrors.aliyun.com/ubuntu focal-updates InRelease
Hit:3 http://mirrors.aliyun.com/ubuntu focal-backports InRelease
Ign:4 http://mirrors.aliyun.com/ubuntu trusty InRelease
Hit:5 http://mirrors.aliyun.com/ubuntu trusty-security InRelease
Hit:6 http://mirrors.aliyun.com/ubuntu trusty-updates InRelease
Get:7 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Ign:8 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu focal InRelease
Hit:9 http://mirrors.aliyun.com/ubuntu trusty-proposed InRelease
Hit:10 http://mirrors.aliyun.com/ubuntu trusty-backports InRelease
Hit:11 http://mirrors.aliyun.com/ubuntu trusty Release
Err:13 http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu focal Release404 Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
根据stackoverflow来试着解决
https://stackoverflow.com/questions/60249177/e-the-repository-http-ppa-launchpad-net-certbot-certbot-ubuntu-focal-release
解决方法
输入以下命令:
sudo apt-add-repository -r ppa:ubuntu-desktop/ubuntu-make
然后再输入
sudo apt update
sudo apt-get update
不会报错!!
接着执行:
第三步:继续安装vscode
sudo apt install ubuntu-make
sudo umake ide visual-studio-code
然后遇到问题
PermissionError: [Errno 13] Permission denied: '/root/.local/share/umake/ide/visual-studio-code'
原因是权限不够:输入su
切换到root用户再执行一遍,顺利开始installing。
安装完之后,需要切换回普通用户模式:输入exit即可切换。
第四步:运行vscode
然后输入
code .
开始安装vscode服务器
azheng@lishizheng:/mnt/e$ code .
Installing VS Code Server for x64 (899d46d82c4c95423fb7e10e68eba52050e30ba3)
Downloading: 100%
Unpacking: 100%
Unpacked 1722 files and folders to /home/azheng/.vscode-server/bin/899d46d82c4c95423fb7e10e68eba52050e30ba3.
终于大功告成,在wsl上成功安装vscode,并且可以正常编译。
wsl遇到问题The repository ‘http://ppa.launchpad.net/ubuntu-desktop/ubuntu-make/ubuntu focal Release‘解决方法相关推荐
- Ubuntu报错:E: The repository http://ppa.launchpad.net/fcitx-team does not have a Release file.
报错: E: The repository 'http://ppa.launchpad.net/fcitx-team/nightly/ubuntu bionic Release' does not h ...
- E: The repository ‘http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu bionic Release‘ does
Ubuntu18.04解决 E: The repository 'http://ppa.launchpad.net/appimagelauncher-team/stable/ubuntu bionic ...
- wsl ubuntu update显示err: 404 Not Found解决方法
文章目录 遇到问题 解决方法 参考 遇到问题 azheng@lishizheng:/mnt/e/shizheng_coding/fluent_python_reading_books$ sudo ap ...
- 完美解决ubuntu报错:ppa.launchpad与404 Not Found [IP: 91.189.95.85 80]
报错描述: 解决方法:cd /etc/apt/sources.list.d 注释掉gedit /etc/apt/sources.list该路径下的内容: #deb http://apt.tvheade ...
- GPG 错误:http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY
运行 sudo apt-get update 报错 W: GPG error: http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRele ...
- wsl 或者window terminal 下出现Java 14 switch expressions unrecognized解决方法:升级java jdk到14 or later
文章目录 缘由 解决方法 参考 缘由 IDEA中build成功,但是automated build失败 $ ./gradlew> Task :compileJava FAILED Wordle/ ...
- 仓库 “http://ppa.launchpad.net/fcitx-team/nightly/ubuntu xenial Release” 没有 Release 文件
仓库 "http://ppa.launchpad.net/fcitx-team/nightly/ubuntu xenial Release" 没有 Release 文件. ...
- W: 无法下载 http://ppa.launchpad.net/fcitx-team/nightly/ubuntu/dists/jessie/main/binary-amd64/Packages
转自:http://blog.csdn.net/u010317005/article/details/52168493 执行apt-get update时出现以下情况 W: 无法下载 http://p ...
- ubuntu报错:E: 仓库 “http://ppa.launchpad.net/docky-core/ppa/ubuntu bionic Release” 没有 Release 文件
E: 仓库 "http://ppa.launchpad.net/docky-core/ppa/ubuntu bionic Release" 没有 Release 文件. 解决: s ...
最新文章
- spring mvc后端代码实现弹出对话框_Spring(3)——事务管理和MVC
- Linux字符界面操作进阶
- java文件复制速度_【Java】Java代码拷贝文件的速度
- Linux文件管理常用命令
- anroid抓包工具tcpdump的用法
- mysql远程访问授权命令_mysql远程访问授权
- 中国 AI 开发者真实现状:人才依赖海外引进,本科 AI 教育盛行
- Avro 序列化操作原理与应用
- 台式机linux连wifi,台式电脑怎么用wifi八种方法解决
- msdia 80.dll的正确位置
- matlab ill,Matlab跑GMM聚类时出现Ill-conditioned covariance created at iteration xx错误提示
- JS复制input内容
- nginx代理frps后出现 http proxy request error: no such domain
- 微信ChatEmoji表情适配,对微信公众号开发有帮助
- 青龙面板之白嫖游戏云
- 2019计算机研究生暑期学校,2019年度VLDB暑期学校
- centos下查看服务器型号命令
- 液晶面板里面有些什么配件_液晶电视的主要部件包括哪些?
- Python数据分析 ---- ARMA模型
- 硬件描述语言实验五:四位加法器实验
热门文章
- weblogic缓存导致的网页验证码无法获取到
- StringBuffer笔记
- .Net异步编程知多少
- jquery ajax json 数据的遍历
- (转)VMware 虚拟机安装Ubuntu 11.10使用share folders共享目录
- 修改审查元素怎么保存_手机qq性别怎么改成空白
- java swing 外观框架_Swing外观框架BeautyEye使用
- Java语言程序设计实验指导_《java语言程序设计》上机实验指导手册(4).doc
- html 的empty属性,你未必知道的CSS小知识:你知道table里的empty-cells属性吗?
- 6.8 程序示例--二分 K-Means-机器学习笔记-斯坦福吴恩达教授