首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何切换或修复Ubuntu19.04的ppa配置和源?

如何切换或修复Ubuntu19.04的ppa配置和源?
EN

Ask Ubuntu用户
提问于 2019-04-28 15:06:10
回答 1查看 2.2K关注 0票数 1

我刚在宏碁Nitro 5笔记本电脑上安装了Ubuntu19.04。

我很难按照gorails.com上的说明在rails上安装ruby和ruby

运行以下命令时:

代码语言:javascript
复制
$ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -

我得到以下错误:

代码语言:javascript
复制
## Installing the NodeSource Node.js 8.x LTS Carbon repo...    
## Populating apt-get cache...    
+ apt-get update
Hit:1 http://apt.postgresql.org/pub/repos/apt disco-pgdg InRelease
Hit:2 https://dl.winehq.org/wine-builds/ubuntu cosmic InRelease                                  
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                     
Hit:4 http://us.archive.ubuntu.com/ubuntu disco InRelease                                        
Get:5 http://us.archive.ubuntu.com/ubuntu disco-updates InRelease [88.4 kB]                      
Hit:6 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu disco InRelease                       
Hit:7 http://security.ubuntu.com/ubuntu disco-security InRelease                                 
Hit:8 http://dl.google.com/linux/chrome/deb stable Release                                       
Hit:9 http://us.archive.ubuntu.com/ubuntu disco-backports InRelease                              
Hit:10 http://ppa.launchpad.net/lutris-team/lutris/ubuntu disco InRelease
Hit:11 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu disco InRelease
Ign:13 http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu disco InRelease
Hit:14 http://ppa.launchpad.net/webupd8team/java/ubuntu disco InRelease
Err:15 http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu disco Release
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://apt.postgresql.org/pub/repos/apt disco-pgdg InRelease' doesn't support architecture 'i386'
E: The repository 'http://ppa.launchpad.net/paulo-miguel-dias/pkppa/ubuntu disco 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.
Error executing command, exiting

我到处找遍了,一直找不到解决办法。

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2019-04-28 15:22:07

您为您的Ubuntu发行版添加了do 没有文件PPA (19.04或Dingo)。

因此,您需要从系统中删除它:

代码语言:javascript
复制
sudo add-apt-repository -r ppa:paulo-miguel-dias/pkppa

然后继续跟随你的指引。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1138889

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档