Skip to main content

Questions tagged [pacman]

A Linux package manager, originally developed for the Arch Linux distribution.

91 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
6k views

Convert pacman package to deb or rpm?

Given a pacman package (.pkg.tar.xz), is there a tool to convert it to a deb or rpm package? In other words, I'm looking for an equivalent to alien. So far, I got the impression that such a tool does ...
Philipp Claßen's user avatar
5 votes
0 answers
3k views

Configure connection timeout of pacman full system upgrade

Is there a way to set the timeout which pacman uses to establish connections to repository servers? My ISP (university) has blocked several Arch Linux (I use Manjaro) AUR and a few community servers. ...
Ananya B's user avatar
4 votes
0 answers
862 views

Any way to run all hooks in pacman?

Is there any way to tell pacman (Arch Linux) to just run all post-transaction hooks, as if it had just done a full system upgrade, but without installing any packages? I just tried to do a full ...
Time4Tea's user avatar
  • 2,434
4 votes
0 answers
1k views

pacman -Syu - too many packages to upgrade

I run sudo pacman -Syu every day on Manjaro GNU/Linux, most of the times there are only a few or no packages to update, but like every ~7 days, it may prompts to update hundreds (~500) of packages, ...
Teddy C's user avatar
  • 477
4 votes
0 answers
6k views

Pacman error: could not open file: /etc/mtab: No such file or directory

I am having trouble with installing packages with pacman Firstly updating pacman with pacman -Syu updates correctly with no issues, however when attempting to install sudo with pacman -S sudo ...
CybeX's user avatar
  • 306
3 votes
2 answers
3k views

How do I downgrade a whole group of packages with pacman?

I need an old version of qt5 for anki. (qt5-5.7) Therefore I would like to downgrade all qt5-packages (the whole group). Is there a way to do this with pacman?
linuscl's user avatar
  • 552
3 votes
1 answer
911 views

Pacman(Arch linux) on LFS

Is it possible to have a package manager(in my case pacman) on LFS? Not just compiling it will it work?
compiler's user avatar
  • 361
3 votes
1 answer
497 views

How to restrict access to an Arch package repository?

I have created a custom package repository for Arch Linux that holds packages that for various proprietary licensing reasons cannot be shared widely. Ideally I would like to make the repository ...
StrongBad's user avatar
  • 5,341
2 votes
1 answer
1k views

Incorrect virtualbox (kernel) installed for Manjaro/Arch/pacman

I did a bad virtualbox installation on 4.19.2-1-MANJARO with pacman. This is my initial install stdout: [gloom@tacos-pc etc]$ sudo pacman -S virtualbox error: could not register 'multilib' ...
gloomy.penguin's user avatar
2 votes
1 answer
788 views

System updates in arch linux with /boot in separate partition?

Sometimes, certain packages updating in Arch Linux will edit certain files in the /boot directory. For example: $ sudo pacman -S linux ... ==> Creating gzip-compressed initcpio image: /boot/...
owen's user avatar
  • 139
2 votes
0 answers
741 views

How can long NoExtract in pacman.conf be written shorter still human readable?

In the need for an Arch Linux system minimal on disk space, I did NoExtract include lots of usr/lib/modules ... /drivers/ for hardware the machine will never use. An example from pacman.conf: ...
Pro Backup's user avatar
  • 5,014
2 votes
0 answers
834 views

Frequent time outs with pacman

I've been noticing that I get timeouts when using pacman. Often. mike@longshot:~☺ sudo pacman -Syu [sudo] password for root: :: Synchronizing package databases... error: failed retrieving file '...
mikewilliamson's user avatar
2 votes
1 answer
2k views

Install 32 Bit Application on 64 Bit Arch Linux

I have an ancient openoffice plugin which requires the 32bit version of openoffice/libreoffice and does not work with the 64 bit version. So I would like to know, if there is any way to install the ...
JepZ's user avatar
  • 129
2 votes
0 answers
143 views

Why does pacman stop when I freeze the output with ctrl+s

I sometimes use ctrl+s to send an XOFF signal to freeze the output of a program without stopping the program itself. However, pacman, unlike most other programs, stops as if you had pressed ctrl+z. It ...
Zaz's user avatar
  • 2,627
2 votes
1 answer
437 views

Pacman add-repo error, is not a package file

I'm using archlinuxarm, armv7h architecture I'm trying to use add-repo but it gives me the following error: $ repo-add test.db.tar.gz dep/python2-numpy-1.9.2-2-armv7h.pkg.tar.xz ==> ERROR: 'dep/...
Amir's user avatar
  • 141
2 votes
0 answers
3k views

Reinstall Arch Linux without losing downloaded packages

I was installing Arch Linux when the Internet went down. I was unable to download all the required packages. Over 70% of packages were downloaded. I'm trying to reinstall it with the command: ...
noslin005's user avatar
  • 311
1 vote
1 answer
267 views

50-udev-default.rules: Unknown builtin command: net_driver, lost internet connection

I'm running an Arch-based distro, and after doing a substantial update lost my internet connection (both wifi and ethernet). I'm able to roll back all of the changes and get it back, but would ...
The Renaissance's user avatar
1 vote
1 answer
234 views

delete a package/app installed with pacman -U option

I have installed a docker desktop application on my Arch Linux xfce4 and I want to delete it because I want to only use docker-cli (because the docker desktop conflicts with docker-cli in services and ...
T-NeX's user avatar
  • 11
1 vote
0 answers
302 views

arch pacman insists on wrong kernel version

Output from uname -a Linux janus 5.15.85-1-lts #1 SMP Thu, 22 Dec 2022 06:22:00 +0000 x86_64 GNU/Linux When I build zfs-liunx I get: checking kernel source and build directories... done checking ...
theking2's user avatar
  • 231
1 vote
0 answers
86 views

Can I safely remove this blackarch file?

I have added blackarch repository to my Arch Linux installation. But after some time I deleted that repository with the help of this question. But then I find out that there is still some blackarch ...
manungsa's user avatar
1 vote
0 answers
140 views

fatal: unable to exec /etc/s6/current/scripts/rc.init: no such file or directory

During the update, my computer turned off. After the reboot, I tried to restore the download of pacman packages (pacman successfully updated everything). I reboot my computer but it couldn't boot. I ...
weqekw's user avatar
  • 11
1 vote
1 answer
64 views

How to delete indirectly self-dependent package

I want to remove the package for the /usr/bin/jupyter binary. Consequently: $ pacman -Qo /usr/bin/jupyter /usr/bin/jupyter is owned by python-jupyter_core 4.11.0-1 $ pacman -R python-jupyter_core ...
Sim's user avatar
  • 134
1 vote
0 answers
2k views

Cannot sync pkgs and refresh pkg databases with 'pacman' under Archlinux

On every Pacman command I get the following error error: failed to synchronize all database (invalid URL for server) How do I change the URL for the server? I was following this guide. https://youtu....
sahil's user avatar
  • 23
1 vote
1 answer
370 views

Pamac only updates binary packages but not packages from git repositories

wanted to share the following problem + solution since it took me a longer time to figure this out and hope it can save you some time stumbling upon this post: I am using Manjaro and install the ...
GC268DM's user avatar
  • 111
1 vote
0 answers
44 views

How to set an uninstalled package as installed in pacman?

I want to set two packages that I (stupidly) installed without using pacman as installed, so I don't have to bother uninstalling them and reinstalling through pacman.
Bevan's user avatar
  • 11
1 vote
0 answers
2k views

Arch linux, set up user to use pacman without full root privileges

I am trying to set up multiple levels of users on my arch linux system. I want to lock the root user, and then have 3 levels of user. On top is essentially is a full wheel root user, then under that I ...
fudgeBreadstein's user avatar
1 vote
1 answer
166 views

How to download heavier packages first in packman parallel mode?

You can enable parallel mode by uncommenting the ParallelDownloads = 5 line in /etc/pacman.conf. My question is, can I change the order by which packages are downloaded? Can I queue the heavier ...
honestSalami's user avatar
1 vote
0 answers
423 views

Parabola GNU/Linux-libre installation: problem with key

I'm trying to install Parabola GNU/Linux-libre (OpenRC) and I repeatedly get this error during pacstrap /mnt base elogind udev-init-scripts. error: some-package: signature from "A Packager <a-...
LuxGiammi's user avatar
  • 367
1 vote
1 answer
170 views

Restore libraries config files before or after install?

I often have to migrate between different Arch Linux systems. Some libraries have identical configurations, but different versions. Concrete example: on OS A, I have MariaDB 14, with config files (/...
Clément Gayot's user avatar
1 vote
0 answers
2k views

Error when trying to install packages via pacman on Arch Linux WSL

I am using Arch for Windows Subsystem for Linux build. Whenever I try to install a specific package (e.g. python) it displays a Y/n prompt: :: Import PGP key [KEY], "[Name]", created: [date]? [Y/n] ...
Purple Scientist's user avatar
1 vote
0 answers
2k views

Arch Linux Installation - GPG Errors and Unrecognized Archive Format

I got a Lenovo Thinkpad X1 and have been trying to boot Arch from an ISO that I burned onto a 4 GB USB stick. The ISO image is burned correctly and is not corrupted. The partition created on my SSD ...
Swapneel Mehta's user avatar
1 vote
0 answers
5k views

Arch Linux - pacman givers error 'could not resolve host'

I just installed Arch Linux and I'm trying to set up my wifi. I'm trying to run pacman -U to install some files I have off a USB stick, namely wpa-supplicant. When I run the command, I get a long line ...
William Markley's user avatar
1 vote
0 answers
130 views

Fakeroot on macOS tries to delete system directories

I’m having a problem with fakeroot on macOS. I created a pacman fork. When I’d like to delete a package, pacman tries to delete /usr/ instead of a subdirectory. On Linux, it is working fine, though. ...
oioioi's user avatar
  • 33
1 vote
0 answers
2k views

arch linux installation base base-devel error could not open file invalid argument

I'm trying to install arch on my laptop. My pacstrap -i /mnt base base-devel fails to install one file and shows this error repeatedly: error: could not open file /mnt/var/cache/pacman/ pkg/vi-1:...
ColonD's user avatar
  • 111
1 vote
1 answer
533 views

What is /etc/ca-certificates/extracted for?

I am running Arch Linux. I did the first update today in an embarrassingly long time. I had a conflict, that there was a file /etc/ssl/certs/ca-certificates.crt that was a soft link to a file /etc/...
rexroni's user avatar
  • 1,548
1 vote
0 answers
2k views

Arch linuxBoot hangs on Started Update man-db cache

After a full upgrade of the system with pacman -Syu The kernel has been updated, but when I shut down the laptop and open it again it hangs on this message: [ OK ] Reached target Graphical ...
Nasser's user avatar
  • 151
1 vote
0 answers
971 views

Arch: Cannot open kernel arbiter, no multicard support

I'm currently using Arch Linux on a Chrombook Flip C100P in conjunction with the xf86-video-armsoc driver. When printing the /dev/dri folder on my device as root, it detects the following: card0 ...
Mapsy's user avatar
  • 287
1 vote
0 answers
427 views

Which mirror did I download the Arch Linux package database from?

It seems that some packages in the official package repository have a new dependency which is not in the official repos: $ sudo pacman --sync --refresh --refresh --sysupgrade :: Synchronising package ...
l0b0's user avatar
  • 52.1k
1 vote
0 answers
841 views

Pacman Package manager in LFS

I'm trying to install a Linux From Scratch system. I know LFS doesn't come with a package manager, but I want to use pacman as my package manager. I googled about it and found some links but they are ...
compiler's user avatar
  • 361
1 vote
0 answers
1k views

Having trouble using pantheon-greeter-bzr and pantheon-session-bzr on virtualbox with ArchLinux

I am trying to test ArchLinux with Pantheon on a VM on VirtualBox. I am able to install ArchLinux and pacman -S the following packages succesfuly: xorg-server xorg-server-utils virtualbox-guest-utils ...
Valmir Junior's user avatar
1 vote
1 answer
870 views

Alternatives to xsounds.org for haskell-core on arch linux

Every time I attempt to update my arch system using sudo pacman -Syu it fails because it failed to retrieve some files. The culprit is my ISP. It doesn't give me a reliable connection to the mirror of ...
Aadit M Shah's user avatar
1 vote
1 answer
3k views

How can I install Gimp 2.9 in Arch Linux?

I am trying to install Gimp 2.9 in arch linux. Following instructions from this site (which I can hardly understand), I have attempted to install gimp-devel via yaourt. However, I receive an error ...
Ethan McTague's user avatar
0 votes
0 answers
43 views

Pacstrap can't install iptables, even thougn it's already installed

I am trying to install Arch Linux ARM on my Nintendo 3DS and I have a pacman.conf file that looks like this: HoldPkg = pacman glibc Architecture = armv6h #SigLevel = Required DatabaseOptional ...
O Perfeito's user avatar
0 votes
0 answers
76 views

How to prevent the re-creation of default mkinitcpio preset file upon kernel update?

Since I’m using custom mkinitcpio presets to generate UKIs, I deleted the default preset file inside /etc/mkinitcpio.d/ that came during system installation. Unfortunately, when pacman updates the ...
Bogey Jammer's user avatar
0 votes
0 answers
57 views

HoloISO/Archlinux Running pacman -Syu(u) results in the next boot becoming an endless black screen

I have been running both pacman -Syu and -Syuu with the following packages: glibc make icu qt6-base linux-firmware pcaman-contrib archlinux-contrib gcc-libs sh python wireplumber pipewire lha base-...
Let A be the Unknown's user avatar
0 votes
0 answers
43 views

HoloISO/Archlinux Syncing the icu package results in the next boot becoming an endless black screen

I've done -Suy syncs after syncing the icu package, which should prevent conflicts as far as I know. I've used system-update-pacman combined with the download only options to perform the upgrade after ...
Let A be the Unknown's user avatar
0 votes
0 answers
47 views

Trouble installing Kazam

I am using Blackarch which is freshly installed. When I try to install Kazam I get this error: failed to prepare transaction (could not satisfy dependencies) Any ideas on how to fix it?
Simon Henriksson's user avatar
0 votes
0 answers
43 views

Attempting to update pacman fails due to dependencies. What am I Missing?

removing libpamac breaks dependency 'libpamac>=11.4' required by arcolinux-pamac-all removing libpamac breaks dependency 'libpamac' required by libpamac-flatpak-plugin removing libpamac breaks ...
user138723's user avatar
0 votes
1 answer
130 views

How to use QtStateMachine on Arch?

I want to use QtStateMachine in one of my projects. But I fail to find the right package to install it. There is a package qt6-examples, which provides example code for the QtStateMachine module, but ...
pasbi's user avatar
  • 303
0 votes
1 answer
956 views

How to install specific-package-version (when multiple version available from multiple repos) in Archlinux?

I'm trying to install nim-2.0 in my system. When I try to install with pacman -S nim or yay -S nim It direclty installs the nim-1.6.... version. How to install package when there is multiple versions ...
Garid Z.'s user avatar
  • 552