E: GPG error: http://dl.google.com stable InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)

Asked by Abhishek Avadhani

Hi,

I'm getting the following error if I try to update using sudo apt-get update. Please help.

abhishek@abhishek-Compaq-Presario-CQ41-Notebook-PC:~$ sudo apt-get update
Get:1 http://dl.google.com stable InRelease
95% [1 InRelease gpgv 194 B] [Waiting for headers] [Waiting for headers] [WaitiSplitting up /var/lib/apt/lists/partial/dl.googlIgn http://dl.google.com stable InRelease
E: GPG error: http://dl.google.com stable InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
abhishek@abhishek-Compaq-Presario-CQ41-Notebook-PC:~$

Regards

Abhishek Avadhani

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of :

lsb_release -a; uname -a; grep -r -i google /etc/apt/*.list

Thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#2

sorry:

grep -r -i google /etc/apt/*

That

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#3

hi,

Please check the image below after executing the above 2 commands you
mentioned.

Shubham

Abhishek Avadhani
+919535940241/+919482477456

* Abhishek Avadhani*
*(9535940241/9482477456)*

On Thu, Jul 17, 2014 at 12:56 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #251767 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/251767
>
> actionparsnip requested more information:
> sorry:
>
> grep -r -i google /etc/apt/*
>
> That
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+question/251767
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Replying to the automated email and attaching a file doesn't work. The output is also text so why do we need a picture at all. Just copy the text from the terminal and paste as an update. So vert much easier.

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#5

abhishek@abhishek-Compaq-Presario-CQ41-Notebook-PC:~$ lsb_release -a; uname -a; grep -r -i google /etc/apt/*.list
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04 LTS
Release: 14.04
Codename: trusty
Linux abhishek-Compaq-Presario-CQ41-Notebook-PC 3.13.0-32-generic #56-Ubuntu SMP Mon Jul 7 11:32:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
abhishek@abhishek-Compaq-Presario-CQ41-Notebook-PC:~$ grep -r -i google /etc/apt/*
grep: /etc/apt/auth.conf: Permission denied
/etc/apt/sources.list.d/google-chrome.list.save:deb http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-talkplugin.list:deb http://dl.google.com/linux/talkplugin/deb/ stable main
/etc/apt/sources.list.d/google-talkplugin.list.save:deb http://dl.google.com/linux/talkplugin/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list:deb http://dl.google.com/linux/chrome/deb/ stable main
grep: /etc/apt/trustdb.gpg: Permission denied
Binary file /etc/apt/trusted.gpg matches
Binary file /etc/apt/trusted.gpg~ matches
abhishek@abhishek-Compaq-Presario-CQ41-Notebook-PC:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

Try:

wget https://dl.dropbox.com/u/8850924/fixpackage
chmod +x ./fixpackage
sudo ./fixpackage

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#7

Thank you very much... It works fine now...

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#8

Thanks actionparsnip, that solved my question.

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#9

Sorry to disturb you again... I got the error again now today..

root@abhishek-Compaq-Presario-CQ41-Notebook-PC:/# apt-get update
Get:1 http://dl.google.com stable InRelease
Get:2 http://dl.google.com stable InRelease
97% [1 InRelease gpgv 194 B] [Waiting for headers] [Waiting for headers] [ConneSplitting up /var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stabIgn http://dl.google.com stable InRelease
E: GPG error: http://dl.google.com stable InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:/#

root@abhishek-Compaq-Presario-CQ41-Notebook-PC:/# grep -r -i google /etc/apt/*
/etc/apt/sources.list.d/google-chrome.list.save:deb http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-talkplugin.list:deb http://dl.google.com/linux/talkplugin/deb/ stable main
/etc/apt/sources.list.d/google-talkplugin.list.save:deb http://dl.google.com/linux/talkplugin/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list:deb http://dl.google.com/linux/chrome/deb/ stable main
Binary file /etc/apt/trusted.gpg matches
Binary file /etc/apt/trusted.gpg~ matches
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:/#

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Try the terminal command

sudo rm /var/lib/apt/lists/partial/*

and then re-run the update attempt

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#11

root@abhishek-Compaq-Presario-CQ41-Notebook-PC:/# apt-get install gnome-session-fallback
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gnome-session-fallback
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:/# sudo apt-get update; sudo apt-get install gnome-session-fallback
Ign http://archive.canonical.com trusty InRelease
Ign http://extras.ubuntu.com trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Hit http://archive.canonical.com trusty Release.gpg
Hit http://extras.ubuntu.com trusty Release.gpg
Ign http://archive.ubuntu.com trusty-updates InRelease
Hit http://ppa.launchpad.net trusty Release.gpg
Hit http://archive.canonical.com trusty Release
Hit http://extras.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty Release
Ign http://archive.ubuntu.com trusty-backports InRelease
Hit http://archive.canonical.com trusty/partner Sources
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://ppa.launchpad.net trusty/main Sources
Ign http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.canonical.com trusty/partner amd64 Packages
Hit http://extras.ubuntu.com trusty/main amd64 Packages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Ign http://archive.ubuntu.com trusty-proposed InRelease
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://ppa.launchpad.net trusty/main i386 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Get:1 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:2 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Ign https://private-ppa.launchpad.net trusty InRelease
Get:3 http://archive.ubuntu.com trusty-backports Release.gpg [933 B]
Get:4 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Get:5 http://archive.ubuntu.com trusty-proposed Release.gpg [933 B]
Get:6 http://archive.ubuntu.com trusty Release [58.5 kB]
Ign http://archive.canonical.com trusty/partner Translation-en_US
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Get:7 http://archive.ubuntu.com trusty-updates Release [58.5 kB]
Ign http://ppa.launchpad.net trusty/main Translation-en_US
Ign http://ppa.launchpad.net trusty/main Translation-en
Get:8 http://dl.google.com stable InRelease
100% [8 InRelease gpgv 194 B] [Waiting for headers] [Connecting to dl.google.coSplitting up /var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_stabIgn http://dl.google.com stable InRelease
E: GPG error: http://dl.google.com stable InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gnome-session-fallback
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:/#

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

As everything else looks quite normal, it seems that there is something wrong either with the google source as such, or with your access to it.

What is the output of
head /var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_*

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#13

Please guide me in this issue...

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#14

root@abhishek-Compaq-Presario-CQ41-Notebook-PC:/# head /var/lib/apt/lists/partial/dl.google.com_linux_chrome_deb_dists_*
<HTML><HEAD>
<meta http-equiv=pragma content=nocache>
<META HTTP-EQUIV=Expires CONTENT=-1>
<SCRIPT>
 location.href="http://10.1.1.1:8090/httpclient.html"
</SCRIPT>
</HEAD><BODY>
</BODY>
</HTML>
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:/#

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

It seems that instead of the repository contents, you get an error message from your proxy server.
Can you ask the person managing that proxy server for support?

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#16

ok... Thank you...i got it... our firewall and proxy servers were blocking it..

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#17

Thanks Manfred Hampl, that solved my question.

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#18

abhishek@abhishek-Compaq-Presario-CQ41-Notebook-PC:~$ sudo apt-get upgrade 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.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up uml-utilities (20070815-1.3ubuntu1) ...
 * Starting User-mode networking switch uml_switch [fail]
invoke-rc.d: initscript uml-utilities, action "start" failed.
dpkg: error processing package uml-utilities (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of user-mode-linux:
 user-mode-linux depends on uml-utilities (>= 20040406-1); however:
  Package uml-utilities is not configured yet.

dpkg: error processing package user-mode-linux (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 uml-utilities
 user-mode-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
abhishek@abhishek-Compaq-Presario-CQ41-Notebook-PC:~$

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#19

root@abhishek-Compaq-Presario-CQ41-Notebook-PC:~# sudo apt-get upgrade 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.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up uml-utilities (20070815-1.3ubuntu1) ...
 * Starting User-mode networking switch uml_switch [fail]
invoke-rc.d: initscript uml-utilities, action "start" failed.
dpkg: error processing package uml-utilities (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of user-mode-linux:
 user-mode-linux depends on uml-utilities (>= 20040406-1); however:
  Package uml-utilities is not configured yet.

dpkg: error processing package user-mode-linux (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 uml-utilities
 user-mode-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:~#

Revision history for this message
Manfred Hampl (m-hampl) said :
#20

Seems to be bug #1015465

What is the output of the terminal command

sudo invoke-rc.d uml-utilities start

Maybe the following terminal commands can serve as a workaround to get your package management system back into a clean state:

sudo mv /etc/init.d/uml-utilities uml-utilities.bck
sudo dpkg --configure -a
sudo mv /etc/init.d/uml-utilities.bck uml-utilities

Revision history for this message
Abhishek Avadhani (abhishekavadhani) said :
#21

root@abhishek-Compaq-Presario-CQ41-Notebook-PC:~# sudo invoke-rc.d uml-utilities start
 * Starting User-mode networking switch uml_switch [fail]
invoke-rc.d: initscript uml-utilities, action "start" failed.
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:~#
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:~# sudo mv /etc/init.d/uml-utilities uml-utilities.bck
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:~# sudo dpkg --configure -a
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:~# sudo mv /etc/init.d/uml-utilities.bck uml-utilities
mv: cannot stat ‘/etc/init.d/uml-utilities.bck’: No such file or directory
root@abhishek-Compaq-Presario-CQ41-Notebook-PC:~#

Revision history for this message
Manfred Hampl (m-hampl) said :
#22

Sorry, seems that my command was not fully right, but that should be easy to undo.

What is now the output of the commands

sudo dpkg --audit
sudo updatedb
locate uml-utilities

Revision history for this message
Launchpad Janitor (janitor) said :
#23

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.