You are not logged in.
Pages: 1
I've just installed fresh copy of Archlinux with archinstall script. Minimal install with Networkmanager on Btrfs. After login I tried to install Xorg
sudo pacman -S xorg
. It fails with segmentation fault. If I run
sudo pacman -S xorg-server
it installs without error. If I try to install anything larger like plasma or gnome it also fails. On the other hand if I install for example openbox it works! Is there any other necessary step after archinstall script? What am I missing?
I've installed Archlinux many times before without issue.
Offline
Fails how? Have you brought pacmans database up to date?
pacman -Syu
You aren't partially updating?
What is the output of
pacman --version
You are using sudo. Have you configured your sudoers file?
How old is the install media that you are using?
You'll need to give some info if you want help.
Offline
Database is up to date. As I wrote it's a fresh install, first boot. Pacman version is 6.0.2, sudoers file is configured properly. Installation media label says: ARCH_202305
sudo pacman -S rxvt-unicode
works fine
sudo pacman -S gnome
fails with segmentation fault.
Every large piece of software fails to install, small things like openbox, rxvt-unicode ... I can install without a problem.
Offline
If the failure occurs depending on the installed file's size, I'd bet that your RAM is faulty. You should run a memtest.
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
If the failure occurs depending on the installed file's size, I'd bet that your RAM is faulty. You should run a memtest.
Negative, tried the installation on a different laptop and I have the same problem.
Offline
Is the issue during the download or other installation stages? If the former, can you download the package files with curl outside of pacman? If the latter, can you confirm the segfault happens when installing a local package file(e.g., with `pacman -U /path/to/large-package.pkg.tar.xz`)?
In any of the above cases, a strace of the crashing pacman process may be helpful. Also checking `coredumpctl debug` or similar methods to show the backtrace would be good.
EDIT: actually prior to all this - confirm that it is actually pacman that is segfaulting and not some post-install hook or other spawned process.
Last edited by Trilby (2023-06-04 13:43:45)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
EDIT: actually prior to all this - confirm that it is actually pacman that is segfaulting and not some post-install hook or other spawned process.
IOW: Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
So, I've found a culprit. It's the localization problem. If I set my locales to sl_SI.UTF-8 I get the error when installing packages like plasma or gnome or firefox. If I set locale to any other language it works without a problem.
Offline
I get the error
What error is that? Previously you said it was a segmentation fault. Is it from pacman or from a hook? I'm doubling down now on the later as it is likely some crappy hook (and I might even extend a wager to suspect it's an AUR-provided hook) that's dependent on the locale.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Known issue with the locale (and the package group selection dialog from memory...) Been fixed upstream for years. Never been asked for a backport.
Offline
Pages: 1