Questions tagged [pacman-package-manager]

Pacman is a simple library-based package manager used in some Linux distributions, e.g. Arch Linux.

127 questions
2
votes
3 answers

pip 2 & 3 Syntax change

I use an arch-linux system and just installed pip via yaourt. yaurt -S pip Then I tried to install something via pip for python 3. But I get an error like this: pip install requests install: missing destination file operand after ‘requests’ Try…
Rafael T
  • 15,401
  • 15
  • 83
  • 144
2
votes
2 answers

How to interpret user input as a variable name?

This one is kind of hard to explain. Consider variables all, first, last, and some: a="apple mcintosh" b="banana plantain" c="coconut cashew" all="$a $b $c" first="$a" last=$c" some="$a $c" Here is what I have: echo "What do you want to…
octosquidopus
  • 3,517
  • 8
  • 35
  • 53
1
vote
0 answers

Unable to download package in msys2 - fail to connect to mirror, server

$ pacman -Syu :: Synchronizing package databases... clangarm64.db failed to download mingw32.db failed to download mingw64.db failed to download ucrt64.db failed to download clang32.db failed to download error: failed retrieving file…
Lynn
  • 11
  • 1
1
vote
0 answers

How to install mingw-w64-x86_64-cmake at Ubuntu

Per this URL, https://packages.msys2.org/package/mingw-w64-x86_64-cmake, I use the command as follows to install mingw-w64-x86_64-cmake. It complains Unable to locate package mingw-w64-x86_64-cmake sudo pacman -S mingw-w64-x86_64-cmake Reading…
user20208419
  • 121
  • 1
  • 11
1
vote
2 answers

How to resolve the gstreamer dependencies in arch linux

Today I tried to install wine to be able to install roblox for my child, the problem is that after I unchecked multilib from /etc/pacman.conf , I keep getting the following error: failed to prepare transaction (could not satisfy dependencies) ::…
1
vote
1 answer

Postgresql is not being found within my vala project

So I have a project but it is using Vala, it has been so hard finding much within the community but making it through. I have this one project, may be simple but I am find it to be dragging for a long time now. How do I connect to Postgresql? I ran…
NJAS
  • 53
  • 5
1
vote
0 answers

Gem::Ext::BuildError: ERROR: Failed to build gem native extension - rbnacl-libsodium 1.0.16

I was trying bundle install and my gem file has gem 'rbnacl-libsodium' it took some time for installation and got failed. Using rbnacl 4.0.2 Fetching rbnacl-libsodium 1.0.16 Installing rbnacl-libsodium 1.0.16 with native…
1
vote
1 answer

Flutter : /opt/..../FETCH_HEAD exists in filesystem Arch

While I'm updating and installing some packages on Arch Linux: sudo pacman -Syu && sudo pacman -S --needed \ webkit2gtk \ base-devel \ curl \ wget \... I got following error: error: failed to commit transaction (conflicting files) flutter:…
Adarsh Raj
  • 325
  • 4
  • 17
1
vote
1 answer

How can I properly configure the g++ include path with mingw64?

I have installed msys2/mingw64 because I need the g++ compiler. Now, I want to compile some c++ oce which requires openblas. I have installed the package using pacman -S mingw-w64-x86_64-openblas. However, compiling the code fails with fatal error:…
HerpDerpington
  • 3,751
  • 4
  • 27
  • 43
1
vote
1 answer

Where are pacman package databases downloaded from?

When updating your system on archlinux with pacman -Suy, pacman gets package databases from somewhere and then downloads packages from mirrors according to versions specified in these databases. I know these databases are in /var/lib/pacman/sync/.…
Antoni
  • 356
  • 5
  • 17
1
vote
0 answers

How to handle additional files when building and running a AUR package?

So I was just playing around and created this simple Shell script: TestScript.sh #!/bin/bash read -p "read or write? " INP if [[ "${INP}" == "write" ]] then read -p "Write your text: " TEXT touch /usr/share/textfile.txt echo "${TEXT}"…
Camonophy
  • 85
  • 4
1
vote
0 answers

ERROR: opus not found using pkg-config in msys64 on Windows

I'm trying to build ffmpeg. I downloaded msys2 x64 from the official website. This is the latest version. Executed "pacman-Syu", rebooted msys and executed "pacman-Su". In your file build_ffmpeg_win.sh ffmpeg installs the following packages using…
1
vote
0 answers

bash: /usr/bin/autoreconf: /usr/bin/perl: bad interpreter: No such file or directory

I am trying to compile some software in Windows using MSYS2 mingw64.exe terminal. On running the autoreconf -i command, I get the error: -bash: /usr/bin/autoreconf: /usr/bin/perl: bad interpreter: No such file or directory ls /usr/bin/ doesn't show…
test
  • 105
  • 2
  • 8
1
vote
1 answer

What does "readelf error: LEB value too large" mean?

What exactly does mean this error and what can cause it? readelf: Error: LEB value too large What LEB stands for? Lower(st) estimated bound(ary)? I have seen it many times, in particular when building Archlinux packages.
1
vote
2 answers

What's the difference between Python built by MSC and Python built by GCC?

I'm a Windows user. I used to install the official CPython from python.org. But recently I tried the mingw-w64-x86_64-python offered by MSYS2. The two interpreters show different banners at launch: python.org: Python 3.8.3 (tags/v3.8.3:6f8c832, May…
271828
  • 27
  • 4
1 2 3
8 9