更新未完成

更新未完成

当我用 更新时sudo apt-get update,我得到了这个:

N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension    
W: The repository 'http://ppa.launchpad.net/lucid-bleed/ppa/ubuntu xenial Release' does not have a Release file.    
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.    
N: See apt-secure(8) manpage for repository creation and user configuration details.    
E: Failed to fetch http://ppa.launchpad.net/lucid-bleed/ppa/ubuntu/dists/xenial/main/binary-amd64/Packages  404  Not Found    
E: Some index files failed to download. They have been ignored, or old ones used instead.

我的问题是:

  1. 这是什么错误以及我该如何理解它。

  2. 我该怎么做才能解决这个问题。

答案1

该错误是由于文件夹中的文件20auto-upgrades被命名所导致的。20auto-upgrades.ucf-dist/etc/apt/apt.conf.d/

要修复它,请打开你的终端并输入以下内容:

sudo mv 20auto-upgrades.ucf-dist 20auto-upgrades

然后做:

sudo apt update && sudo apt dist-upgrade

相关内容