error: failed to prepare transaction (could not satisfy dependencies)
:: installing libgit2 (1:1.7.0-3) breaks dependency ‘libgit2=1:1.6.4’ required by lib32-libgit2
→ error installing repo packages
Anyone having this problem?
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libgit2 (1:1.7.0-3) breaks dependency ‘libgit2=1:1.6.4’ required by lib32-libgit2
→ error installing repo packages
Anyone having this problem?
Welcome to the forum!
Looks like lib32-libkit2
Depends On : lib32-gcc-libs lib32-glibc libgit2=1:1.7.0 lib32-libssh2 ...
How did you run yay?
Make sure your system is fully updated:
sudo pacman -Syu
Thank you!
From terminal, yay than password.
I always updated system like this, there is a better way?
Yay or sudo pacman -Syu are interrupted by this error.
If i can provide more info pls tell me
You should always post the entire input and output from terminal. Tiny snippets like that are very difficult for folks to help you and lead to many more unnecessary questions. Please post everything for better help.
$ pacman -Si lib32-libgit2
error: package 'lib32-libgit2' was not found
I don’t seem to be able to find it in Arch’s repos but in AUR:
$ yay -Si lib32-libgit2
Repository : aur
Name : lib32-libgit2
Keywords : None
Version : 1.7.0-3
Description : A linkable library for Git
URL : https://github.com/libgit2/libgit2
AUR URL : https://aur.archlinux.org/packages/lib32-libgit2
Groups : None
Licenses : GPL2
Provides : libgit2.so
Depends On : lib32-gcc-libs lib32-glibc libgit2=1:1.7.0 lib32-libssh2 libssh2.so lib32-openssl libcrypto.so libssl.so lib32-pcre2 libpcre2-8.so lib32-http-parser libhttp_parser.so lib32-zlib libz.so
Make Deps : cmake lib32-openssl lib32-pcre2 lib32-http-parser lib32-zlib lib32-libssh2 python
Check Deps : None
Optional Deps : None
Conflicts With : None
Maintainer : sl1pkn07
Votes : 0
Popularity : 0.000000
First Submitted : Sat 06 May 2023 08:34:41 PM CEST
Last Modified : Wed 26 Jul 2023 12:14:38 AM CEST
Out-of-date : No
Can’t tell if it has been in the repos before and now is dropped to AUR.
At any rate, if you have that package for some reason, you might want to rebuild it from AUR.
$ yay
:: Synchronizing package databases…
endeavouros is up to date
core is up to date
extra is up to date
multilib is up to date
:: Searching AUR for updates…
:: Searching databases for updates…
→ Packages not in AUR: grub-tools grub2-theme-endeavouros intel-oneapi-compiler-shared-opencl-cpu ipw2100-fw ipw2200-fw libsidplay webkit2gtk-5.0
→ Orphan (unmaintained) AUR Packages: lib32-gd lib32-libraqm
→ Flagged Out Of Date AUR Packages: android-studio lib32-libraqm metis spark
→ paper-icon-theme: local (1.5.0.832.aa3e8af-1) is newer than AUR (1.5.0-3)
:: 2 packages to upgrade/install.
2 extra/libgit2 1:1.6.4-1 → 1:1.7.0-3
1 aur/lib32-libgit2 1.6.4-1 → 1.7.0-3
==> Packages to exclude: (eg: “1 2 3”, “1-3”, “^4” or repo name)
→ Excluding packages may cause partial upgrades and break systems
==>
AUR Dependency (1): lib32-libgit2-1.7.0-3
Sync Dependency (1): libgit2-1:1.7.0-3
:: PKGBUILD up to date, skipping download: lib32-libgit2
1 lib32-libgit2 (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/bado/.cache/yay/lib32-libgit2
HEAD is now at d90e938 bump
Removing libgit2-1.7.0-cleanup_grafts.patch
Removing libgit2-1.7.0-git_oidarray_include.patch
Removing src/
Removing v1.7.0.tar.gz
1 lib32-libgit2 (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
==> Making package: lib32-libgit2 1.7.0-3 (gio 27 lug 2023, 09:54:21)
==> Retrieving sources…
→ Downloading v1.7.0.tar.gz…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0
100 7368k 0 7368k 0 0 4308k 0 --:–:-- 0:00:01 --:–:-- 6630k
→ Downloading libgit2-1.7.0-git_oidarray_include.patch…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 362 100 362 0 0 1890 0 --:–:-- --:–:-- --:–:-- 1895
→ Downloading libgit2-1.7.0-cleanup_grafts.patch…
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1126 100 1126 0 0 4425 0 --:–:-- --:–:-- --:–:-- 4415
==> Validating source files with sha256sums…
v1.7.0.tar.gz … Passed
libgit2-1.7.0-git_oidarray_include.patch … Passed
libgit2-1.7.0-cleanup_grafts.patch … Passed
:: (1/1) Parsing SRCINFO: lib32-libgit2
:: Synchronizing package databases…
endeavouros is up to date
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libgit2 (1:1.7.0-3) breaks dependency ‘libgit2=1:1.6.4’ required by lib32-libgit2
→ Failed to install layer, rolling up to next layer.error:error installing repo packages
:: Synchronizing package databases…
endeavouros is up to date
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade…
resolving dependencies…
looking for conflicting packages…
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libgit2 (1:1.7.0-3) breaks dependency ‘libgit2=1:1.6.4’ required by lib32-libgit2
→ error installing repo packages
error installing repo packages
Thanks, i’ll watch in to this.
I solved this buy removing lib32-libgit2 with yay -R,
update the other package and than reinstalling/rebuilding lib32-libgit2.
Not sure if this is the safe way.
Packages can be installed and removed, in principal, at will.
Dependencies are the thing here, are you installing as dependency or not.
If you plan to keep those packages, there is no problem.
And if you remove the other, the only thing might be you have an orphan package as leftover, which can be a big deal if you need to keep your system as small as possible, otherwise not a real problem.
Ok understood! I’m fairly new to linux and EOS,
so thank you all for the answers and time!
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.