Skip to main content
Topic: Can't install important applications because of dependency (Read 1211 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Can't install important applications because of dependency

Greetings my brothers
I've came across an incredibly horrible problem that has stunted my ability to use this os, everytime i try to download monero or tor this error comes up
Code: [Select]
doas pacman -S torbrowser-launcher
Code: [Select]
warning: cannot resolve "libsystemd.so=0-64", a dependency of "tor"
warning: cannot resolve "tor", a dependency of "torbrowser-launcher"
:: The following package cannot be upgraded due to unresolvable dependencies:
      torbrowser-launcher

:: Do you want to skip the above package for this upgrade? [y/N]
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libsystemd.so=0-64' required by tor
:: unable to satisfy dependency 'tor' required by torbrowser-launcher
this is a fresh install, is there anything i might've done to cause it and is it fixable without reinstalling?

Re: Can't install important applications because of dependency

Reply #1
I would start by installing "artix-archlinux-support"

Code: [Select]
pacman -S artix-archlinux-support

 


Re: Can't install important applications because of dependency

Reply #4
Hello,What says:
Code: [Select]
cat /etc/pacman.conf
Code: [Select]
#[gremlins]
#Include = /etc/pacman.d/mirrorlist

[system]
Include = /etc/pacman.d/mirrorlist

[world]
Include = /etc/pacman.d/mirrorlist

#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist-arch

[multilib]
Include = /etc/pacman.d/mirrorlist-arch

[extra]
Include = /etc/pacman.d/mirrorlist-arch

[galaxy]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the lib32 repositories as required here.

#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist

[lib32]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

Re: Can't install important applications because of dependency

Reply #5
We don't have systemd. You will need to edit the PKGBUILD and remove the sysd dep


Re: Can't install important applications because of dependency

Reply #7
Code: [Select]
#[gremlins]
#Include = /etc/pacman.d/mirrorlist

[system]
Include = /etc/pacman.d/mirrorlist

[world]
Include = /etc/pacman.d/mirrorlist

#[galaxy-gremlins]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist-arch

[multilib]
Include = /etc/pacman.d/mirrorlist-arch

[extra]
Include = /etc/pacman.d/mirrorlist-arch

[galaxy]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the lib32 repositories as required here.

#[lib32-gremlins]
#Include = /etc/pacman.d/mirrorlist

[lib32]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs


As of June 2021, all Arch repositories are disabled by default. To enable them, install artix-archlinux-support and follow the on-screen instructions to activate the Arch repositories you want, most likely extra, community and multilib, which contain packages not yet in Artix repositories. Again, most important is to order the Arch repositories after the Artix repositories, so Artix repositories take precedence over Arch repositories. Do not enable community alone as it contains packages dependent on others in extra.

Your enabled repos in /etc/pacman.conf can, for example, look like this:
 
Code: [Select]
# Artix
 [system]
 Include = /etc/pacman.d/mirrorlist

 [world]
 Include = /etc/pacman.d/mirrorlist

 [galaxy]
 Include = /etc/pacman.d/mirrorlist

 [lib32]
 Include = /etc/pacman.d/mirrorlist

 # Arch
 [extra]
 Include = /etc/pacman.d/mirrorlist-arch

 [community]
 Include = /etc/pacman.d/mirrorlist-arch

 [multilib]
 Include = /etc/pacman.d/mirrorlist-arch

https://wiki.artixlinux.org/Main/Repositories




Re: Can't install important applications because of dependency

Reply #8
Actually the elogind PKGBUILD shows that it symlinks libelogind to libsystemd so just install elogind and you shouldn't be having this issue (indeed, I can just install this particular application).

Re: Can't install important applications because of dependency

Reply #9
a dirty trick is to install it

Code: [Select]
pacman -Sdd torbrowser-launcher

the functionality it would need from systemd it will automatically find through elogind-libelogind, but the rest of its dependencies you have to install separately, if you are missing them, see pacman -Si tor-browser-launcher for them.  Most likely python-{gpgme,pysocks}



Just don't make a habit of doing so and the problem after the installation will be the annoying message every time pacman -Su runs that a dependency is missing.

Tor-br-launcher is not that essential to have, you can just get tor-browser, and then it updates itself, so you can add it in the ignore list of your pacman.conf.