1

I'm having a problem while updating.
When I execute sudo apt-get updateI get a lot of errors like

The next keys couldn't be verified because their public key is not available: NO_PUBKEY 3B4FE6ACC0B21F32  

So I run apt-key adv --recv-key --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32

but I get

Segmentation fault (core dumped)
Executing: /tmp/apt-key-gpghome.h6c2gBEFf0/gpg.1.sh --recv-key --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32
gpg: key 3B4FE6ACC0B21F32: 19 firmas no comprobadas por falta de claves
gpg: clave 3B4FE6ACC0B21F32: clave pública "Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>" importada
gpg: Total quantity processed: 1
gpg:                 imported: 1
Segmentation fault (core dumped)
Segmentation fault (core dumped)

and when I try to update again I get exactly the same errors. I have tried a lot of solutions so maybe I have messed up something.

The error also shows up, for example, when I execute

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 

which gives

Segmentation fault (core dumped)
Segmentation fault (core dumped)
Segmentation fault (core dumped)  

EDIT0:
I booted memtest and ran a complete test with good results; no errors found. Then I booted a live lubuntu 18.10 and executed fsck which gave

lubuntu@lubuntu:~$ sudo fsck -M /dev/sda7
fsck from util-linux 2.32
e2fsck 1.44.4 (18-Aug-2018)
/dev/sda7: clean, 328959/1250928 files, 2710797/4999936 blocks

lubuntu@lubuntu:~$ echo $?
0  

where /dev/sda7 is the partition of my hard drive where I have installed lubuntu 18.04. Yet when I execute apt-key adv --recv-key --keyserver keyserver.ubuntu.com 3B4FE6ACC0B21F32 it gives the same error as above :(
Thanks in advance...

1 Answers1

0

The "segmentation fault" error message means that there is most likely a bug in the program/command you executed, in this case "apt-key". It is probably a good idea to report the bug so that it can be fixed: How do I report a bug?

Elias
  • 2,159