Applications not installing

Whenever i try to install any new application, this is what i get. I was having an error at first that I didnt know about, I had to delete unistall VScode and delete all folders where it’s, then i try installing it again, this is what I got, idk if I’ve by chance deleted something not supposed to be deleted.

[emeraldls@isgoat ~]$ yay -S code
Sync Explicit (1): code-1.86.0-1
[sudo] password for emeraldls: 
warning: code-1.86.0-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Package (1)  Old Version  New Version  Net Change

extra/code   1.86.0-1     1.86.0-1       0.00 MiB

Total Installed Size:  86.50 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                                                                 [-------------------------------------------------------] 100%
(1/1) checking package integrity                                                               [-------------------------------------------------------] 100%
(1/1) loading package files                                                                    [-------------------------------------------------------] 100%
(1/1) checking for file conflicts                                                              [-------------------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling code                                                                        [-------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
call to execv failed (No such file or directory)
error: command failed to execute correctly
(2/3) Checking which packages need to be rebuilt
call to execv failed (No such file or directory)
error: command failed to execute correctly
(3/3) Updating the desktop file MIME type cache...
[emeraldls@isgoat ~]$ 

I’ve tried to install some other stuff also, I kept getting the same error, I’ve ran all updates, made research but none is working, I would appreciate you guys support.
Thanks in advance

Can you share the full output of this command:

sudo pacman -Sv --debug code

In the future, don’t try to manually delete the files. It will almost never help.

This is the output of what i got

debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/break.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/chatRequestSent.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/chatResponsePending.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/chatResponseReceived1.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/chatResponseReceived2.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/chatResponseReceived3.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/chatResponseReceived4.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/clear.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/diffLineDeleted.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/diffLineInserted.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/diffLineModified.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/error.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/foldedAreas.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/format.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/quickFixes.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/save.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/taskCompleted.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/taskFailed.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/terminalBell.mp3
debug: extracting /usr/lib/code/out/vs/platform/audioCues/browser/media/warning.mp3
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/platform/files/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/platform/files/node/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/platform/files/node/watcher/
debug: extracting /usr/lib/code/out/vs/platform/files/node/watcher/watcherMain.js
debug: extracting /usr/lib/code/out/vs/platform/files/node/watcher/watcherMain.nls.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/platform/profiling/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/platform/profiling/electron-sandbox/
debug: extracting /usr/lib/code/out/vs/platform/profiling/electron-sandbox/profileAnalysisWorker.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/platform/terminal/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/platform/terminal/node/
debug: extracting /usr/lib/code/out/vs/platform/terminal/node/ptyHostMain.js
debug: extracting /usr/lib/code/out/vs/platform/terminal/node/ptyHostMain.nls.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/api/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/api/node/
debug: extracting /usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.js
debug: extracting /usr/lib/code/out/vs/workbench/api/node/extensionHostProcess.nls.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/api/worker/
debug: extracting /usr/lib/code/out/vs/workbench/api/worker/extensionHostWorker.js
debug: extracting /usr/lib/code/out/vs/workbench/api/worker/extensionHostWorker.nls.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/browser/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/browser/parts/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/browser/parts/editor/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/browser/parts/editor/media/
debug: extracting /usr/lib/code/out/vs/workbench/browser/parts/editor/media/back-tb.png
debug: extracting /usr/lib/code/out/vs/workbench/browser/parts/editor/media/forward-tb.png
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/debug/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/debug/browser/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/debug/browser/media/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/browser/media/continue-tb.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/browser/media/pause-tb.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/browser/media/restart-tb.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/browser/media/run-with-debugging-tb.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/browser/media/stepinto-tb.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/browser/media/stepout-tb.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/browser/media/stepover-tb.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/browser/media/stop-tb.png
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/debug/node/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/node/telemetryApp.js
debug: extracting /usr/lib/code/out/vs/workbench/contrib/debug/node/telemetryApp.nls.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/extensions/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/extensions/browser/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/extensions/browser/media/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/extensions/browser/media/language-icon.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/extensions/browser/media/theme-icon.png
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/externalTerminal/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/externalTerminal/node/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/externalTerminal/node/TerminalHelper.scpt
debug: extracting /usr/lib/code/out/vs/workbench/contrib/externalTerminal/node/iTermHelper.scpt
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/notebook/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/notebook/common/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/notebook/common/services/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.js
debug: extracting /usr/lib/code/out/vs/workbench/contrib/notebook/common/services/notebookSimpleWorker.nls.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/output/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/output/common/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/output/common/outputLinkComputer.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/terminal/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/terminal/browser/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data/fish/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data/fish/vendor_conf.d/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/fish_xdg_data/fish/vendor_conf.d/shellIntegration.fish
debug: extracting /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh
debug: extracting /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-env.zsh
debug: extracting /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-login.zsh
debug: extracting /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-profile.zsh
debug: extracting /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/shellIntegration-rc.zsh
debug: extracting /usr/lib/code/out/vs/workbench/contrib/terminal/browser/media/shellIntegration.ps1
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/webview/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/webview/browser/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/webview/browser/pre/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/webview/browser/pre/fake.html
debug: extracting /usr/lib/code/out/vs/workbench/contrib/webview/browser/pre/index-no-csp.html
debug: extracting /usr/lib/code/out/vs/workbench/contrib/webview/browser/pre/index.html
debug: extracting /usr/lib/code/out/vs/workbench/contrib/webview/browser/pre/service-worker.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/commandPalette.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/dark-hc.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/dark.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/debug.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/extensions-web.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/extensions.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/git.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/languages.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/learn.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/light-hc.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/light.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/menuBar.svg
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookThemes/
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookThemes/colab.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookThemes/default.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/notebookThemes/jupyter.png
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/openFolder.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/profiles.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/runTask.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/search.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/settings.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/settingsSync.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/shortcuts.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/terminal.svg
debug: extracting /usr/lib/code/out/vs/workbench/contrib/welcomeGettingStarted/common/media/workspaceTrust.svg
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/extensionManagement/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/extensionManagement/common/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/extensionManagement/common/media/
debug: extracting /usr/lib/code/out/vs/workbench/services/extensionManagement/common/media/defaultIcon.png
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/extensions/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/extensions/worker/
debug: extracting /usr/lib/code/out/vs/workbench/services/extensions/worker/webWorkerExtensionHostIframe.html
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/languageDetection/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/languageDetection/browser/
debug: extracting /usr/lib/code/out/vs/workbench/services/languageDetection/browser/languageDetectionSimpleWorker.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/search/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/search/worker/
debug: extracting /usr/lib/code/out/vs/workbench/services/search/worker/localFileSearch.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/textMate/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/textMate/browser/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/textMate/browser/backgroundTokenization/
debug: extract: skipping dir extraction of /usr/lib/code/out/vs/workbench/services/textMate/browser/backgroundTokenization/worker/
debug: extracting /usr/lib/code/out/vs/workbench/services/textMate/browser/backgroundTokenization/worker/textMateTokenizationWorker.worker.js
debug: extracting /usr/lib/code/out/vs/workbench/workbench.desktop.main.css
debug: extracting /usr/lib/code/out/vs/workbench/workbench.desktop.main.js
debug: extracting /usr/lib/code/out/vs/workbench/workbench.desktop.main.nls.js
debug: extract: skipping dir extraction of /usr/lib/code/out/vscode-dts/
debug: extracting /usr/lib/code/out/vscode-dts/vscode.d.ts
debug: extracting /usr/lib/code/package.json
debug: extracting /usr/lib/code/product.json
debug: extract: skipping dir extraction of /usr/lib/code/resources/
debug: extract: skipping dir extraction of /usr/lib/code/resources/linux/
debug: extracting /usr/lib/code/resources/linux/code.png
debug: extract: skipping dir extraction of /usr/share/
debug: extract: skipping dir extraction of /usr/share/applications/
debug: extracting /usr/share/applications/code-oss-url-handler.desktop
debug: extracting /usr/share/applications/code-oss.desktop
debug: extracting /usr/share/applications/code-url-handler.desktop
debug: extract: skipping dir extraction of /usr/share/bash-completion/
debug: extract: skipping dir extraction of /usr/share/bash-completion/completions/
debug: extracting /usr/share/bash-completion/completions/code
debug: extracting /usr/share/bash-completion/completions/code-oss
debug: extract: skipping dir extraction of /usr/share/licenses/
debug: extract: skipping dir extraction of /usr/share/licenses/code/
debug: extracting /usr/share/licenses/code/LICENSE
debug: extracting /usr/share/licenses/code/ThirdPartyNotices.txt
debug: extract: skipping dir extraction of /usr/share/metainfo/
debug: extracting /usr/share/metainfo/code-oss.appdata.xml
debug: extract: skipping dir extraction of /usr/share/pixmaps/
debug: extracting /usr/share/pixmaps/com.visualstudio.code.oss.png
debug: extract: skipping dir extraction of /usr/share/zsh/
debug: extract: skipping dir extraction of /usr/share/zsh/site-functions/
debug: extracting /usr/share/zsh/site-functions/_code
debug: extracting /usr/share/zsh/site-functions/_code-oss
debug: updating database
debug: adding database entry 'code'
debug: writing code-1.86.0-1 DESC information back to db
debug: writing code-1.86.0-1 FILES information back to db
debug: adding entry 'code' in 'local' cache
debug: running ldconfig
debug: executing "/usr/bin/ldconfig" under chroot "/"
debug: call to waitpid succeeded
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-hwdb.hook
debug: parsing hook file /usr/share/libalpm/hooks/gdk-pixbuf-query-loaders.hook
debug: parsing hook file /usr/share/libalpm/hooks/90-update-appstream-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/rebuild-detector.hook
debug: parsing hook file /usr/share/libalpm/hooks/glib-compile-schemas.hook
debug: parsing hook file /usr/share/libalpm/hooks/60-depmod.hook
debug: parsing hook file /usr/share/libalpm/hooks/90-kernel-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-user.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-lsb-release.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-os-release.hook
debug: parsing hook file /usr/share/libalpm/hooks/update-desktop-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/dbus-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-udev-reload.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-update-icon-cache.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-catalog.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/detect-old-perl-modules.hook
debug: parsing hook file /usr/share/libalpm/hooks/gio-querymodules.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-update-mime-database.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-update-ca-trust.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk4-querymodules.hook
debug: parsing hook file /usr/share/libalpm/hooks/20-systemd-sysusers.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-binfmt.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-reboot-required.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-install.hook
debug: parsing hook file /usr/share/libalpm/hooks/90-kernel-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/nvimdoc.hook
debug: parsing hook file /usr/share/libalpm/hooks/gtk-query-immodules-3.0.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-tmpfiles.hook
debug: parsing hook file /usr/share/libalpm/hooks/40-fontconfig-config.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-daemon-reload-system.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-hooks.hook
debug: parsing hook file /usr/share/libalpm/hooks/dconf-update.hook
debug: parsing hook file /usr/share/libalpm/hooks/fontconfig.hook
debug: parsing hook file /usr/share/libalpm/hooks/eos-rankmirrors.hook
debug: parsing hook file /usr/share/libalpm/hooks/30-systemd-sysctl.hook
debug: parsing hook file /usr/share/libalpm/hooks/texinfo-remove.hook
debug: parsing hook file /usr/share/libalpm/hooks/systemd-boot.hook
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
debug: executing "/usr/share/libalpm/scripts/systemd-hook" under chroot "/"
debug: call to waitpid succeeded
(2/3) Checking which packages need to be rebuilt
debug: executing "/usr/bin/checkrebuild" under chroot "/"
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_ADDRESS = "ak_GH",
        LC_NAME = "ak_GH",
        LC_MONETARY = "ak_GH",
        LC_PAPER = "ak_GH",
        LC_IDENTIFICATION = "ak_GH",
        LC_TELEPHONE = "ak_GH",
        LC_MEASUREMENT = "ak_GH",
        LC_TIME = "en_NG.UTF-8",
        LC_NUMERIC = "en_NG.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_ADDRESS = "ak_GH",
        LC_NAME = "ak_GH",
        LC_MONETARY = "ak_GH",
        LC_PAPER = "ak_GH",
        LC_IDENTIFICATION = "ak_GH",
        LC_TELEPHONE = "ak_GH",
        LC_MEASUREMENT = "ak_GH",
        LC_TIME = "en_NG.UTF-8",
        LC_NUMERIC = "en_NG.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_ADDRESS = "ak_GH",
        LC_NAME = "ak_GH",
        LC_MONETARY = "ak_GH",
        LC_PAPER = "ak_GH",
        LC_IDENTIFICATION = "ak_GH",
        LC_TELEPHONE = "ak_GH",
        LC_MEASUREMENT = "ak_GH",
        LC_TIME = "en_NG.UTF-8",
        LC_NUMERIC = "en_NG.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
debug: call to waitpid succeeded
(3/3) Updating the desktop file MIME type cache...
debug: executing "/usr/bin/update-desktop-database" under chroot "/"
debug: call to waitpid succeeded
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'endeavouros'
debug: freeing package cache for repository 'endeavouros'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: unregistering database 'multilib'

It looks like it worked without error.

Try running sudo paccheck --list-broken --md5sum to see if any of your packages have issues.

It is normal for some packages to show up on that list so please post the output here.

This is what I got

[sudo] password for emeraldls: 
eos-plasma-sddm-config
filesystem
lsb-release
warning: tcl: '/usr/share/man/mann/code.n.gz' read error (No such file or directory)

You probably should reinstall tcl but I doubt that is causing you any issues.

Can you share the full output from sudo pacman -Syu

Here it’s

[sudo] password for emeraldls: 
:: Synchronizing package databases...
 endeavouros is up to date
 core                                                       129.3 KiB  33.5 KiB/s 00:04 [--------------------------------------------------] 100%
 extra                                                        8.3 MiB   207 KiB/s 00:41 [--------------------------------------------------] 100%
 multilib                                                   140.3 KiB  39.7 KiB/s 00:04 [--------------------------------------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (7)             Old Version  New Version  Net Change  Download Size

core/archlinux-keyring  20231222-1   20240208-1     0.00 MiB       1.16 MiB
core/expat              2.5.0-1      2.6.0-1        0.02 MiB       0.11 MiB
extra/ffmpeg            2:6.1.1-3    2:6.1.1-5      0.01 MiB      11.64 MiB
core/gc                 8.2.4-1      8.2.6-1        0.00 MiB       0.23 MiB
extra/libadwaita        1:1.4.2-1    1:1.4.3-1      0.01 MiB       0.55 MiB
extra/libhandy          1.8.2-1      1.8.3-1       -0.03 MiB       0.45 MiB
extra/libmanette        0.2.6-5      0.2.7-1        0.00 MiB       0.05 MiB

Total Download Size:   14.20 MiB
Total Installed Size:  49.20 MiB
Net Upgrade Size:       0.02 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 libadwaita-1:1.4.3-1-x86_64                                563.8 KiB   126 KiB/s 00:04 [--------------------------------------------------] 100%
 gc-8.2.6-1-x86_64                                          234.7 KiB  48.7 KiB/s 00:05 [--------------------------------------------------] 100%
 expat-2.6.0-1-x86_64                                       116.9 KiB   147 KiB/s 00:01 [--------------------------------------------------] 100%
 libmanette-0.2.7-1-x86_64                                   54.5 KiB  76.3 KiB/s 00:01 [--------------------------------------------------] 100%
 libhandy-1.8.3-1-x86_64                                    460.7 KiB  75.7 KiB/s 00:06 [--------------------------------------------------] 100%
 archlinux-keyring-20240208-1-any                          1189.5 KiB   184 KiB/s 00:06 [--------------------------------------------------] 100%
 ffmpeg-2:6.1.1-5-x86_64                                     11.6 MiB   439 KiB/s 00:27 [--------------------------------------------------] 100%
 Total (7/7)                                                 14.2 MiB   529 KiB/s 00:27 [--------------------------------------------------] 100%
(7/7) checking keys in keyring                                                          [--------------------------------------------------] 100%
(7/7) checking package integrity                                                        [--------------------------------------------------] 100%
(7/7) loading package files                                                             [--------------------------------------------------] 100%
(7/7) checking for file conflicts                                                       [--------------------------------------------------] 100%
:: Processing package changes...
(1/7) upgrading expat                                                                   [--------------------------------------------------] 100%
(2/7) upgrading archlinux-keyring                                                       [--------------------------------------------------] 100%
==> Appending keys from archlinux.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2024-04-10
(3/7) upgrading ffmpeg                                                                  [--------------------------------------------------] 100%
(4/7) upgrading gc                                                                      [--------------------------------------------------] 100%
(5/7) upgrading libadwaita                                                              [--------------------------------------------------] 100%
(6/7) upgrading libhandy                                                                [--------------------------------------------------] 100%
(7/7) upgrading libmanette                                                              [--------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Checking which packages need to be rebuilt
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_ADDRESS = "ak_GH",
        LC_NAME = "ak_GH",
        LC_MONETARY = "ak_GH",
        LC_PAPER = "ak_GH",
        LC_IDENTIFICATION = "ak_GH",
        LC_TELEPHONE = "ak_GH",
        LC_MEASUREMENT = "ak_GH",
        LC_TIME = "en_NG.UTF-8",
        LC_NUMERIC = "en_NG.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_ADDRESS = "ak_GH",
        LC_NAME = "ak_GH",
        LC_MONETARY = "ak_GH",
        LC_PAPER = "ak_GH",
        LC_IDENTIFICATION = "ak_GH",
        LC_TELEPHONE = "ak_GH",
        LC_MEASUREMENT = "ak_GH",
        LC_TIME = "en_NG.UTF-8",
        LC_NUMERIC = "en_NG.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = "",
        LC_ALL = (unset),
        LC_ADDRESS = "ak_GH",
        LC_NAME = "ak_GH",
        LC_MONETARY = "ak_GH",
        LC_PAPER = "ak_GH",
        LC_IDENTIFICATION = "ak_GH",
        LC_TELEPHONE = "ak_GH",
        LC_MEASUREMENT = "ak_GH",
        LC_TIME = "en_NG.UTF-8",
        LC_NUMERIC = "en_NG.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to a fallback locale ("en_US.UTF-8").

Other than that locale issue, everything seems to be working fine now.