paru
paru copied to clipboard
`paru -Syu` `error: unresolvable package conflicts detected`
Affected Version
paru v2.0.4 - libalpm v15.0.0
Description
Attempted cleanup
❯ paru -Sccd
[sudo] password for david:
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove ALL files from cache? [y/N] y
removing all files from cache...
error: could not remove /var/cache/pacman/pkg/download-M0XMTJ: Is a directory
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] y
removing unused sync repositories...
Clone Directory: /home/david/.cache/paru/clone
:: Do you want to clean ALL AUR packages from cache? [y/N]: y
Diff Directory: /home/david/.cache/paru/diff
:: Do you want to remove all saved diffs? [Y/n]: y
~ 6s
and paru -c which found nothing
Made no difference and it could not remove a pacman pkg directory for some reason.
Output
error
❯ paru -Syu
[sudo] password for david:
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
there is nothing to do
:: Looking for PKGBUILD upgrades...
:: Looking for AUR upgrades...
:: Looking for devel upgrades...
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
:: Conflicts found:
nodejs-lts-iron: nodejs
:: Conflicting packages will have to be confirmed manually
:: packages not in the AUR: cachyos-fish-config cachyos-gaming-applications
cachyos-gaming-meta cachyos-hello cachyos-hooks cachyos-kernel-manager
cachyos-keyring cachyos-micro-settings cachyos-mirrorlist
cachyos-packageinstaller cachyos-plymouth-theme cachyos-rate-mirrors
cachyos-settings cachyos-v3-mirrorlist cachyos-v4-mirrorlist
cachyos-wallpapers cachyos-zsh-config chwd lib32-zlib-ng
lib32-zlib-ng-compat scx-manager
:: marked out of date: heroic-games-launcher
:: insufficient columns available for table display
Repo (14) python-pyclipper-1.3.0.post6-1
python-booleanoperations-0.9.0-10 python-brotli-1.1.0-3
python-fs-2.4.16-5 python-unicodedata2-16.0.0-1 python-defcon-0.12.1-1
python-fontmath-0.9.4-2 python-fontpens-0.2.4-9 python-tqdm-4.67.1-2
python-mutatormath-3.0.1-6 python-fontparts-0.12.8-1
python-ufoprocessor-1.13.3-2 zopfli-1.0.3-4
python-zopfli-0.2.3.post1-2
Repo Make (64) bc-1.08.2-1 cpio-2.15-2 rust-1:1.87.0-1
rust-bindgen-0.71.1-1 rust-src-1:1.87.0-1 mingw-w64-binutils-2.44-1
mingw-w64-crt-12.0.0-1 mingw-w64-headers-12.0.0-1
mingw-w64-winpthreads-12.0.0-1 mingw-w64-gcc-15.1.0-1 cppdap-1.58.0-2
rhash-1.4.4-1 cmake-4.0.2-1 ninja-1.12.1-2
python-pyproject-hooks-1.2.0-3 python-build-1.2.2-3
python-installer-0.7.0-10 python-scikit-build-0.18.1-4
python-setuptools-scm-8.3.1-1 python-iniconfig-2.1.0-1
python-pluggy-1.6.0-1 python-pygments-2.19.1-1 python-pytest-1:8.4.0-1
libuninameslist-20240910-1 fontforge-20230101-6 glib2-devel-2.84.2-1
libxml2-legacy-2.13.8-1 meson-1.8.1-1 nasm-2.16.03-2
opencl-headers-2:2024.10.24-1 perl-json-4.10-2
lib32-rust-libs-1:1.87.0-1 python-pefile-2024.8.26-1
lib32-v4l-utils-1.28.1-1 vulkan-headers-1:1.4.313.0-1
xorg-util-macros-1.20.2-1 gcc-fortran-15.1.1+r7+gf36ec88aa85a-1
lib32-gpm-1.20.7.r38.ge82d1a6-2 lib32-aalib-1.4rc5-5
lib32-libraw1394-2.1.2-5 lib32-libavc1394-0.5.4-5 lib32-popt-1.19-2
lib32-libdv-1.0.0-9 lib32-libiec61883-1.2.0-5 lib32-libshout-1:2.4.6-4
lib32-libsoup3-3.6.5-1 lib32-taglib-2.0.2-1 lib32-twolame-0.4.0-3
lib32-wavpack-5.8.1-1 lib32-gst-plugins-good-1.26.2-1
lib32-polkit-126-1 lib32-pcsclite-2.3.3-1 samba-2:4.22.2-1
libieee1284-0.2.11-18 net-snmp-5.9.4-6 sane-1.4.0-1 unixodbc-2.3.12-3
nodejs-lts-iron-20.19.2-1 nodejs-nopt-7.2.1-1 semver-7.7.2-1
node-gyp-11.2.0-1 npm-11.4.1-1 xorg-server-xvfb-21.1.16-1
yarn-1.22.22-2
Aur (9) linux-cachyos-6.15.1-2 (linux-cachyos linux-cachyos-headers)
python-ufonormalizer-0.6.2-2 afdko-4.0.2-3 mingw-w64-tools-12.0.0-1
lib32-lapack-3.12.1-1 proton-cachyos-1:10.0.20250601-1
waterfox-bin-6.5.9-3 wine-cachyos-opt-2:10.0.20250601-1
github-desktop-latest-commit
:: Proceed to review? [Y/n]: y
:: Downloading PKGBUILDs...
PKGBUILDs up to date
nothing new to review
resolving dependencies...
looking for conflicting packages...
:: nodejs-lts-iron-20.19.2-1 and nodejs-24.1.0-2 are in conflict. Remove nodejs? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: nodejs-lts-iron-20.19.2-1 and nodejs-24.1.0-2 are in conflict
~ 8s
❯ paru -Q nodejs
nodejs 24.1.0-2
paru.conf
#
# $PARU_CONF
# /etc/paru.conf
# ~/.config/paru/paru.conf
#
# See the paru.conf(5) manpage for options
#
# GENERAL OPTIONS
#
[options]
PgpFetch
Devel
Provides
DevelSuffixes = -git -cvs -svn -bzr -darcs -always -hg -fossil
#AurOnly
#BottomUp
#RemoveMake
#SudoLoop
#UseAsk
#SaveChanges
#CombinedUpgrade
#CleanAfter
#UpgradeMenu
#NewsOnUpgrade
#LocalRepo
#Chroot
#Sign
#SignDb
#KeepRepoCache
#
# Binary OPTIONS
#
#[bin]
#FileManager = vifm
#MFlags = --skippgpcheck
#Sudo = doas
pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
#GPGDir = /etc/pacman.d/gnupg/
#HookDir = /etc/pacman.d/hooks/
HoldPkg = pacman glibc
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta = 0.7
Architecture = auto
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options
#UseSyslog
Color
ILoveCandy
#NoProgressBar
#CheckSpace
VerbosePkgLists
DisableDownloadTimeout
ParallelDownloads = 10
DownloadUser = alpm
#DisableSandbox
# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required
# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
# - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# cachyos repos
#[cachyos-znver4]
#Include = /etc/pacman.d/cachyos-v4-mirrorlist
#[cachyos-core-znver4]
#Include = /etc/pacman.d/cachyos-v4-mirrorlist
#[cachyos-extra-znver4]
#Include = /etc/pacman.d/cachyos-v4-mirrorlist
#[cachyos-v4]
#Include = /etc/pacman.d/cachyos-v4-mirrorlist
#[cachyos-core-v4]
#Include = /etc/pacman.d/cachyos-v4-mirrorlist
#[cachyos-extra-v4]
#Include = /etc/pacman.d/cachyos-v4-mirrorlist
#[cachyos-v3]
#Include = /etc/pacman.d/cachyos-v3-mirrorlist
#[cachyos-core-v3]
#Include = /etc/pacman.d/cachyos-v3-mirrorlist
#[cachyos-extra-v3]
#Include = /etc/pacman.d/cachyos-v3-mirrorlist
# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.
#[core-testing]
#Include = /etc/pacman.d/mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
#[extra-testing]
#Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.
#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist
[multilib]
Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
Let me know if any more details are required and which.
I believe this was fixed in a commit in December or so, but there hasn't been a release since September. Try paru-git?
I believe this was fixed in a commit in December or so, but there hasn't been a release since September. Try paru-git?
Yes it is fixed, but there should really be a new release since this is quite a critical issue.