You are not logged in.
hello everyone noob here
trying to update with pacman -Syu but am getting these error messages
error: failed to commit transaction (conflicting files)
libgpg-error: /usr/bin/gpg-error exists in filesystem
libgpg-error: /usr/bin/gpgrt-config exists in filesystem
libgpg-error: /usr/bin/yat2m exists in filesystem
libgpg-error: /usr/include/gpg-error.h exists in filesystem
libgpg-error: /usr/include/gpgrt.h exists in filesystem
libgpg-error: /usr/lib/libgpg-error.so exists in filesystem
libgpg-error: /usr/lib/libgpg-error.so.0 exists in filesystem
libgpg-error: /usr/lib/libgpg-error.so.0.34.0 exists in filesystem
libgpg-error: /usr/lib/pkgconfig/gpg-error.pc exists in filesystem
libgpg-error: /usr/share/aclocal/gpg-error.m4 exists in filesystem
libgpg-error: /usr/share/aclocal/gpgrt.m4 exists in filesystem
libgpg-error: /usr/share/common-lisp/source/gpg-error/gpg-error-codes.lisp exists in filesystem
libgpg-error: /usr/share/common-lisp/source/gpg-error/gpg-error-package.lisp exists in filesystem
libgpg-error: /usr/share/common-lisp/source/gpg-error/gpg-error.asd exists in filesystem
libgpg-error: /usr/share/common-lisp/source/gpg-error/gpg-error.lisp exists in filesystem
libgpg-error: /usr/share/info/gpgrt.info.gz exists in filesystem
libgpg-error: /usr/share/libgpg-error/errorref.txt exists in filesystem
libgpg-error: /usr/share/locale/cs/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/da/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/de/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/eo/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/es/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/fr/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/hu/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/it/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/ja/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/nl/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/pl/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/pt/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/ro/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/ru/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/sr/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/sv/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/tr/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/uk/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/vi/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/zh_CN/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/locale/zh_TW/LC_MESSAGES/libgpg-error.mo exists in filesystem
libgpg-error: /usr/share/man/man1/gpgrt-config.1.gz exists in filesystem
Errors occurred, no packages were upgraded.
any ideas? i tried doing `pacman -S --overwrite glob libgpg-error`
but the same error happens
i tried doing
$ pacman -Qo /usr/bin/gpg-error
but got
error: No package owns /usr/bin/gpg-error
doing the following also gives the previous longer error with the list of the existing files
$ pacman -Syu --overwrite gpg-error
$ pacman -Syu --overwrite glob *
Last edited by Bluish9992 (2023-05-26 08:27:24)
Offline
Please use [code][/code] tags, not "quote" tags. Edit your post in this regard.
So you didn't merely delete some files - time to come clean: what did *actually* happen?
doing the following also gives the previous longer error with the list of the existing files
Because all of that is complete nonsense anot how --overwrite or globbing works.
You can "pacman -S --dbonly libgpg-error" to re-establish the database and then re-attempt an update, but depending on what caused the database damage, there'll be further issues of simiar kind.
=> what did *actually* happen?
Offline
hello @seth
lol this was the original problem and, thinking it'll be fine, i deleted the files listed here coz maybe they would be put inthere by this update anyway.
Offline
I'll try to interpret that: you removed the package and then simply untar'd the downloaded one?
Install the database entry, then try to install the package again. Do NOT delete the existing library files or pacman will be "broken" again-
Offline
thank you for helping me seth.
but actually trying to fix this, i've already broken pacman even more. i was trying to remove the package that was using libgpg-error here and i accidentally uninstalled pacman entirely. so now i have a new problem lol
https://bbs.archlinux.org/viewtopic.php?id=285520
Last edited by Bluish9992 (2023-05-04 12:19:22)
Offline
after i got pacman working
i did that command you gave "pacman -S --dbonly libgpg-error" worked wonders ty a lot. everything works now. great success
Offline
Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.
Offline