Pacman errors after merging .pacnew

From post#2: Known Issues and solutions

1 Like

I followed these and now I have this

warning: config file /etc/pacman.conf, line 83: directive ‘<<<<<<< /etc/pacman.conf’ in section ‘extra’ not recognized.
warning: config file /etc/pacman.conf, line 88: directive ‘||||||| /tmp/pacdiff-merge-pacman.conf.0CD/pacman.conf.base.4l0’ in section ‘community’ not recognized.
warning: config file /etc/pacman.conf, line 92: directive ‘’ in section ‘community’ not recognized.
warning: config file /etc/pacman.conf, line 93: directive ‘>>>>>>> /etc/pacman.conf.pacnew’ in section ‘community’ not recognized.
error: could not register ‘community’ database (database already registered)

In my output when running pacman.

/etc/pacman.conf.pacnew was created during this update to remove community repository configuration because community repository packages have been moved to extra repository

There are 3 warnings about ‘community’ (line 88, 92 and 93) but configuration of community repository would usually be 2 consecutive lines
Error message that community database is already registered suggests configuration of community repository has been duplicated instead of being removed

Please post contents of pacman.conf

cat /etc/pacman.conf

configuration of repositories should look like this:

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib]
Include = /etc/pacman.d/mirrorlist

delete configuration for community repository if it has not been removed already

[community]
Include = /etc/pacman.d/mirrorlist