Ubuntu: E:The method driver /usr/lib/apt/methods/gpgv could not be found


Anytime I go to update and/or upgrade, apt-get returns the error below:

Failed to download repository information  E:The method driver /usr/lib/apt/methods/gpgv could not be found.    Running: 12.04 (precise) 32bit, kernel 3.5.0-18-generic, gnome 3.4.2  on an amd athlon 7850 dual core with 4GB RAM.  

Output for ls -l:

root@nerve:/# ls -l /usr/lib/apt/methods/  total 368  -rwxr-xr-x 1 root root 18112 Oct 30  2014 bzip2  -rwxr-xr-x 1 root root 30452 Oct 30  2014 cdrom  -rwxr-xr-x 1 root root 18044 Oct 30  2014 copy  -rwxr-xr-x 1 root root 55316 Oct 30  2014 ftp  -rwxr-xr-x 1 root root 18052 Oct 30  2014 gzip  -rwxr-xr-x 1 root root 67632 Oct 30  2014 http  -rwxr-xr-x 1 root root 34604 Oct 30  2014 https  lrwxrwxrwx 1 root root     5 Oct 30  2014 lzma -> bzip2  -rwxr-xr-x 1 root root 88256 Oct 30  2014 mirror  -rwxr-xr-x 1 root root 26376 Oct 30  2014 rsh  lrwxrwxrwx 1 root root     3 Oct 30  2014 ssh -> rsh  lrwxrwxrwx 1 root root     5 Oct 30  2014 xz -> bzip2  

Output for locate gpgv:

root@nerve:/# locate gpgv  /usr/bin/gpgv  /usr/lib/apt/methods/gpgv  /usr/share/doc/gpgv  /usr/share/doc/gpgv/changelog.Debian.gz  /usr/share/doc/gpgv/copyright  /usr/share/man/man1/gpgv.1.gz  /var/lib/dpkg/info/gpgv.list  /var/lib/dpkg/info/gpgv.md5sums  

Please help. I haven't been able to update in months, and now i'd like to upgrade to 14.04 without losing everything with a fresh install.

Thanks in advance! :)


You have a corrupted line in /etc/apt/sources.list or one of the *.list files under /etc/apt/sources.list.d/.

Try this command to spot it:

grep gpgv: /etc/apt/*.list /etc/apt/sources.list.d/*.list  

Remove the line and you'll be fine.


Since you somehow lost the /usr/lib/apt/methods/gpgv file, a way to get back that file is by reinstalling apt:

sudo apt-get install --reinstall apt  

Now, it will warn you that apt can not be authenticated but just go ahead and install it.

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Next Post »