Pacman is a simple library-based package manager used in some Linux distributions, e.g. Arch Linux.
Questions tagged [pacman-package-manager]
127 questions
1
vote
2 answers
Pacman transaction error
Today I installed Arch Linux onto my Raspberry Pi and as one of my first steps I tried to install some new packages. However, I always get the same error if I try to install a package:
error: failed to commit transaction (wrong or NULL argument…

Phidelux
- 2,043
- 1
- 32
- 50
1
vote
3 answers
running an installation command in bash: "n" followed by "Y" without any manual intervention
So on a fresh instance of arch linux, I want to be able to install tzdata from the get-go.
To do so manually, I do this:-
[root@myarch ~]# pacman -S tzdata
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the…

Calvin Cheng
- 35,640
- 39
- 116
- 167
0
votes
1 answer
unable to compile pacman(ArchLinux package manager) in ubuntu
I have tried to do the Offline Installation as described in the ArchLinux wiki, but it did not worked out as i have mentioned in the thread https://stackoverflow.com/posts/comments/12588344. Hence i have planned to compile the pacman in a machine…

Talespin_Kit
- 20,830
- 29
- 89
- 135
0
votes
0 answers
How to fix pacman error about /etc being to full?
I am trying to install redis with pacman in steam deck desktop mode and I get the following
error: Partition /etc too full: 11891 blocks needed, 750 blocks free
Here is the ouput of df -h

Lampros Tampourlos
- 68
- 1
- 8
0
votes
1 answer
I got a conflicting files error message from pacman
failed to commit transaction (conflicting files)
/usr/lib/python3.11/site-packages/tests/init.py exists in both 'python-lsassy' and 'python-dsinternals'
/usr/lib/python3.11/site-packages/tests/pycache/init.cpython-311.opt-1.pyc exists in both…
0
votes
3 answers
Deleting multiline variable content from a file
I am trying to write a Bash script handling Pacman repositories in /etc/pacman.conf usable within a script without depending on the user interaction required by a text editor.
I am having troubles figuring out the remove-option. How do I delete…

herrfleischladen
- 3
- 2
0
votes
1 answer
PGP key issue while trying to install mysql2 in rails project
I am trying to locally install all the gems for a rails project.
I have an issue with mysql2. When I try to install it, I have the following error:
Fetching mysql2-0.5.5.gem
Temporarily enhancing PATH for MSYS/MINGW...
Installing required msys2…

Quentin S.
- 328
- 2
- 16
0
votes
0 answers
Cmake Error on Manjaro: CMake Error: Could not find CMAKE_ROOT
I'm getting this error on Manjaro when trying to run cmake .. in a folder:
CMake Error: Could not find CMAKE_ROOT !!!
CMake has most likely not been installed correctly.
Modules directory not found in
cmake version 3.25.2
CMake suite maintained…

Occlusion
- 11
- 1
0
votes
0 answers
postgresql command not working; Error: invalid option '-o'
I am trying to fix this previous error when I am unable to find the PostgreSQL client library, however, when I run the suggested command:
ridk exec sh -c "pacman -S ${MINGW_PACKAGE_PREFIX}-postgresql"
I get this error. Not sure how to fix, any help…
0
votes
0 answers
Python2 required as dependencie but already installed
First of all, sorry for my english and sorry for taking your time, I'm pretty sure the answers are online but it seems like I can't find the right keywords for this issue.
The problem: Python2 is installed but still asked as a dependency for every…

tibi
- 1
- 1
0
votes
1 answer
downgrade java version on archlinux
I have just updated java on my archlinux server and now it mess up my tomcat projects.
I want to downgrade java from 11.0.17.u1 to 11.0.13.u8
I looked at my var/cache/pacman/pkg folder and it seems like my old package are still…

rilent
- 659
- 1
- 6
- 22
0
votes
1 answer
Install matplotlib for Python with MSYS MinGW 64
I want to install matplotlib for Python using MSYS MinGW x64.
The command
$ pacman -S mingw-w64-x86_64-python-matplotlib
had failed previously. Then I made some changes, and now I want to try the above command again, but I only get these error…

user172501
- 332
- 2
- 11
0
votes
0 answers
Reversed patch detected: Skipping patch error in build process
When trying to build Macaulay2, in the process I got the following error:
patching file M2/Macaulay2/e/monoid.cpp
Reversed (or previously applied) patch detected! Skipping patch.
What does this mean? And how do I resolve this?

fish_monster
- 103
- 4
0
votes
1 answer
i am trying to run the command "pacman -Syu" on "msys2" and it doesn't work
I just installed the window64 version of msys2 and I try to update the package database and base packages running the "pacman -Syu" command.
I get this error :
$ pacman -Syu
:: Synchronizing package databases...
mingw32.db failed to download
…

Matthieu
- 1
- 1
0
votes
1 answer
MSYS2 makepkg PKGBUILD with meson - which directory is used in package()?
In MSYS2, there is already a package for tio, version 1.32; this package is built through a PKGBUILD file, which can be seen here:
https://github.com/msys2/MSYS2-packages/blob/e40c908/tio/PKGBUILD
I wanted to build the latest version of tio, which…

sdbbs
- 4,270
- 5
- 32
- 87