You are not logged in.
Today I update my laptop by using
sudo pacman -Syu
but an error has occurred.
After I found the packages(libc++ and libc++abi) that went wrong, I manually updated the others one by one. The other packages have been successfully updated, so the problem should most probably exist between the libc++ and libc++abi.
Here is the error message:
Packages (2) libc++-18.1.8-2 libc++abi-18.1.8-2
Total Installed Size: 11.96 MiB
Net Upgrade Size: 0.39 MiB
:: Proceed with installation? [Y/n]
(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%
error: failed to commit transaction (conflicting files)
/usr/lib/libc++.modules.json exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat.cppm exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cassert.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cctype.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cerrno.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cfenv.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cfloat.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cinttypes.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/climits.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/clocale.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cmath.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/csetjmp.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/csignal.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cstdarg.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cstddef.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cstdint.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cstdio.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cstdlib.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cstring.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/ctime.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cuchar.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cwchar.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.compat/cwctype.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std.cppm exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/algorithm.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/any.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/array.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/atomic.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/barrier.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/bit.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/bitset.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cassert.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cctype.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cerrno.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cfenv.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cfloat.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/charconv.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/chrono.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cinttypes.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/climits.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/clocale.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cmath.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/codecvt.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/compare.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/complex.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/concepts.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/condition_variable.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/coroutine.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/csetjmp.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/csignal.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cstdarg.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cstddef.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cstdint.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cstdio.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cstdlib.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cstring.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/ctime.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cuchar.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cwchar.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/cwctype.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/deque.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/exception.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/execution.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/expected.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/filesystem.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/flat_map.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/flat_set.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/format.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/forward_list.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/fstream.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/functional.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/future.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/generator.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/hazard_pointer.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/initializer_list.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/iomanip.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/ios.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/iosfwd.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/iostream.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/istream.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/iterator.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/latch.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/limits.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/list.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/locale.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/map.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/mdspan.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/memory.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/memory_resource.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/mutex.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/new.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/numbers.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/numeric.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/optional.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/ostream.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/print.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/queue.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/random.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/ranges.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/ratio.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/rcu.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/regex.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/scoped_allocator.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/semaphore.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/set.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/shared_mutex.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/source_location.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/span.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/spanstream.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/sstream.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/stack.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/stacktrace.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/stdexcept.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/stdfloat.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/stop_token.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/streambuf.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/string.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/string_view.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/strstream.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/syncstream.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/system_error.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/text_encoding.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/thread.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/tuple.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/type_traits.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/typeindex.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/typeinfo.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/unordered_map.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/unordered_set.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/utility.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/valarray.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/variant.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/vector.inc exists in both 'libc++abi' and 'libc++'
/usr/share/libc++/v1/std/version.inc exists in both 'libc++abi' and 'libc++'
Errors occurred, no packages were upgraded.
I have read some posts in the bbs, but I didn't find the same question that with the "exists in both libc++abi and libc++" keyword.
Thank you in advance for helping me.
Last edited by JKun (2024-07-21 11:08:49)
Offline
Sorry to comment without any guidance or answers, but I also just created a post regarding this issue, in case you wanted to monitor there as well (we both posted within the same minute). hopefully between our posts a solution can be found
Offline
File a bug report...
Online
I am new to arch how would i go about filing a bug report is there a link on arch or is it in gitlab
Offline
Bug is filed: https://gitlab.archlinux.org/archlinux/ … -/issues/3
Online
Allan, it was already filed when you left both of those comments, I think you should have just pointed that out in the first place instead of vaguely telling people to file new duplicates.
Either way OP just don't update your packages for a few hours, if you can bear the wait.
I bought shoes from my drug dealer. I dunno what he laced them with, but I've been tripping all day.
Website - KangWorlds - Screw Gravity!
Offline
Thanks for the info, just ran into this myself
Offline
Hi,
I still run into the same issue (2024/07/19, 9:52 CET). Unfortunately currently there is no /usr/share/libc++ or /usr/share/libcc+abi on my machine. That's very strange as I just issued a pacman -Syu without doing anything else and the update simply stopped at the file conflict stage. The machine is up and running, but I'm pretty certain it won't boot anymore if I restart without those directories present. Is there anything I can do to get it working without having to reinstall the whole system?
Offline
Hi,
I still run into the same issue (2024/07/19, 9:52 CET). Unfortunately currently there is no /usr/share/libc++ or /usr/share/libcc+abi on my machine. That's very strange as I just issued a pacman -Syu without doing anything else and the update simply stopped at the file conflict stage. The machine is up and running, but I'm pretty certain it won't boot anymore if I restart without those directories present. Is there anything I can do to get it working without having to reinstall the whole system?
Your upgrade failed so nothing was committed. Your system will be in the same state as it was prior to you issuing the -Syu. Exact same as mine. The failed -Syu due to this wont cause your system to not boot.
Offline
Your upgrade failed so nothing was committed. Your system will be in the same state as it was prior to you issuing the -Syu. Exact same as mine. The failed -Syu due to this wont cause your system to not boot.
Ok, thanks. I just tried to find out whether there should be /usr/share/libc++ as libc++ 17.0.6-1-x86_64 is installed, but couldn't get the file list. Just to be sure I reinstalled 17.0.6 of libc++ and libc++abi from /var/cache/pacman/pkg with pacman -U and that worked without issues, so I assume I'm fine. Let's hope this gets resolved soon...
Offline
Let's hope this gets resolved soon...
Just to confirm: It's working now, the update finished without errors.
Offline
Thanks for that. Could be worse. Could be crowdstrike users.
Offline
Thanks for that. Could be worse. Could be crowdstrike users.
just read about that in my lunch break - made my day
Offline
Thank you very much to everyone who left a message here and the people who fixed this issue . I just wait and update my computer today. It goes well. I will add a "solved" to the title.
Offline