Atualmente estou no Ubuntu 14.04 (novo no Ubuntu, migrado recentemente).
'apt-get install' funciona bem, e minha conexão está funcionando bem também. Mas quando eu corro o apt-get update, é isso que acontece
100% [InRelease gpgv 3,627 B] [Connecting to security.ubuntu.com
(91.189.91.13)Splitting up /var/lib/apt/lists/partial
/in.archive.ubuntu.com_ubuntu_dists_trustyIgn
http://in.archive.ubuntu.com trusty InRelease
E: GPG error: http://in.archive.ubuntu.com trusty InRelease:
Clearsigned file isn't valid, got 'NODATA'
(does the network require authentication?)
Uma pesquisa exaustiva on-line não resultou em nenhuma solução clara. O que eu tentei até agora:
wget https://dl.dropbox.com/u/8850924/fixpackage
chmod +x ./fixpackage
sudo./fixpackage
Para o preguiçoso, é isso que o fixpackage contém:
sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo apt-get clean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade
Saída:
100% [InRelease gpgv 3,627 B] [Waiting for headers]Splitting up /var/lib
/apt/lists/partial/security.ubuntu.com_ubuntu_dists_trusty-
security_InRelease into data Ign http://security.ubuntu.com trusty-
security InRelease
E: GPG error: http://security.ubuntu.com trusty-security InRelease:
Clearsigned file isn't valid, got 'NODATA' (does the network require
authentication?)
Setting up google-chrome-stable (43.0.2357.124-1) ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
100% [InRelease gpgv 3,627 B]Splitting up /var/lib/apt/lists/partial
/in.archive.Ign http://in.archive.ubuntu.com trusty InReleasea and
signature failed
E: GPG error: http://in.archive.ubuntu.com trusty InRelease: Clearsigned
file isn't valid, got 'NODATA' (does the network require
authentication?)
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Eu também tentei esta solução
sudo apt-get clean
sudo mv /var/lib/apt/lists /var/lib/apt/lists.broke
sudo mkdir -p /var/lib/apt/lists/partial
sudo apt-get update
Ambas as soluções não funcionaram para mim.
Deixe-me saber se mais detalhes são necessários.