You are not logged in.
When attempting to update my packages, I get the prompt "Replace libblockdev-utils with extra/libblockdev? [Y/n]." Selecting either option (y or n) gives the output:
"error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: libblockdev and libblockdev-utils are in conflict"
How can I approach this package conflict? I can see here that "libblockdev" is meant to replace the utils version, but my system lists "libblockdev-utils" as a dependency for "libblockdev." Is there a way to update this dependency issue on my system? Is this a result of a different issue?
Last edited by babel_f1sh (2024-03-04 05:33:40)
Offline
I am seeing the same issue. Also, removing either libblockdev or libblockdev-utils requires removing a pretty large dependency chain
Offline
For me issuing this manually fixed dependencies:
sudo pacman -S libblockdev-crypto libblockdev-fs libblockdev-loop libblockdev-mdraid libblockdev-nvme libblockdev-part libblockdev-swap udisks2
Offline
For me issuing this manually fixed dependencies:
sudo pacman -S libblockdev-crypto libblockdev-fs libblockdev-loop libblockdev-mdraid libblockdev-nvme libblockdev-part libblockdev-swap udisks2
Thank you, that solved the problem for me!
Offline
For me issuing this manually fixed dependencies:
sudo pacman -S libblockdev-crypto libblockdev-fs libblockdev-loop libblockdev-mdraid libblockdev-nvme libblockdev-part libblockdev-swap udisks2
Sorry for stupid question but how did you know that exacly theese packages had to be reinstalled in order to fix conflicts? It works of course.
Offline
Kisuke-CZE wrote:For me issuing this manually fixed dependencies:
sudo pacman -S libblockdev-crypto libblockdev-fs libblockdev-loop libblockdev-mdraid libblockdev-nvme libblockdev-part libblockdev-swap udisks2
Sorry for stupid question but how did you know that exacly theese packages had to be reinstalled in order to fix conflicts? It works of course.
These packages are required by libblockdev. I don't like this solution though, because it marks all of these as explicitly installed, which prevents them from being uninstalled when they are no longer needed.
I use
pacman -Rdd libblockdev-utils # Force uninstalling of package, ignore dependency issues
pacman -Syu # lets goo
I think this should work. I myself did a little more complicated variant, but the core thing is, that libblockdev is evidently replacing ( or absorbing) libblockdev-utils and causing issues
EDIT: The issues were created by this commit https://gitlab.archlinux.org/archlinux/ … 18924994e6
Last edited by meowxiik (2024-03-03 22:54:06)
Offline
My workaround for the dependency issue was
sudo pacman -Syu --ignore libblockdev-utils
you will then be able to remove libblockdev-utils when prompted
Last edited by skunktrader (2024-03-04 00:42:18)
Online
My workaround for the dependency issue was
sudo pacman -Syu --ignore libblockdev-utils
you will then be able to remove libblockdev-utils when prompted
Due to a storm, my internet is pretty slow right now but I will try running this and report back. Thank you!
Offline
EDIT: The issues were created by this commit https://gitlab.archlinux.org/archlinux/ … 18924994e6
Thank you for posting the source of the issue!
Offline
skunktrader wrote:My workaround for the dependency issue was
sudo pacman -Syu --ignore libblockdev-utils
you will then be able to remove libblockdev-utils when prompted
Due to a storm, my internet is pretty slow right now but I will try running this and report back. Thank you!
This worked, thanks!
Offline
I don't like this solution though, because it marks all of these as explicitly installed, which prevents them from being uninstalled when they are no longer needed.
Actually I was not thinking about it much, just found the fast solution without thinking about these consequences. But it seems for me, that all packages remained marked as dependencies (they are not listed in pacman -Qe, but they are in pacman -Qd) - correct me if I am wrong.
I am sorry if this caused issue for someone. I believe this should unmark packages as explicitly installed, if someone need it:
pacman -S --asdeps libblockdev-crypto libblockdev-fs libblockdev-loop libblockdev-mdraid libblockdev-nvme libblockdev-part libblockdev-swap udisks2
Last edited by Kisuke-CZE (2024-03-04 05:50:11)
Offline
babel_f1sh wrote:skunktrader wrote:My workaround for the dependency issue was
sudo pacman -Syu --ignore libblockdev-utils
you will then be able to remove libblockdev-utils when prompted
Due to a storm, my internet is pretty slow right now but I will try running this and report back. Thank you!
This worked, thanks!
Confirmed here. This works perfectly.
Offline