You are not logged in.

#1 2026-08-01 12:47:44

kosmx
Member
Registered: 2026-08-01
Posts: 2

HOW to set dependency as provided indefinitely

I use archlinux inside containers (primarily lxc/incus), and wine has a new dependency: ntsync-autoload, which itself needs something that provides NTSYNC-MODULE.
Since my host has a kernel that has ntsync, so does the container, and installing linux kernel inside the container wouldn't do much other than taking up space.

pacman has a --nodeps flag when updating/installing packages, but I don't think ignoring dependencies at all is a good idea.

I think the ideal solution would be to have some sort of provided list, dependencies that pacman will take as granted.

Alternatively I can create a custom package that contains nothing, but provides a ton of dependencies.

Is there a pacman config that I can't find, do we have something that solves this problem?

Offline

#2 2026-08-01 12:56:05

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,351

Re: HOW to set dependency as provided indefinitely

man pacman wrote:

--assume-installed <package=version>
Add a virtual package "package" with version "version" to the transaction to satisfy dependencies. This allows disabling the specific dependency checks without affecting all dependency checks. To disable all dependency checking, see the --nodeps option.

something like pacman -S wine --assume-installed ntsync-autoload or pacman -S wine --assume-installed NTSYNC-MODULE should help.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2026-08-01 13:01:17

kosmx
Member
Registered: 2026-08-01
Posts: 2

Re: HOW to set dependency as provided indefinitely

Since it is a transaction option, I assumed it is a one-time thing.

Thank you for your quick reply!

Offline

#4 2026-08-01 13:51:20

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,538

Re: HOW to set dependency as provided indefinitely

# Maintainer: Me <me at here>

pkgname=NTSYNC-MODULE-dummy
pkgver=1
pkgrel=1
pkgdesc="NTSYNC-MODULE dummy"
arch=('any')
license=('GPL')
depends=()
provides=(NTSYNC-MODULE)

Offline

Board footer

Powered by FluxBB