I'm having a problem while updating.
When I execute sudo apt-get update
I 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...
memtest
for one complete pass. Then also do afsck
. – heynnema Mar 17 '19 at 21:04terminal
, and typesudo debsums -s
and watch for any errors that would indicate any file corruption or modifications. FYI: fsck should be run withsudo fsck -f /dev/sda7
. – heynnema Mar 18 '19 at 18:12sudo apt install debsums
so I downloaded all dependencies from packages.ubuntu. Finally, executing what you suggested wasn't possible andapt
even suggestedapt --fix-broken install
which asks to delete a lot of packages and warns about damaging the system. I have/home
mounted on a different partition since I have had to reinstall Lubuntu like four or five times because of the same problem. Do you think I should simply reinstall again? Sorry for wasting your time... – Santiago Mar 18 '19 at 18:43Disks
app, and go to the "hamburger" icon, and selectSMART Data & Tests
. In the data, look for any item with the word "sector" in it, run the tests, and report back. When you installed lubuntu in the past, did you verify a good download before you built your USB drive? – heynnema Mar 18 '19 at 18:51md5sum filename.iso
and compare value with the md5sums file. You can check your original .iso download that way also. – heynnema Mar 18 '19 at 19:30lubuntu-18.04.2-desktop-amd64.iso
and I verified it withsha256sum
: I got exact match. I can't do the same with the .iso file I used before because I don't have it anymore. Now I got a notification saying that I suddenly have 22 broken packages and 24 keys unsigned (it made me laugh). – Santiago Mar 18 '19 at 20:22