当前位置: 首页 > news >正文

完美解决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.tvheadend.org/stable xenial main
#deb-src http://apt.tvheadend.org/stable xenial main
#deb http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu maverick main

再次进去list.d目录下

 ls
bazel.list                                nvidia-ml.list
bazel.list.save                           nvidia-ml.list.save
boost-latest-ubuntu-ppa-xenial.list       ubuntu-toolchain-r-ubuntu-test-xenial.list
boost-latest-ubuntu-ppa-xenial.list.save  ubuntu-toolchain-r-ubuntu-test-xenial.list.save
cuda.list                                 v-launchpad-jochen-sprickerhof-de-ubuntu-pcl-xenial.list
cuda.list.save                            v-launchpad-jochen-sprickerhof-de-ubuntu-pcl-xenial.list.save
deadsnakes-ubuntu-ppa-xenial.list

修改名字或删除上述报错的指定文件:

mv boost-latest-ubuntu-ppa-xenial.list ./boost1 && mv boost-latest-ubuntu-ppa-xenial.list.save  boost2.save

再次更新还是不行,再次修改名字防止加载到:

root@ovo:/etc/apt/sources.list.d# mv boost1 teste.boost1
root@ovo:/etc/apt/sources.list.d# mv boost2.save teste.boost2
root@ovo:/etc/apt/sources.list.d# ls
bazel.list                         teste.boost1
bazel.list.save                    teste.boost2
cuda.list                          ubuntu-toolchain-r-ubuntu-test-xenial.list
cuda.list.save                     ubuntu-toolchain-r-ubuntu-test-xenial.list.save
deadsnakes-ubuntu-ppa-xenial.list  v-launchpad-jochen-sprickerhof-de-ubuntu-pcl-xenial.list
nvidia-ml.list                     v-launchpad-jochen-sprickerhof-de-ubuntu-pcl-xenial.list.save
nvidia-ml.list.save

再次更新还是不行,为了保证删掉带来的风险,现在将它一点到其他路径:

mv teste.boost2 /root/ && mv teste.boost1 /root
root@ovo:/etc/apt/sources.list.d# sl
bash: sl: command not found
root@ovo:/etc/apt/sources.list.d# ls
bazel.list       deadsnakes-ubuntu-ppa-xenial.list           ubuntu-toolchain-r-ubuntu-test-xenial.list.save
bazel.list.save  nvidia-ml.list                              v-launchpad-jochen-sprickerhof-de-ubuntu-pcl-xenial.list
cuda.list        nvidia-ml.list.save                         v-launchpad-jochen-sprickerhof-de-ubuntu-pcl-xenial.list.save
cuda.list.save   ubuntu-toolchain-r-ubuntu-test-xenial.list
root@ovo:/etc/apt/sources.list.d# mv teste.boost2 /root/ && mv teste.boost1 /root
mv: cannot stat 'teste.boost2': No such file or directory

再次更新类似的再把相应的文件移动到其他路径:

Err:14 http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu xenial Release
  404  Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu xenial Release' does not have a Release file.

移动后:

/etc/apt/sources.list.d# mv v-launchpad-jochen-sprickerhof-de-ubuntu-pcl-xenial.list /root && mv v-launchpad-jochen-sprickerhof-de-ubuntu-pcl-xenial.list.save /root
root@ovo:/etc/apt/sources.list.d# ls
bazel.list       cuda.list.save                     nvidia-ml.list.save
bazel.list.save  deadsnakes-ubuntu-ppa-xenial.list  ubuntu-toolchain-r-ubuntu-test-xenial.list
cuda.list        nvidia-ml.list                     ubuntu-toolchain-r-ubuntu-test-xenial.list.save

再次更新:

/etc/apt/sources.list.d# apt update
Hit:1 http://storage.googleapis.com/bazel-apt stable InRelease
Ign:2 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  InRelease
Ign:3 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64  InRelease
Hit:4 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64  Release
Hit:6 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1604/x86_64  Release
Hit:8 http://mirrors.aliyun.com/ubuntu xenial InRelease                
Hit:9 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease                                                                 
Hit:10 http://mirrors.aliyun.com/ubuntu xenial-security InRelease                                                               
Hit:11 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease                              
Hit:12 http://ppa.launchpad.net/ubuntu-toolchain-r/test/ubuntu xenial InRelease
Reading package lists... Done                      
Building dependency tree       
Reading state information... Done
166 packages can be upgraded. Run 'apt list --upgradable' to see them.

完美解决。

相关文章:

  • 北京网站建设多少钱?
  • 辽宁网页制作哪家好_网站建设
  • 高端品牌网站建设_汉中网站制作
  • AI模型C++部署:ubuntu安装Cython并使用C/C++调用python动态库【附加c++与python互相调用算法demo程序接口的源码】
  • Java学习备忘录(四)方法篇(原创)
  • AI服务器环境:OpenCV++与spleeter人声音伴奏分离docker环境/源码地址
  • AI模型C++部署:【配置OpenCV4++环境】与【三种在 C++ 中部署 TensorFlow 模型的方式】【准备阶段】
  • 一个文章在线编辑器的实现
  • AI模型C++部署:TensorFlow2图像分类模型之金钱豹大战齐天大圣【OpenCV纯C++接口调用tensorflow生成的pb模型】【源码已开源】
  • 失败得要命,我想我还是太嫩了。
  • 目标检测系列算法复现1:Darknet-YOLO-CUDA11-OpenCV4(Ubuntu平台)
  • 一个Java读取串口值的类(收藏)
  • 目标检测系列算法复现2:Darknet-YOLO-CUDA11-OpenCV4(Ubuntu平台)推理测试
  • AI模型部署到Android端:模拟器App的生成与tensorflow模型的输入输出调试
  • 加密和解密会员注册密码
  • 安装Hyper-V、WSL与虚拟机调用NVIDIA-GPU进行深入学习计算
  • AI模型设计:C++版本tensorflow_gpu模型构建与训练
  • NVIDIA-CUDA-CUDNN-TENSORRT深度学习编程学习文档
  • fetch 从初识到应用
  • If…else
  • Js实现点击查看全文(类似今日头条、知乎日报效果)
  • Linux后台研发超实用命令总结
  • mysql 5.6 原生Online DDL解析
  • Objective-C 中关联引用的概念
  • Odoo domain写法及运用
  • python大佬养成计划----difflib模块
  • Yeoman_Bower_Grunt
  • 浮现式设计
  • 记一次和乔布斯合作最难忘的经历
  • 驱动程序原理
  • 微信小程序设置上一页数据
  • 一个普通的 5 年iOS开发者的自我总结,以及5年开发经历和感想!
  • 栈实现走出迷宫(C++)
  • mysql面试题分组并合并列
  • PostgreSQL 快速给指定表每个字段创建索引 - 1
  • ​Linux·i2c驱动架构​
  • ​软考-高级-系统架构设计师教程(清华第2版)【第20章 系统架构设计师论文写作要点(P717~728)-思维导图】​
  • #我与Java虚拟机的故事#连载14:挑战高薪面试必看
  • (17)Hive ——MR任务的map与reduce个数由什么决定?
  • (21)起落架/可伸缩相机支架
  • (Arcgis)Python编程批量将HDF5文件转换为TIFF格式并应用地理转换和投影信息
  • (env: Windows,mp,1.06.2308310; lib: 3.2.4) uniapp微信小程序
  • (STM32笔记)九、RCC时钟树与时钟 第二部分
  • (阿里云在线播放)基于SpringBoot+Vue前后端分离的在线教育平台项目
  • (超简单)使用vuepress搭建自己的博客并部署到github pages上
  • (纯JS)图片裁剪
  • (二) 初入MySQL 【数据库管理】
  • (附源码)node.js知识分享网站 毕业设计 202038
  • (附源码)springboot课程在线考试系统 毕业设计 655127
  • (六)激光线扫描-三维重建
  • (转)EXC_BREAKPOINT僵尸错误
  • (转)淘淘商城系列——使用Spring来管理Redis单机版和集群版
  • (轉貼) 寄發紅帖基本原則(教育部禮儀司頒布) (雜項)
  • * 论文笔记 【Wide Deep Learning for Recommender Systems】
  • .net Application的目录
  • .NET下的多线程编程—1-线程机制概述
  • /etc/sudoer文件配置简析
  • @ohos.systemParameterEnhance系统参数接口调用:控制设备硬件(执行shell命令方式)