Unable to figure out how to really upgrade packages

Hello all,

I’ve recently experienced a big error while upgrading endeavourOS, unfortunately I am unable to find any fixes.

Here is the list of commands I tried:

sudo pacman -Syu

Here is the error which I experience:

apparmor: /usr/share/locale/wa/LC_MESSAGES/apparmor-parser.mo exists in filesystem
apparmor: /usr/share/locale/xh/LC_MESSAGES/apparmor-parser.mo exists in filesystem
apparmor: /usr/share/locale/zh_CN/LC_MESSAGES/apparmor-parser.mo exists in filesystem
apparmor: /usr/share/locale/zh_CN/LC_MESSAGES/apparmor-utils.mo exists in filesystem
apparmor: /usr/share/locale/zh_TW/LC_MESSAGES/apparmor-parser.mo exists in filesystem
apparmor: /usr/share/locale/zu/LC_MESSAGES/apparmor-parser.mo exists in filesystem
apparmor: /usr/share/man/man1/aa-enabled.1.gz exists in filesystem
apparmor: /usr/share/man/man1/aa-exec.1.gz exists in filesystem
apparmor: /usr/share/man/man1/aa-features-abi.1.gz exists in filesystem
apparmor: /usr/share/man/man2/aa_change_hat.2.gz exists in filesystem
apparmor: /usr/share/man/man2/aa_change_profile.2.gz exists in filesystem
apparmor: /usr/share/man/man2/aa_find_mountpoint.2.gz exists in filesystem
apparmor: /usr/share/man/man2/aa_getcon.2.gz exists in filesystem
apparmor: /usr/share/man/man2/aa_query_label.2.gz exists in filesystem
apparmor: /usr/share/man/man2/aa_stack_profile.2.gz exists in filesystem
apparmor: /usr/share/man/man3/aa_features.3.gz exists in filesystem
apparmor: /usr/share/man/man3/aa_kernel_interface.3.gz exists in filesystem
apparmor: /usr/share/man/man3/aa_policy_cache.3.gz exists in filesystem
apparmor: /usr/share/man/man3/aa_splitcon.3.gz exists in filesystem
apparmor: /usr/share/man/man5/apparmor.d.5.gz exists in filesystem
apparmor: /usr/share/man/man5/apparmor.vim.5.gz exists in filesystem
apparmor: /usr/share/man/man5/logprof.conf.5.gz exists in filesystem
apparmor: /usr/share/man/man7/apparmor.7.gz exists in filesystem
apparmor: /usr/share/man/man7/apparmor_xattrs.7.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-audit.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-autodep.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-cleanprof.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-complain.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-decode.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-disable.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-easyprof.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-enforce.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-genprof.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-logprof.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-mergeprof.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-notify.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-remove-unknown.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-status.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-teardown.8.gz exists in filesystem
apparmor: /usr/share/man/man8/aa-unconfined.8.gz exists in filesystem
apparmor: /usr/share/man/man8/apparmor_parser.8.gz exists in filesystem
apparmor: /usr/share/man/man8/apparmor_status.8.gz exists in filesystem
apparmor: /usr/share/man/man8/mod_apparmor.8.gz exists in filesystem
apparmor: /usr/share/vim/vimfiles/syntax/apparmor.vim exists in filesystem
Errors occurred, no packages were upgraded.

Please let me know any fixes, I appreciate your help :smiley:

PS: I am kinda new, I mostly don’t understand some terms about endeavourOS, I sincerely request to explain what you say.

The post below explains and offers solutions to this kind of problem:

2 Likes

Hello @klv

Thanks for responding I tried what the post says, it just throws the same bunch of errors again. I am not sure how to proceed to fix this, Do you have any other fixes that might help? Cheers!

Try: sudo pacman -S apparmor --overwrite '*'

You guys are awesome!, that ultimately fixed it Cheers!. Can I know why the first command didn’t work but the one with '*' did? Thanks!

Difficult to say without knowing what was exact the first command you ran.

sudo pacman -S apparmor --overwrite '*' will overwrite all the existing files for the package apparmor.