移除Ubuntu上陈旧的PPA仓库

23 篇文章 0 订阅

前言

  • 问题描述
    执行 sudo apt-get update 抛出如下信息:
E: The repository 'http://ppa.launchpad.net/wine/wine-builds/ubuntu bionic 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.
  • 原因
    因为ppa仓库陈旧或者不在使用了,需要移除陈旧的ppa仓库。

解决办法

  • 移除ppa仓库
root@dduan-virtual-machine:/home/dduan# sudo add-apt-repository --remove ppa:wine/wine-builds
  • 查看ppa
    在这里插入图片描述
    在本例中,Ubuntu Trusty不再支持的PPA仓库ppa:wine/wine-builds
  • 移除PPA仓库后,使用sudo apt-get update 来检查是否成功移除
root@dduan-virtual-machine:/home/dduan# apt-get update
Hit:1 http://cn.archive.ubuntu.com/ubuntu bionic InRelease          
Hit:2 http://archive.canonical.com/ubuntu bionic InRelease                     
Hit:3 http://security.ubuntu.com/ubuntu bionic-security InRelease              
Hit:4 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease      
Hit:5 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:6 http://cn.archive.ubuntu.com/ubuntu bionic-proposed InRelease
Reading package lists... Done 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

dadeity

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值