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 on 2014-07-17

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:
2014-07-29
Last reply:
2014-08-13

This question was reopened

What is the output of :

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

Thanks

sorry:

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

That

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.
>

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.

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:~$

Try:

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

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

Thanks actionparsnip, that solved my question.

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:/#

Manfred Hampl (m-hampl) said : #10

Try the terminal command

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

and then re-run the update attempt

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:/#

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_*

Please guide me in this issue...

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:/#

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?

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

Thanks Manfred Hampl, that solved my question.

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:~$

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:~#

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

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:~#

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

Launchpad Janitor (janitor) said : #23

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