I got the following error
Reading package lists... Done
W: GPG error: http://extras.ubuntu.com oneiric Release: Unknown error executing gpgv
executing gpgv
----
W: GPG error: http://archive.ubuntu.com oneiric-updates Release: Unknown error executing gpgv
Then after googling it i found and followed the following but that caused one error
**sudo -i
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update**
while running i got the error
" kapil@ubuntu:/var/lib/apt$ sudo mv lists lists.old
mv: cannot move `lists' to `lists.old/lists': Directory not empty "
so once again running the update command I got the same error again. Please help me what should i do?
i did the following on ur advice n it showd the following
root@ubuntu:/home/kapil# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/loop0 15G 4.7G 8.8G 35% /
udev 1.5G 4.0K 1.5G 1% /dev
tmpfs 591M 880K 590M 1% /run
none 5.0M 0 5.0M 0% /run/lock
none 1.5G 488K 1.5G 1% /run/shm
/dev/sda5 229G 221G 7.2G 97% /host
/dev/sda1 100M 25M 76M 25% /media/System Reserved
root@ubuntu:/home/kapil# ls -al /var/lib/apt/
total 68
drwxr-xr-x 7 root root 4096 2012-04-08 09:53 .
drwxr-xr-x 58 root root 4096 2012-03-28 09:59 ..
-rw-r--r-- 1 root root 203 2012-03-24 13:18 cdroms.list
-rw-r--r-- 1 root root 7261 2012-04-06 15:27 extended_states
drwxr-xr-x 2 root root 4096 2011-10-12 10:27 keyrings
drwxr-xr-x 3 root root 16384 2012-04-14 06:26 lists
drwxr-xr-x 4 root root 20480 2012-04-08 07:46 lists.old
drwxr-xr-x 3 root root 4096 2011-10-12 10:27 mirrors
drwxr-xr-x 2 root root 4096 2012-03-24 14:39 periodic*
when i followed the above instruction it showed following warnings first :
root@ubuntu:/home/kapil# sudo apt-get clean
root@ubuntu:/home/kapil# sudo rm /var/lib/apt/lists/*
rm: cannot remove `/var/lib/apt/lists/partial': Is a directory
root@ubuntu:/home/kapil# sudo rm /var/lib/apt/lists/partial/*
root@ubuntu:/home/kapil# sudo apt-get clean
root@ubuntu:/home/kapil# sudo apt-get update
After this it again showd the error :
Reading package lists... Done
W: GPG error: http//archive.canonical.com oneiric Release: Unknown error executing gpgv
W: GPG error: http//extras.ubuntu.com oneiric Release: Unknown error executing gpgv
W: GPG error: http//archive.ubuntu.com oneiric Release: Unknown error executing gpgv
W: GPG error: http//archive.ubuntu.com oneiric-backports Release: Unknown error executing gpgv
W: GPG error: http//archive.ubuntu.com oneiric-security Release: Unknown error executing gpgv
W: GPG error: http//archive.ubuntu.com oneiric-proposed Release: Unknown error executing gpgv
W: GPG error: http//archive.ubuntu.com oneiric-updates Release: Unknown error executing gpgv
what to do know?
df -h. Also check if lists.old already exists. In that case move it somewhere else. – jippie Apr 14 '12 at 11:18df -handls -al /var/lib/apt/– jippie Apr 14 '12 at 11:56