Eu tenho um Ubuntu 14.04 recém-instalado.
Eu tenho um problema ao tentar executar sudo apt-get update
após executar os comandos add-apt-repository
.
Por exemplo, antes de executar add-apt-repository -y ppa:git-core/ppa
, tudo funciona bem.
No entanto, depois de executar este ou outros comandos add-apt-repository, sudo apt-get update
falha em:
# sudo apt-get update
Ign http:// il.archive.ubuntu.com trusty InRelease
Ign http:// il.archive.ubuntu.com trusty-updates InRelease
Ign http:// il.archive.ubuntu.com trusty-backports InRelease
Hit http:// il.archive.ubuntu.com trusty Release.gpg
Hit http:// il.archive.ubuntu.com trusty-updates Release.gpg
Hit http:// il.archive.ubuntu.com trusty-backports Release.gpg
Hit http:// il.archive.ubuntu.com trusty Release
Hit http:// il.archive.ubuntu.com trusty-updates Release
Hit http:// il.archive.ubuntu.com trusty-backports Release
Ign http:// security.ubuntu.com trusty-security InRelease
Get:1 http:// il.archive.ubuntu.com trusty/main Sources [1,064 kB]
Get:2 http:// ppa.launchpad.net trusty InRelease
46% [2 InRelease gpgv 81.7 kB] [1 Sources 448 kB/1,064 kB 42%] [Waiting for heaSplitting up /var/lib/apt/lists/partial/ppa.launchpad.net_git-core_ppa_ubuntu_dists_trusty_InRelease into data and signature fIgn http:// ppa.launchpad.net trusty InRelease
E: GPG error: http:// ppa.launchpad.net trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
Ao remover o ppa ( add-apt-repository --remove ppa:git-core/ppa
), tudo volta ao normal e posso executar sudo apt-get update
com êxito
wget -O - http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease
saídas em:
--2014-09-29 10:04:46-- http://extras.ubuntu.com/ubuntu/dists/trusty/InRelease
Resolving extras.ubuntu.com (extras.ubuntu.com)... 91.189.92.152
Connecting to extras.ubuntu.com (extras.ubuntu.com)|91.189.92.152|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2014-09-29 10:04:47 ERROR 404: Not Found.
Qualquer ajuda seria apreciada.