Skip Navigation

Search

Arch Linux @lemmy.ml

Implications of removing make dependencies after install with yay

 undefined
    
:: Remove make dependencies after install? [y/N] y

  

If I didn't remove make dependencies, would yay/pacman be smart enough to know the thing I am installing does not actually depend on them? It's a very nice feature of package managers that they track dependencies and can do things like remove "dangling" dependencies and I don't want to mess that up with some random dependencies needed only for a build. But I also don't want to install something every time I need to build lol.

So does yay and/or pacman know that the things I am installing don't actually depend on the make dependencies?


Solution: Keeping the make dependencies after install will not fool pacman and/or yay into thinking the make dependencies are "real" dependencies of whatever you're building from AUR. They both correctly recognize them as orphans (unless of course something else actually depends on them). So feel free to not remove them during install without worrying about dependency graphs gettin

Arch Linux @lemmy.ml

Can't boot into Luks2 + Refind

I installed CachyOS with BTRFS, LUKS2 , REFIND.

After successful installation I'm not seeing any prompt for password nor the linux boot entry on refind.

Note: I didn't do any lvm or raid.

What should I do?

Solved

I just forgot to create a boot partition ๐Ÿ˜ฎโ€๐Ÿ’จ

Arch Linux @lemmy.ml

Can I delete BTRFS snapshots from middle?

Let's say i made 10 snapshots on top of the base.

Now can i delete snap no. 5? Will the snaps after 5 will be affected?

Solved

Yes, one can delete consecutive snapshots. The data won't be deleted unless all snaps ( reference points ) get deleted.

Note: If you delete the original file and delete all the snapshots made when the file is still there, the file will get deleted permanently.

Arch Linux @lemmy.ml

ProtonVPN on Arch Linux (CachyOS) ?

How to install ProtonVPN in Arch Linux (CachyOS) ?

Should I follow https://wiki.archlinux.org/title/ProtonVPN ?

OR

from flathub https://flathub.org/apps/com.protonvpn.www ?

This flatpak has Unverified tag, but according to this, this flatpak is safe.

Which one should I follow ?

Asking this because I'm because I'm a bit lazy to configure OpenVPN and all that stuff. (pls don't kill me :)

Also do you think using VPN from flatpak is a good idea?

Arch Linux @lemmy.ml

Cannot create local repository .db file with repo-add

Hello! I've got a new Arch install that I'm in the process of setting up, however I wanted to do things differently this time around for the goal of getting this system as stable as possible without sacrificing features. So, the AUR...

I've used yay extensively and paru briefly before, but this time to achieve that goal I wanted to try aurutils with a local repository. I'm in the process of setting that up and using the command: repo-add aur-local.db.tar which gives the output: ==> No changes made to package database.

In all the guides I've gotten open in all these tabs, the output I should be getting starts with this: ==> Creating updated database file...

When I run the command, for a microsecond I get a file appear in Thunar but then disappears. Running pacman -Syy fails as the repo's database file obviously doesn't exist. No matter what I search I can't find anyone else with this problem nor a solution.

My system is a manual Arch installation, no archinstall, usi

Arch Linux @lemmy.ml

How to know why a package is being updated/installed

Hey, sometimes when I do pacman -Syu, I see some weird package being installed and I am curious which explicitly installed package is installing/updating it.

How do I so with pacman?

I know we can easily find out why an installed package is being installed, but what about before the package is being installed?

Arch Linux @lemmy.ml

Is /usr/bin/sudo supposed to be empty?

So I just fixed my Arch KDE install this morning (I broke plasma after an update) and now I have an issue with sudo. It simply doesn't do anything when I use it manually in the terminal and when I use yay, it gives an exec format error for the sudo file. After checking on the file using both the file command and kate. Both say that the file is empty. Is that supposed to be the case? If not, how do I fix it?

Arch Linux @lemmy.ml

Grub shows up in boot options but won't boot

First time arch installer here. I just installed arch with grub on a uefi laptop. Everything seemed fine until I rebooted and ended up in uefi settings instead of grub. The grub entry shows up in the boot options but the computer doesn't seem to care. What could be wrong?

I dont know what information is useful to narrow the problem down so just tell me what logs are necessary an I'll post them.

Edit: I tried installing using the archinstall script in case I misunderstood the install instructions, but still not booting. Tried both grub and systemd-boot. The laptop is an Asus vivobook S 14 model K3402Z and even though I have been running fedora on it for the last year I believe the issues have something to do with the laptop hardware.

Edit 2: The issue has been resolved. Turns out the step that ruined the install was when I formatted the NVME drive according to this section of the wiki it messed something up,

Arch Linux @lemmy.ml

Creating identical keyfiles returns different hashes?

Solved, see below.

I recently reinstalled my home server and was unable to open my LUKS-encrypted hard drive. Neither my usual passphrase nor a newly created keyfile were working. I tested on different distros, initially on my new Proxmox installation, later on a the Arch ISO. I eventually tried the disk on my main system, on which it used to be and I still had an old keyfile on - et voilรก. So I created keyfiles as suggested in the wiki and occasionally md5sum returned a different hash for the keyfile! Why is this happening? I find' this extremely concerning because this could potentially result in massive data loss due to a keyfile apparently randomly not working as I was experiencing it. What am I missing?

For reference because I don't know how to share what I exactly did.

Scenario #1:
A directory on a mounted hard drive on my desktop.

 undefined
    
$ echo -n '$mypassphrase' > ./dir/keyfile
$ md5sum ./dir/keyf
  
Arch Linux @lemmy.ml

Anyone else seeing duplicate audio devices when Bluetooth disconnects and reconnects?

So I have been running into a weird issue lately where if I disconnect a Bluetooth audio device, it will remain visible in the KDE audio mixer. Reconnecting the audio device then adds a duplicate entry and the keyboard volume control for it is completely broken. It stays at the same volume. This was working just fine about a week ago and I've already downgraded pipewire, kpipewire, bluedevil, and plasma-pa to no avail. Nothing shows up in the logs, so I don't know exactly what's causing this bug.

Anyone else experiencing the same thing?

Arch Linux Kernel 6.4.8-arch1-1 Pipewire 0.3.77-1 KDE Plasma: 5.27.7 KDE Frameworks Version: 5.108.0 Qt 5.15.10

EDIT: Seems like simply changing the Bluetooth A2DP audio profile causes this issue as well. I have Bluetooth earbuds that have both AAC and SBC modes and toggling between them just creates more and more duplicate devices with the same name.

THE FIX: Seems like pipewire-pulse 0.3.77 was the culprit after all. Downgrade it to pipe

Arch Linux @lemmy.ml

Randomly stuck at "Reboot: Power Down"

Update 02/2024

The Problem has been solved by disabling TPM in UEFI Setup. TPM seems to be bugged with some CPUs. Before updating the BIOS, TPM was probably disabled by vendor, hence it didn't appear initially.

If you experience freezes right before poweroff, try disabling TPM in UEFI/BIOS settings if it isn't in use.

Symptoms

  • Complete Freeze after:
 undefined
    
preparing to enter ACPI S5 state
Reboot: Power Down


  
  • seemlingly random (can successfully shutdown maybe 10 times in a row, then suddenly freezes again)
  • seems to happen more often as uptime grows
  • Case Fans still spin, LEDs and Lights stay on
  • Monitors stay on, still react to HDMI/DP Hotplugging (unplug/plug)
  • REISUB/REISUO doesn't work
  • Disks are already powered off and disconnected
  • USB devices (eg. keyboard unresponsive)

Since When

  • After switching to Arch and flashing BIOS Firmware 7C88v18 to MSI B460M-A Pro Board
  • Arch Linux is ruled out by me since it's very unlikely Userland plays a role, and already
Arch Linux @lemmy.ml

Help with wifi after general issue in my building

Hey everyone. So Last night there was a general problem with my building's network connectivity. This morning my landlord let me know it was fixed, which it was. I verified this from my mobile phone as well as the laptop I am using right now to write this post. However on my fairly new and hence barebones desktop running arch, I simply cant get NetworkManager to connect or even in some cases see any wifi networks.

This morning, it would occasionally show me the available networks, I would try to connect to my one which would work, but I would for all intents and purposes not have internet until a few minutes later the connection would drop. Now it doesn't even show any available networks.

Below are the outputs of some commands I thought would be useful. Of course it's probably not a comprehensive list so please do ask if you would like me to run and show the output of another command, just know I need to redirect it to a file and then transfer it here with a usb so its a bit tedious.

Arch Linux @lemmy.ml

Assistance with Bluetooth

EDIT: Poor troubleshooting on my part. I missed the part in the dmesg about missing the firmware. I installed the firmware through AUR and everything works as it should. I need to be better than this .....

Okay, so I am ready to tear my hair out over this one. I've followed the Arch wiki to the letter and none of my devices are being discovered. The dmesg command shows my internal bluetooth adapter and blueberry recognizes the adapter. What gives? I don't know where to go to troubleshoot from here. Any ideas are welcome.

Arch Linux @lemmy.ml

Pacman slow download speed

Hello everyone!

I'm experiencing troubles when installing and updating dependencies via pacman, download speed is waaay too low like 30-40 kb/s. I've tried reflector and rank-mirors, I even moved mirrors from another machine where everything works well but nothing helped.

As far as I can tell it's not a slow internet connection problem, because when I download torrents the speed is good (up to 7 megabytes per second).

How can I troubleshoot this?

Thanks!

Arch Linux @lemmy.ml

Anyone else getting DNS leaks when running VPN on Archlinux?

I tried both Mullvad and Mozilla VPN and when I do a dns test, both are still using my ISP's DNS instead of the VPN's. This only happens on my Arch systems, works fine on my phone.

EDIT: Turns out these VPN clients depend on systemd-resolved in order to change your DNS. Enabling the service makes it work properly. A bit scary that they don't give you a warning that you're leaking DNS if you don't have systemd-resolved enabled.