I want to build a package that conflicts with another which is installed, so I want to only build it to test if build without actually installing. Any help?
$ pamac build tightvnc
Preparing...
Cloning tightvnc build files...
Generating tightvnc information...
Checking tightvnc dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
tightvnc 1.3.10-10 AUR
To remove (1):
tigervnc 1.12.0-3 (Conflicts With: tightvnc) community
Total removed size: 6.1 MB
Edit build files : [e]
Apply transaction ? [e/y/N] N
Transaction cancelled.
Hi @Tribble ,
The --dry-run
parameter does exactly that. From the man page:
INSTALL
Install packages from repositories, path or url
pamac install [options] <package(s),group(s)>
[...]
--dry-run, -d
only print what would be done but do not run the transaction
[...]
So try:
pamac build tightvnc --dry-run
Hope this helps!
That doesn’t build anything:
$ pamac build tightvnc --dry-run
Preparing...
Cloning tightvnc build files...
Generating tightvnc information...
Checking tightvnc dependencies...
Resolving dependencies...
Checking inter-conflicts...
To build (1):
tightvnc 1.3.10-10 AUR
To remove (1):
tigervnc 1.12.0-3 (Conflicts With: tightvnc) community
Total removed size: 6.1 MB
Transaction successfully finished.
That’s right. Because, it:
So,
Means everything will be successful when you install it. And that is, after all, what you said you wanted to know:
Edit:
The --dry-run
arguments doesn’t actually do anything, so have you tried answering y
es?
NGr
November 1, 2022, 3:52pm
6
I would use git clone
then makepkg
to build the package but not install it. For more information see:
https://wiki.archlinux.org/title/Arch_User_Repository
On the dry run the confirmation to apply transaction does NOT appear. And if I run normally will uninstall tigervnc.
system
Closed
November 4, 2022, 8:34am
9
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.