Arch Linux

7763 readers
8 users here now

The beloved lightweight distro

founded 4 years ago
MODERATORS
76
 
 

So I was wondering, is there a place you can make the --debug flag output to or if there was a default location besides the terminal itself?

Like the title says pacman -Syu is occasionally hard locking the computer forcing a power cycle. After restarting the computer the update will go fine after deleting the archives that are corrupted from the failed update.

It always hangs in the :: Running post-transaction hooks... part of the update. This time it hung specifically on the ( 3/19) Reloading system manager configuration...

I have tried to redirect the debug output like: pacman -Syu --debug >> ~/Desktop/pacdebug.txt but it seems that I only get the standard upgrade output.

Is there some other tool or steps I can use to investigate this?

This has been happening since I upgraded to KDE 6 but I don't think it's directly related to KDE it's just when it started.

Thanks!

~~Update for future peoples:~~

~~At this point I'm relatively sure that I had broken my kernel. I switched to a different kernel and the pacman freezing has stopped. Still testing but so far I'm pretty confident that was the issue as it has been several days without issue.~~

~~To future peoples that might be having a similar issue try a different kernel and if the issue is resolved, remove the broken kernel + kernel headers and reinstall it.~~

77
26
submitted 8 months ago* (last edited 8 months ago) by BaalInvoker@lemmy.eco.br to c/archlinux@lemmy.ml
 
 

# pacman -Syyu

78
 
 

I'm running Garuda. My laptop screen is on its very last legs. I have an external monitor that connects via USB-C. It has a Display Port connection, but the laptop itself does not. I'm using HDMI to connect to a larger display, but not having two monitors available is driving me insane. I know that the firmware supports display over USB-C, since it has worked before on previous distros and on Windows. My issue is that I can't get the system to recognize the display, and I'm not sure where to start troubleshooting.

I can post whatever dumps etc. if asked, but here's a neofetch screenshot screenshot for starters:

Are there packages I need to install? Drivers? I'm clueless and would really appreciate a starting point at the least. The last thing I need is a broken system because I'd have to use the (almost) entirely broken laptop screen to attempt a reinstall/change the BIOS.

79
 
 
while true; do; sudo pacman -Syu --noconfirm; done
80
 
 

in last week's email to the reproducible-builds email list1 about reproducible Arch Linux I mentioned there's only one unreproducible package left in docker.io/library/archlinux.

Due to amazing work by dvzrv and Foxboron this package is now also reproducible!

INFO arch_repro_status > All packages are reproducible!

INFO arch_repro_status > Your system is 100.00% reproducible.

To try for yourself use:

podman run --rm -t archlinux sh -c 'pacman -Suy arch-repro-status 
--noconfirm && arch-repro-status'
81
 
 

Well I did, wanted the git version so uninstalled ncurses to then blissfully install ncurses-git and low and behold my system shat.

Pacstraps my hero

82
 
 
                   -`
                  .o+`
                 `ooo/
                `+oooo:
               `+oooooo:
               -+oooooo+:
             `/:-:++oooo+:
            `/++++/+++++++:
           `/++++++++++++++:
          `/+++ooooooooooooo/`
         ./ooosssso++osssssso+`
        .oossssso-````/ossssss+`
       -osssssso.      :ssssssso.
      :osssssss/        osssso+++.
     /ossssssss/        +ssssooo/-
   `/ossssso+/:-        -:/+osssso+-
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/
 .`                                 `

Full of totally useful stuff. I recommend checking it out.

83
84
 
 

With the release of mkinitcpio v38, several hooks previously provided by Arch packages have been moved to the mkinitcpio upstream project. The hooks are: systemd, udev, encrypt, sd-encrypt, lvm2 and mdadm_udev.

To ensure no breakage of users' setup occurs, temporary conflicts have been introduced into the respective packages to prevent installing packages that are no longer compatible.

The following packages needs to be upgraded together:

  • mkinitcpio 38-3
  • systemd 255.4-2
  • lvm2 2.03.23-3
  • mdadm 4.3-2
  • cryptsetup 2.7.0-3

Please note that the mkinitcpio flag --microcode, and the microcode option in the preset files, has been deprecated in favour of a new microcode hook. This also allows you to drop the microcode initrd lines from your boot configuration as they are now packed together with the main initramfs image.

85
 
 

Instead of nuking a partition and starting from scratch, is there a saner way to clean the system and slim it down?

Im resorting to listing explicitly installed packages and trying to write down what catches my eye that i dont use, or i wanted to try then forgot.

86
87
 
 

cross-posted from: https://programming.dev/post/10657765

I made a replacement for the venerable paccheck. It checks if files managed by the package manger have changed and if so reports that back to the user. Unlike paccheck it is cross distro (supports Debian too and could be further extended), and it uses all your CPU cores to be as fast as possible.

Oh and it is written in Rust (that may be a plus or minus depending on your opinion, but it wouldn't have happened at all in any language except Rust, and Rust makes it very easy to add this sort of parallelism).

There are more details (including benchmarks) in the readme on github. Maybe it is useful to some of you.

(The main goal of this project is not actually the program produced so far, but to continue building this into a library. I have a larger project in the planning phase that needs this (in library form) as part of it.)

88
28
submitted 9 months ago* (last edited 9 months ago) by ggnoredo@lemm.ee to c/archlinux@lemmy.ml
 
 

Hi,

I'm trying to use my 7.1 surround system on Arch Linux PC with pipewire. Currently 1 DP connected to the main monitor and 1 HDMI connected to the 7.1 sound system. Sound system has 4 HDMI IN and 1 HDMI OUT to the TV. First issue is without activating second monitor I can't output any sound. Second issue is sound is always 2 channel. There are no other options on pavucontrol app. What i'm trying to achieve is

  1. Using only main monitor and outputting sound through HDMI to sound system

~~2. Outputting both video and sound through HDMI, which is working but only on 2 channels.~~

Thanks in advance

EDIT:

silly me, I changed HDMI cable and it detected all possible audio outputs including PCM 7.1

89
 
 

Hi, I've been having a bizarre issue with my keyboard input recently and I can't seem to find a lead on what might be causing it.

Basically what's happening is I press Shift+Space, then in some programs, my keyboard layout is slightly changed. This happens in Firefox, Discord, and other electron apps as well. This did not happen in any system interface (KDE) or in Steam. It is also exclusive to the window that I pressed Shift+Space in.

On top of changing my layout, Shift+Space on its own no longer produces a space as I'd expect. Some key changes:

  • n > $
  • b > @
  • y > #
  • t > &
  • , > n
  • . > y

Holding shift on these gives new characters too, as if it were a different keyboard layout.

In the KDE settings, I don't see anything indicating that I have multiple keyboard layouts, and from what I could find, I don't have Shift+Space mapped to anything in any program, but this keyboard shortcut with this weird behavior still appeared from seemingly nowhere.

I have also tried using xmodmap per this forum post, but didn't seem to change anything. https://forum.manjaro.org/t/shift-space-doesnt-work/103703/10

I've had a hard time finding anything on this since searching this key combo gives a ton of garbage results. The closest thing I could find to what I'm experiencing was some issue people were having with Samsung DeX.

Does anyone have any ideas on where this unexpected keyboard shortcut could have come from?

Edit: I tried changing my keyboard layout to dvorak just for the hell of it, and it still behaves in the same way, when I press n, which is b on the dvorak layout, I get an @. So it isn't my keyboard either.

I also noticed that it only appears to happen when I am editing text, since the shift+space combo to page up in Firefox still works when I'm not editing text.

90
 
 

I feel my system is perpetually bloated, and try to maintain what applications I have installed but always seem to veer off into new applications or python modules and what ever else.

Just wondering how does one keep a lean daily use system?

91
 
 

MR: https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/merge_requests/1

An issue: https://gitlab.archlinux.org/pacman/pacman/-/issues/91

To find your already installed debug packages:

pacman -Q | grep -e '-debug '

This debug packages usually huge, I noticed this accidentally, and I haven't found a news about this on archlinux.org

To solve this add a ! before debug on line 97 in /etc/makepkg.conf

92
 
 

There's a few packages that I use that I have created personal patches for. When one of these packages gets updated I need to manually change the PKGBUILD to the new version, SHA, etc. Is there any way to have a local patch applied to a package every time a new version of the package is release?

93
 
 
94
 
 

I've started looking at Ansible to manage all the laptops, VMs, SBCs that I have running Arch Got the ol' pacman installs / updates working fine, but I'm having some problems understanding how to setup AUR to install some of those packages.

Main issue is where Ansible is basically doing everything as root, and AUR helpers don't want to run as root, so ok, create a 2nd non-root user first...

But even installing an AUR helper (yay) brings problems:

I can setup a folder in /tmp/aur , I can git clone the yay package, but then I have no idea how to run makepkg or then yay as that non-root user.

Does anyone have this already figured out?

Or... am I going about this the wrong way?

95
 
 

There are answers for disabling ipv6 is it possible to force ipv6 instead?

already using https://archlinux.org/mirrorlist/ to select ipv6-capable mirrors

96
 
 

https://github.com/anatol/booster

Does this give any real world value for boot times or anything else?

I have no possibility to test this in VM so that's why I'm asking if anybody has actually tried this and found benefits.

97
 
 

I currently run Arch with the Cinnamon DE. I installed the Linux Mint themes, backgrounds, and artwork, and now, I'd like to get the community's suggestions on other non-Mint themes that I should install just for fun.

98
 
 

In my case, there are 95 packages that depend on zlib, so removing it is absolutely the last thing you want to do. Fortunately though, GPT also suggested refreshing the gpg keys, which did solve the update problem I was having.

You gotta be careful with that psycho!

99
 
 

Had to install Arch recently because it would help pad word count. Normally I wouldn't pick it because it takes so long to install for an experience that doesn't feel different enough to warrant that time. But I had to for uni so I thought people here might appreciate my attempt at making a pretty desktop. If anyone has tips with Gnome on here feel free to fire away aswell.

100
view more: ‹ prev next ›