E: GPG error: http://us.archive.ubuntu.com precise-updates InRelease: The following signatures were invalid: NODATA 2
I'm getting this error while running:
sudo apt-get update
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Pallav Parikh
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
What is the output of:
cd $HOME
wget https:/
chmod +x ./fixpackage
sudo ./fixpackage
Thanks
Revision history for this message
|
#2 |
After following above steps, I'm getting follwing output.
pallav@
Ign http://
Ign http://
Ign http://
Get:1 http://
Get:2 http://
Ign http://
Get:3 http://
Get:4 http://
Ign http://
Get:5 http://
Get:6 http://
Ign http://
E: GPG error: http://
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
W: Duplicate sources.list entry http://
W: You may want to run apt-get update to correct these problems
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Ign http://
Get:1 http://
Get:2 http://
Get:3 http://
Get:4 http://
Ign http://
E: GPG error: http://
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.
W: Duplicate sources.list entry http://
W: You may want to run apt-get update to correct these problems
pallav@
Revision history for this message
|
#3 |
OK let's clear this up.
What is the output of:
sudo grep -R chrome /etc/apt/*
Thanks
Revision history for this message
|
#4 |
The get-deb repo is notoriously flakes. I heard they have limited data on their service but I'm not sure how true that is. The source basically gave you no data. It's either down or abandoned or simply has no ability to send the data you requested.
Revision history for this message
|
#5 |
it gives following o/p:
pallav@
/etc/apt/
/etc/apt/
/etc/apt/
pallav@
I also followed link:
http://
couldn't understand what's going wrong.
There was also an issue of "no space left on device".
I tried autoremove, autoclean, clean. None could help.
Revision history for this message
|
#6 |
OK, run:
sudo gedit /etc/apt/
And remove this line:
deb http://
Save the new file, close gedit and run:
sudo apt-get update
Is it now smoother? If so, what is the output of:
df -h
Thanks
Revision history for this message
|
#7 |
nope.. still the same issue..
pallav@
Ign http://
Ign http://
Ign http://
Get:1 http://
Ign http://
E: GPG error: http://
pallav@
df: ‘/root/.gvfs’: Permission denied
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 14G 14G 0 100% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 786M 1.4M 785M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 87M 3.8G 3% /run/shm
none 100M 60K 100M 1% /run/user
overflow 1.0M 1.0M 0 100% /tmp
/dev/sda6 460G 455G 5.4G 99% /windows
/dev/sda10 8.8G 2.8G 6.0G 32% /home
/dev/sda1 496M 53M 444M 11% /boot/efi
/dev/sda5 433G 345G 89G 80% /media/pallav/OS
pallav@
Revision history for this message
|
#8 |
sudo df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 14G 14G 0 100% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 786M 1.4M 785M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 87M 3.8G 3% /run/shm
none 100M 60K 100M 1% /run/user
overflow 1.0M 1.0M 0 100% /tmp
/dev/sda6 460G 455G 5.4G 99% /windows
/dev/sda10 8.8G 2.8G 6.0G 32% /home
/dev/sda1 496M 53M 444M 11% /boot/efi
/dev/sda5 433G 345G 89G 80% /media/pallav/OS
Revision history for this message
|
#9 |
What is the output of:
uname -a; dpkg -l | grep linux-image
Thanks
Revision history for this message
|
#10 |
pallav@
Linux pallav-
Revision history for this message
|
#11 |
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 14G 14G 0 100% /
overflow 1.0M 1.0M 0 100% /tmp
Your root file system and the /tmp file system are completely full.
Try
sudo rm /var/cache/
df -h
what do you get?
Revision history for this message
|
#12 |
yeah tried so..
though there are no files such as ".deb"
n still,
pallav@
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 14G 14G 0 100% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 786M 1.4M 785M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 126M 3.8G 4% /run/shm
none 100M 64K 100M 1% /run/user
overflow 1.0M 1.0M 0 100% /tmp
/dev/sda6 460G 455G 5.4G 99% /windows
/dev/sda10 8.8G 2.8G 6.0G 32% /home
/dev/sda1 496M 53M 444M 11% /boot/efi
/dev/sda5 433G 345G 89G 80% /media/pallav/OS
Is there any way, I can reset the system? like uninstalling everything and set it up to default..
Revision history for this message
|
#13 |
What is the output of:
cd /; sudo du -sh *
Thanks
Revision history for this message
|
#14 |
What is the output of
uname -a
ls /boot
sudo du -sch /*
Revision history for this message
|
#15 |
uname -a
Linux pallav-
pallav@
abi-3.13.
abi-3.13.
abi-3.13.
abi-3.13.
abi-3.13.
abi-3.13.
abi-3.13.
abi-3.13.
config-
config-
config-
cd /; sudo du -sh *
[sudo] password for pallav:
9.8M bin
332M boot
4.0K cdrom
4.0K dev
16M etc
2.8G home
0 initrd.img
0 initrd.img.old
1.6G lib
4.0K lib64
16K lost+found
343G media
4.0K mnt
847M opt
du: cannot access ‘proc/5382/
du: cannot access ‘proc/5382/
du: cannot access ‘proc/5382/fd/4’: No such file or directory
du: cannot access ‘proc/5382/
0 proc
45M root
du: cannot access ‘run/user/
1.6M run
13M sbin
4.0K srv
0 sys
1020K tmp
5.7G usr
4.7G var
0 vmlinuz
0 vmlinuz.old
455G windows
Revision history for this message
|
#16 |
sudo du -sch /*
[sudo] password for pallav:
9.8M /bin
332M /boot
4.0K /cdrom
4.0K /dev
16M /etc
2.8G /home
0 /initrd.img
0 /initrd.img.old
1.6G /lib
4.0K /lib64
16K /lost+found
343G /media
4.0K /mnt
847M /opt
du: cannot access ‘/proc/
du: cannot access ‘/proc/
du: cannot access ‘/proc/5676/fd/4’: No such file or directory
du: cannot access ‘/proc/
0 /proc
45M /root
du: cannot access ‘/run/user/
1.6M /run
13M /sbin
4.0K /srv
0 /sys
1020K /tmp
5.7G /usr
4.7G /var
0 /vmlinuz
0 /vmlinuz.old
455G /windows
813G total
Revision history for this message
|
#17 |
For a quick cleanup I recommend deleting old versions of the kernel images.
cd /boot
sudo rm abi-3.13.
sudo rm config-
sudo rm initrd.
sudo rm System.
sudo rm vmlinuz-
sudo rm vmlinuz-
What is now the output of
df -h
What is the output of
sudo du -sch /var/*
Revision history for this message
|
#18 |
pallav@
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 14G 13G 0 100% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 786M 1.4M 785M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 256M 3.6G 7% /run/shm
none 100M 68K 100M 1% /run/user
overflow 1.0M 1.0M 0 100% /tmp
/dev/sda6 460G 455G 5.4G 99% /windows
/dev/sda10 8.8G 2.8G 6.0G 32% /home
/dev/sda1 496M 53M 444M 11% /boot/efi
/dev/sda5 433G 345G 89G 80% /media/pallav/OS
pallav@
33M /var/backups
328M /var/cache
155M /var/crash
296K /var/games
4.2G /var/lib
4.0K /var/local
0 /var/lock
18M /var/log
4.0K /var/mail
4.0K /var/metrics
4.0K /var/opt
0 /var/run
76K /var/spool
24K /var/tmp
20K /var/www
4.7G total
Revision history for this message
|
#19 |
Ok, a small step forward,
/dev/sda8 14G 13G 0 100% /
already one GB less, but still over the limit.
delete some more kernels
cd /boot
sudo rm abi-3.13.
sudo rm config-
sudo rm initrd.
sudo rm System.
sudo rm vmlinuz-
sudo rm vmlinuz-
and again
df -h
sudo du -sch /var/lib/*
sudo dpkg --audit
Revision history for this message
|
#20 |
pallav@
[sudo] password for pallav:
16K /var/lib/
4.0K /var/lib/
4.0K /var/lib/alien
16K /var/lib/alsa
32K /var/lib/apache2
8.0K /var/lib/apparmor
256M /var/lib/apt
4.2M /var/lib/
17M /var/lib/aptitude
3.6M /var/lib/aspell
4.0K /var/lib/
4.0K /var/lib/
4.0K /var/lib/
8.0K /var/lib/
52K /var/lib/belocs
16K /var/lib/binfmts
56K /var/lib/bluetooth
20K /var/lib/colord
8.0K /var/lib/dbus
4.0K /var/lib/dhcp
20K /var/lib/
220K /var/lib/doc-base
109M /var/lib/dpkg
220M /var/lib/
940K /var/lib/gconf
36K /var/lib/
4.0K /var/lib/git
4.0K /var/lib/hp
36K /var/lib/
4.0K /var/lib/
4.0K /var/lib/insserv
117M /var/lib/jenkins
11M /var/lib/ldap
16K /var/lib/
4.0K /var/lib/libuuid
1.3M /var/lib/lightdm
12K /var/lib/
16K /var/lib/locales
8.0K /var/lib/logrotate
4.0K /var/lib/man-db
4.0K /var/lib/misc
17M /var/lib/mlocate
3.3G /var/lib/mongodb
8.0K /var/lib/
38M /var/lib/mysql
100K /var/lib/
20K /var/lib/nfs
4.0K /var/lib/ntpdate
8.0K /var/lib/os-prober
28K /var/lib/pam
28K /var/lib/php5
4.0K /var/lib/plymouth
4.0K /var/lib/pm-utils
44K /var/lib/polkit-1
107M /var/lib/postgresql
4.0K /var/lib/pulseaudio
4.0K /var/lib/python
0 /var/lib/
8.0K /var/lib/rfkill
4.0K /var/lib/rpm
2.3M /var/lib/samba
12K /var/lib/sgml-base
4.0K /var/lib/slapd
4.0K /var/lib/snmp
256K /var/lib/sudo
60K /var/lib/systemd
8.0K /var/lib/ubiquity
8.0K /var/lib/
4.0K /var/lib/
204K /var/lib/ucf
8.0K /var/lib/udisks2
8.0K /var/lib/
96K /var/lib/
4.0K /var/lib/
268K /var/lib/upower
8.0K /var/lib/urandom
1.1M /var/lib/ureadahead
4.0K /var/lib/
496K /var/lib/usbutils
8.0K /var/lib/vim
8.0K /var/lib/xfonts
32K /var/lib/xkb
12K /var/lib/xml-core
8.0K /var/lib/yum
4.2G total
pallav@
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 14G 13G 5.8M 100% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 786M 1.4M 785M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 310M 3.6G 8% /run/shm
none 100M 68K 100M 1% /run/user
overflow 1.0M 1.0M 0 100% /tmp
/dev/sda6 460G 455G 5.4G 99% /windows
/dev/sda10 8.8G 2.8G 6.0G 32% /home
/dev/sda1 496M 53M 444M 11% /boot/efi
/dev/sda5 433G 345G 89G 80% /media/pallav/OS
pallav@
Revision history for this message
|
#21 |
1. It seems that a large amount of space is used by /var/lib/mongodb (3.3 GB)
Is this something that you need?
2. Does the command
sudo apt-get --purge autoremove
delete obsolete packages and free some space?
Revision history for this message
|
#22 |
No, MongoDB is not much of useful now.. I can remove that.
n yeah.. sudo apt-get autoremove deletes obsolete packages. I haven't used it with "--purge" parameter
Revision history for this message
|
#23 |
The --purge option of the apt-get autoremove command does not recover much space, it is more for cleanup of obsolete config files (small size).
What is the current status of
df -h
dpkg -l | egrep ' linux-[his]'
?
Revision history for this message
|
#24 |
pallav@
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 14G 9.4G 3.6G 73% /
none 4.0K 0 4.0K 0% /sys/fs/cgroup
udev 3.9G 4.0K 3.9G 1% /dev
tmpfs 786M 1.4M 785M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 3.9G 313M 3.6G 8% /run/shm
none 100M 64K 100M 1% /run/user
overflow 1.0M 1.0M 0 100% /tmp
/dev/sda6 460G 455G 5.4G 99% /windows
/dev/sda10 8.8G 2.8G 6.0G 32% /home
/dev/sda1 496M 53M 444M 11% /boot/efi
/dev/sda5 433G 345G 89G 80% /media/pallav/OS
pallav@
pallav@
Revision history for this message
|
#25 |
the / usage has been reduced to 73%
I recommend that you reboot the check whether the /tmp usage also goes down from 100%
Please provide the output of
dpkg -l | grep ' linux-'
Revision history for this message
|
#26 |
thanks a lot..
its seems to have enough memory for now..
I'd really appreciate if you can help me out with "GPG Error:'some source' InRelease: the following signatures were invalid keyexpired".
'some source' such as: "http://
Revision history for this message
|
#27 |
To correct the getdeb error, probably the following command helps:
wget -q -O- http://
What is the full output of
sudo apt-get update
Revision history for this message
|
#28 |
hello..
Thanks a lot..
I jst did solve this issue..
After Restarting the system, I got following error:
Ign http://
Fetched 51.2 MB in 3min 19s (257 kB/s)
Reading package lists... Done
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
W: GPG error: http://
SO.... by following this link: http://
pallav@
pallav@
OK
pallav@
pallav@
OK
pallav@
pallav@
OK
pallav@
pallav@
OK
pallav@
OK
pallav@
OK
pallav@
OK
pallav@
OK
pallav@
...
...
Fetched 289 kB in 29s (9,813 B/s)
Reading package lists... Done
pallav@
solved that issue.. and it's working properly now..
Thanks a lot mate.. you're awesome
Revision history for this message
|
#29 |
Quite a complicated way to solve the NOPUBKEY error.
The following single command should also have worked:
sudo apt-key adv --keyserver keyserver.
To ensure that you do not run into the "no space left" problem, you should do regular housekeeping by deleting obsolete versions of the kernel packages.
Please be aware that in the emergency repair actions you have manually deleted files, but the package management system still expects them to be there. To bring that back in sync, you should use the package management system programs (dpkg or apt-get etc.) to remove the packages for the kernel files with the numbers that were manually deleted (-3.13.0-24, -3.13.0-45, -3.13.0-57, -3.13.0-58 and -3.13.0-61).
If you need help with that, just ask.
Revision history for this message
|
#30 |
yeah.. sure..
though I do remove obsolete packages regularly.
now i know where to look, I'll keep this in mind.
n also now, i'm running "aptitude update" for partially broken held packages.
Also replaced "source.list" with new sources which I need from: https:/
now memory status is reaching upto 80%
Filesystem Size Used Avail Use% Mounted on
/dev/sda8 14G 11G 2.9G 78% /
Hope I won't run out of it.
Thanks.