Skip to main content
Topic: paru update hindert with 2 conflicting packages (Read 590 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

paru update hindert with 2 conflicting packages

I am having this issue, when doing paru -Syu:
Code: [Select]
:: Synchronizing package databases...
 system is up to date
 world                                                                                2041,8 KiB  4,39 MiB/s 00:00 [#####################################################################] 100%
 galaxy                                                                                  2,6 MiB  6,99 MiB/s 00:00 [#####################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
error: could not open file /var/lib/pacman/local/pacman-6.0.2-5/desc: No such file or directory
looking for conflicting packages...

Packages (2) python-setuptools-1:65.6.2-1  xdg-desktop-portal-gtk-1.14.1-1

Total Download Size:    0,69 MiB
Total Installed Size:   3,79 MiB
Net Upgrade Size:      -0,15 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
 python-setuptools-1:65.6.2-1-any                                                      588,4 KiB  2,98 MiB/s 00:00 [#####################################################################] 100%
 xdg-desktop-portal-gtk-1.14.1-1-x86_64                                                114,2 KiB  1704 KiB/s 00:00 [#####################################################################] 100%
 Total (2/2)                                                                           702,6 KiB  2,00 MiB/s 00:00 [#####################################################################] 100%
(2/2) checking keys in keyring                                                                                     [#####################################################################] 100%
(2/2) checking package integrity                                                                                   [#####################################################################] 100%
(2/2) loading package files                                                                                        [#####################################################################] 100%
(2/2) checking for file conflicts                                                                                  [#####################################################################] 100%
(2/2) checking available disk space                                                                                [#####################################################################] 100%
:: Processing package changes...
(1/2) upgrading python-setuptools                                                                                  [#####################################################################] 100%
(2/2) upgrading xdg-desktop-portal-gtk                                                                             [#####################################################################] 100%
:: Running post-transaction hooks...
(1/1) Updating the desktop file MIME type cache...
:: Looking for AUR upgrades
:: Looking for devel upgrades
error: could not open file /var/lib/pacman/local/pacman-6.0.2-5/desc: No such file or directory
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...
:: Packages not in the AUR: aarch64-linux-gnu-binutils  aarch64-linux-gnu-gcc  aarch64-linux-gnu-glibc  aarch64-linux-gnu-linux-api-headers  alacritty  archlinux-keyring  archlinux-mirrorlist
    artix-archlinux-support  asciiquarium  bash-bats  bat  busybox  exa  flameshot  granite  ipw2100-fw  ipw2200-fw  java11-openjfx  jp2a  jre17-openjdk  jre17-openjdk-headless  jre7-openjdk
    jre7-openjdk-headless  lf  lib32-libpng12  lib32-vulkan-icd-loader  lib32-zlib  libdispatch  libgovirt  libreoffice-fresh  libreoffice-fresh-pl  libxft-bgra-git  nvtop  perl-curses 
    perl-sys-virt  perl-term-animation  powerline-common  powerline-fonts  proton-ge-custom-stable-bin  pulsemixer  pycharm-community-edition  python2-ordered-set  qbittorrent  rdesktop 
    sdl2_gfx  sxiv  telegram-desktop  ttf-iosevka-nerd  ttf-joypixels  ttf-terminus-nerd  urxvt-perls  virt-viewer  vocal  wireshark-cli  wireshark-qt  xorg-xfontsel  zathura-pdf-poppler
:: Marked out of date: exercism  neovim-nightly-bin  tor-browser
:: Orphans: pixterm-git

Repo (4) libxcrypt-compat-4.4.33-1  python-zipp-3.10.0-1  python-importlib_resources-5.10.0-1  openssl-1.1-1.1.1.s-2
Repo Make (8) patchelf-0.17.0-1  xorg-mkfontscale-1.2.2-1.1  python-pep517-0.13.0-1  python-build-0.9.0-1  python-installer-0.5.1-2  tcl-8.6.13-1  tk-8.6.13-1 
    xorg-server-xvfb-21.1.4-1
Aur (21) aarch64-linux-musl-1.2.3-1  brave-bin-1:1.45.133-1  davinci-resolve-18.1.1-1  etcher-bin-1.10.2-1  gns3-gui-2.2.35.1-1  gns3-server-2.2.35.1-1  zmusic-1.1.11-1 
    gzdoom-4.9.0-1  ledger-live-bin-2.49.2-1  ledger-udev-1-7  nerd-fonts-mononoki-2.2.2-2  nerd-fonts-roboto-mono-2.2.2-2  paru-1.11.1-1  python-sentry_sdk-1.11.1-1  python2-2.7.18-8 
    python2-setuptools-2:44.1.1-2  python2-six-1.16.0-6  spotify-qt-3.9-1  tor-browser-11.5.8-1  unrar-free-1:0.1.2-1  ioquake3-git-20180304.gd28e667e-1

:: Proceed to review? [Y/n]:

:: Downloading PKGBUILDs...
 (1/1) unrar-free-1:0.1.2-1                          [---------------------------------------------------------------------------------------------------------------------------------------]
 PKGBUILD | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index 9ac0cd6..b9ac71f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,19 @@
+# Maintainer: Robin Candau <robincandau[at]protonmail[dot]com>
+# Contributor: Bastian Germann <bastian.germann[at]gmx[dot]de>
+# Contributor: hcartiaux
+# Contributor: Chris Mann <cshclm[at]gmail[dot]com>
+
 pkgname=unrar-free
-pkgver=0.1.0
+pkgver=0.1.2
 pkgrel=1
 epoch=1
 pkgdesc="Free utility to extract files from RAR archives."
+arch=('x86_64' 'i686' 'aarch64')
 url="https://gitlab.com/bgermann/unrar-free"
-arch=('i686' 'x86_64')
-depends=("glibc" "libarchive")
 license=('GPL')
-source=("https://gitlab.com/bgermann/$pkgname/-/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('ff3e4681a76ea3683a68e98536839fec8756f0f69d768035fb776e7406321f34')
+depends=('libarchive')
+source=("${pkgname}-${pkgver}::${url}/-/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('dbd559cd608c34d646615c383ee21a4c6dea84b669db43427717d8b46c4eac45')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"




:: Proceed with installation? [Y/n]:
resolving dependencies...
error: could not open file /var/lib/pacman/local/pacman-6.0.2-5/desc: No such file or directory
looking for conflicting packages...

Packages (12) libxcrypt-compat-4.4.33-1  openssl-1.1-1.1.1.s-2  patchelf-0.17.0-1  python-build-0.9.0-1  python-importlib_resources-5.10.0-1  python-installer-0.5.1-2  python-pep517-0.13.0-1
              python-zipp-3.10.0-1  tcl-8.6.13-1  tk-8.6.13-1  xorg-mkfontscale-1.2.2-1.1  xorg-server-xvfb-21.1.4-1

Total Installed Size:  22,11 MiB

:: Proceed with installation? [Y/n]
(12/12) checking keys in keyring                                                                                   [#####################################################################] 100%
(12/12) checking package integrity                                                                                 [#####################################################################] 100%
(12/12) loading package files                                                                                      [#####################################################################] 100%
(12/12) checking for file conflicts                                                                                [#####################################################################] 100%
error: failed to commit transaction (conflicting files)
openssl-1.1: /usr/lib/libcrypto.so.1.1 exists in filesystem
openssl-1.1: /usr/lib/libssl.so.1.1 exists in filesystem
Errors occurred, no packages were upgraded.

Can someone please explain how to  manage this error and possibly if you see any other inconsistencies where you might want to share some wisdome.
Oh, changing filenames like sudo mv /usr/lib/libcrypto.so.1.1 /usr/lib/libcrypto.so.1.1_old only causes paru to screem that it couldn find the file.

Re: paru update hindert with 2 conflicting packages

Reply #1
Code: [Select]
error: failed to commit transaction (conflicting files)
openssl-1.1: /usr/lib/libcrypto.so.1.1 exists in filesystem
openssl-1.1: /usr/lib/libssl.so.1.1 exists in filesystem
Errors occurred, no packages were upgraded.
Some AUR package has already installed /usr/lib/libssl.so.1.1 - find which (pacman -Qo /usr/lib/libssl.so.1.1) and remove it before updating. In you case, paru seems to have already pulled it somehow, so I think '--overwrite=/usr/lib/libssl.so.1.1' is the fastest way to fix this. In both Arch and Artix, pacman wrappers are not really supported, but since you asked nicely...

Re: paru update hindert with 2 conflicting packages

Reply #2
I appreciete the help. But the culprit was elsewhere. Not long before my update problems with paru emerged I did the symlinking of pacman pkg folder, which is a noob way of messing up your pacman. I recovered from that, but since that time paru had this ssl issue. I eventually found the package responsible, which in my case was, I think  "system/openssl-1.1 1.1.1.s-4" which I  had to manually rebuild the database for with something alongside
Code: [Select]
sudo pacman -S --dbonly system/openssl-1.1 1.1.1.s-4
if i remember correctly.