You are not logged in.
For the last three days I have been trying to install Arch Linux on virtual box but I am having some kind of strange problem. The following problems occur when I install base packages and Linux using the pacstrap script:
error: could not extract /mnt/usr/share/man/man8/debugfs.8.gz (Zstd decompression failed: Restored data doesn't match checksum)
error: problem occurred while installing e2fsprogs
Optional dependencies for e2fsprogs
lvm2: for e2scrub
util-linux: for e2scrub [pending]
smtp-forwarder: for e2scrub_fail script
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
error: segmentation fault
Please submit a full bug report with --debug if appropriate.
==> ERROR: Failed to install packages to new root
pacstrap /mnt base linux linux-firmware 12.61s user 10.47s system 17% cpu 2:12.29 total
I've tried 4-5 times and everytime the package with error is different. I also encountered invalid or corrupted package (PGP signature error).
But in the meantime I noticed that if only one package is installed at a time with pacstrap and pacman then the amount of error is reduced. For example, if I just install the base package with pacstrap, either the error is not coming or if I run the command again, the error disappears.
Even updating the archlinux-keyring doesn't solve this issue.
This problem is still occurring when upgrading the system by pacman after the installation is complete.
Please help me with this issue.
Offline
There's a number of threads about problems with VirtualBox right now. I would suggest the problem is there.
Offline
There's a number of threads about problems with VirtualBox right now. I would suggest the problem is there.
I doubt it. I just installed Arch Linux to my hard disk. I don't use any kind of virtualization. The .iso file was named archlinux-2022.06.01-x86_64.iso I got the base system installed fairly easily. I did modify the instructions just a tad -- instead of installing the kernel and the initramfs files in the EFI partition, I put them in the root partition (inside /boot), and mounted my EFI partition as /boot/efi. I didn't bother to set up another version of GRUB; I have six or seven of those already.
Anyway, once I got the NetworkManager serrvice working correctly, I ran "pacman -Sy gnome". That downloaded 602 packages, roughly 50 of which errored out for "invalid signature -- no key found for xxx", where xxx was the name of one developer or another. After doing some research, I ran this command: "pacman-key --refresh-keys". That took about an hour, and threw several thousand error messages. But after it was done, "pacman -Sy gnome" worked correctly. I said "systemctl enable gdm" and rebooted the system, then logged into gnome as root and used the settings moduele to add myself as a regular user with administrative privileges. Now I have a rudimentary desktop environment workig OK.
I think the keyring included with the .iso file is incomplete. I'm certain that a less experienced Linux user than I would be very frustrated by all the "invalid key" messages. I'll do some digging, and report back in a day or two.
Last edited by davidbryant (2022-06-30 00:53:47)
David Bryant
Canyon Lake, Texas
https://davidcbryant.net
Offline
Your 'invalid signature -- no key found' errors are unrelated to the errors reported in this topic. Please do not hijack threads.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Your 'invalid signature -- no key found' errors are unrelated to the errors reported in this topic. Please do not hijack threads.
Please read the original thread more carefully. arijitacharjee, the original poster, said "'I've tried 4-5 times and everytime the package with error is different. I also encountered invalid or corrupted package (PGP signature error)."
He had more than one problem, including the bad PGP signatures. I guess I could have started another topic, but I thought it made sense to tell arijitacharjee how I fixed the bad PGP signatures problem. That doesn't seem like changing the subject, to me. I'm just trying to help the poor guy. After all, I know for a fact that at least one of his problems is not necessaruly caused by VirtualBox, as Scimmia suggested.
David Bryant
Canyon Lake, Texas
https://davidcbryant.net
Offline
I feel I read the topic more thoroughly than you did yourself. Missing keys are indicative of an outdated keyring, but OP stated that reinstalling archlinux-keyring didn't help, and the errors were intermittent. The symptoms OP was experiencing suggest either hardware or hypervisor issues, and since VirtualBox was (is?) having problems, Scimmias comment seems right on the money.
Don't get me wrong, I don't want to discourage you from participating in topics and helping out others with your own experiences. Just please be careful not to hijack other users threads with your own, even if they seem similar.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline