ubuntu 14.04 解决apt-get update报错

apt-get update 报如下错误:

忽略 http://cn.archive.ubuntu.com trusty-backports/multiverse Translation-zh

忽略 http://cn.archive.ubuntu.com trusty-backports/restricted Translation-zh_CN

忽略 http://cn.archive.ubuntu.com trusty-backports/restricted Translation-zh

忽略 http://cn.archive.ubuntu.com trusty-backports/universe Translation-zh_CN

忽略 http://cn.archive.ubuntu.com trusty-backports/universe Translation-zh

下载 1,666 kB,耗时 3分 35秒 (7,740 B/s)

W: GPG 错误:http://ftp.cn.debian.org squeeze Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY AED4B06F473041FA NO_PUBKEY 64481591B98321F9

W: 无法下载 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found



W: 无法下载 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found

1. 要解决签名的问题:

apt-key adv --recv-keys --keyserver keyserver.Ubuntu.com AED4B06F473041FA

2. 要解决404 Not Found的问题:

sed -i 's/trusty/saucy/g' '/etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list'

可以继续了.

你可能感兴趣的:(apt-get)