I get the message that the package is wrong or corrupt

The only thing I get is:
bash: pamac/pacman: Bestand of map bestaat niet - (no such file or folder)

paccache -ruk0
sudo pacman -Rs $(pacman -Qqdt)
sudo pacman -Sc
sudo pacman -Syyu

This is what happens when run the paccache and pacman commands:

[ulbe@ulbe-aspire5 ~]$ paccache -ruk0
==> Escalating privileges using sudo
[sudo] wachtwoord voor ulbe: 

==> finished: 12 packages removed (disk space saved: 11.34 MiB)
[ulbe@ulbe-aspire5 ~]$ sudo pacman -Rs $(pacman -Qqdt)
afhankelijkheden controleren...

Pakketten (7) qt5-script-5.15.10-1  cauchy-0.9.0-3  gsl-2.7.1-1  kdiagram-2.8.0-1  kross-5.94.0-1  libkipi-21.12.3-1  libspnav-1.0-1

Totale verwijderde grootte:  17,65 MiB

:: Wilt u deze pakketten verwijderen? [J/n] j
:: Pre-transactie-hooks uitvoeren...
(1/1) Removing old entries from the info directory file...
:: Pakketveranderingen verwerken...
(1/7) verwijderen libspnav                                                                                                     [############################################################################] 100%
(2/7) verwijderen libkipi                                                                                                      [############################################################################] 100%
(3/7) verwijderen kross                                                                                                        [############################################################################] 100%
(4/7) verwijderen qt5-script                                                                                                   [############################################################################] 100%
(5/7) verwijderen kdiagram                                                                                                     [############################################################################] 100%
(6/7) verwijderen gsl                                                                                                          [############################################################################] 100%
(7/7) verwijderen cauchy                                                                                                       [############################################################################] 100%
:: Post-transactie-hooks uitvoeren...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Refreshing PackageKit...
(3/3) Updating icon theme caches...
[ulbe@ulbe-aspire5 ~]$ sudo pacman -Sc
Pakketten om te behouden:
  Alle lokaal geïnstalleerde pakketten

Cache map: /var/cache/pacman/pkg/
:: Wilt u alle andere pakketten verwijderen uit de cache? [J/n] j
oude pakketten uit de cache verwijderen...

Database map: /var/lib/pacman/
:: Wilt u ongebruikte repositories verwijderen? [J/n] j
ongebruikte synchronisatie repositories verwijderen...
[ulbe@ulbe-aspire5 ~]$ sudo pacman -Syyu
:: Pakket-databases synchroniseren...
 archlinuxcn                                                                                      1889,2 KiB  5,18 MiB/s 00:00 [############################################################################] 100%
 core                                                                                              167,4 KiB  1258 KiB/s 00:00 [############################################################################] 100%
 extra                                                                                            1863,2 KiB  9,94 MiB/s 00:00 [############################################################################] 100%
 community                                                                                           7,0 MiB  18,8 MiB/s 00:00 [############################################################################] 100%
 multilib                                                                                          175,5 KiB  5,19 MiB/s 00:00 [############################################################################] 100%
:: Volledige systeemsupgrade starten...
waarschuwing:timeshift: lokaal (22.06.1-1) is nieuwer dan archlinuxcn (21.09.1-4)
:: v86d vervangen door archlinuxcn/uvesafb-dkms? [J/n] j
afhankelijkheden oplossen...
zoeken naar conflicterende pakketten...

Pakketten (229) alsa-card-profiles-1:0.3.52-2  alsa-lib-1.2.7.1-1  alsa-plugins-1:1.2.7.1-1  alsa-ucm-conf-1.2.7.1-1  android-tools-31.0.3-6  android-udev-20220611-1  aom-3.4.0-1
                archlinux-appstream-data-20220618-1  attica-5.95.0-1  baloo-5.95.0-1  bluez-qt-5.95.0-1  boost-libs-1.79.0-1  breeze-icons-5.95.0-1  ceph-libs-15.2.14-6  clementine-1.4.0rc2-2  dkms-3.0.3-1
                e2fsprogs-1.46.5-4  ffmpeg-2:5.0.1-3  ffmpeg4.4-4.4.2-3  fftw-3.3.10-3  file-5.42-1  firefox-102.0-1  firefox-i18n-nl-102.0-1  frameworkintegration-5.95.0-1  glibc-locales-2.35-1
                glslang-11.10.0-1  gst-libav-1.20.3-1  gst-plugins-bad-1.20.3-1  gst-plugins-bad-libs-1.20.3-1  gst-plugins-base-1.20.3-1  gst-plugins-base-libs-1.20.3-1  gst-plugins-good-1.20.3-1
                gst-plugins-ugly-1.20.3-1  gstreamer-1.20.3-1  hwinfo-21.81-1  imagemagick-7.1.0.39-1  imath-3.1.5-2  inxi-3.3.19.1-1  kactivities-5.95.0-1  kactivities-stats-5.95.0-1  karchive-5.95.0-1
                kauth-5.95.0-1  kbd-2.5.1-1  kbookmarks-5.95.0-1  kcmutils-5.95.0-1  kcodecs-5.95.0-1  kcompletion-5.95.0-1  kconfig-5.95.0-1  kconfigwidgets-5.95.0-1  kcontacts-1:5.95.0-1
                kcoreaddons-5.95.0-1  kcrash-5.95.0-1  kdbusaddons-5.95.0-1  kdeclarative-5.95.0-1  kded-5.95.0-1  kdelibs4support-5.95.0-1  kdesu-5.95.0-1  kdnssd-5.95.0-1  kdoctools-5.95.0-1
                kemoticons-5.95.0-1  kfilemetadata-5.95.0-1  kglobalaccel-5.95.0-1  kguiaddons-5.95.0-1  kholidays-1:5.95.0-1  khtml-5.95.0-1  ki18n-5.95.0-1  kiconthemes-5.95.0-1  kidletime-5.95.0-1
                kimageformats-5.95.0-1  kinit-5.95.0-1  kio-5.95.0-1  kirigami2-5.95.0-1  kitemmodels-5.95.0-1  kitemviews-5.95.0-1  kjobwidgets-5.95.0-1  kjs-5.95.0-1  knewstuff-5.95.0-1
                knotifications-5.95.0-1  knotifyconfig-5.95.0-1  kpackage-5.95.0-1  kparts-5.95.0-1  kpeople-5.95.0-1  kpty-5.95.0-1  kquickcharts-5.95.0-1  krunner-5.95.0-1  kservice-5.95.0-1
                ktexteditor-5.95.0-1  ktextwidgets-5.95.0-1  kunitconversion-5.95.0-1  kwallet-5.95.0-1  kwayland-5.95.0-1  kwidgetsaddons-5.95.0-1  kwin-5.24.5-3  kwindowsystem-5.95.0-1  kxmlgui-5.95.0-1
                lib32-alsa-lib-1.2.7.1-1  lib32-alsa-plugins-1.2.7.1-1  lib32-libpulse-16.1-1  lib32-libva-mesa-driver-22.1.2-1  lib32-libx11-1.8.1-1  lib32-mesa-22.1.2-1  lib32-mesa-demos-8.5.0-1
                lib32-mesa-vdpau-22.1.2-1  lib32-openssl-1:1.1.1.p-1  lib32-tdb-1.4.7-1  lib32-vulkan-icd-loader-1.3.217-1  lib32-vulkan-intel-22.1.2-1  lib32-vulkan-radeon-22.1.2-1  libappimage-1.0.4.5-2
                libass-0.16.0-1  libavif-0.10.1-2  libbluray-1.3.1-1  libbytesize-2.7-1  libidn-1.40-1  libinput-1.21.0-1  libixion-0.17.0-2  libmtp-1.1.19-2  libnm-1.38.2-1  libopenmpt-0.6.4-1
                liborcus-0.17.2-2  libplacebo-4.192.1-3  libpulse-16.1-1  libreoffice-fresh-7.3.4-2  librsvg-2:2.54.4-1  libtorrent-rasterbar-1:2.0.6-2  libutempter-1.2.1-3  libva-mesa-driver-22.1.2-1
                libwacom-2.3.0-1  linux-firmware-20220610.7b71b75-1  linux-firmware-whence-20220610.7b71b75-1  linux515-5.15.49-1  linux518-5.18.6-1  manjaro-hello-0.7.0-1  manjaro-release-21.3.1-1
                manjaro-settings-manager-0.5.7-5  manjaro-settings-manager-kcm-0.5.7-5  manjaro-settings-manager-knotifier-0.5.7-5  mesa-22.1.2-1  mesa-demos-8.5.0-2  mesa-utils-8.5.0-2  mesa-vdpau-22.1.2-1
                modemmanager-qt-5.95.0-1  networkmanager-1.38.2-1  networkmanager-qt-5.95.0-1  noto-fonts-20220607-1  okular-22.04.2-3  openconnect-1:9.01-2  openssl-1.1.1.p-1  oxygen-icons-1:5.95.0-1
                pacman-6.0.1-10  pciutils-3.8.0-2  pcsclite-1.9.8-1  pipewire-1:0.3.52-2  plasma-framework-5.95.0-2  plasma-integration-5.24.5-2  prison-5.95.0-1  protobuf-21.1-1  protobuf-c-1.4.0-4
                pulseaudio-16.1-1  pulseaudio-alsa-1:1.2.7.1-1  pulseaudio-bluetooth-16.1-1  pulseaudio-zeroconf-16.1-1  purpose-5.95.0-1  pyside6-6.3.1-1  python-contextlib2-21.6.0-1
                python-jaraco.context-4.1.1-2  python-jaraco.functools-3.5.0-2  python-jaraco.text-3.8.0-2  python-more-itertools-8.13.0-1  python-nspektr-0.4.0-1  python-pyqt5-5.15.7-1
                python-pyqt5-sip-12.11.0-1  python-reportlab-3.6.10-1  python-setuptools-1:61.3.1-1  python-trove-classifiers-2022.5.19-1  python-validate-pyproject-0.9-1  qbittorrent-4.4.3.1-3
                qqc2-desktop-style-5.95.0-1  qt5-base-5.15.5+kde+r163-1  qt5-declarative-5.15.5+kde+r19-1  qt5-graphicaleffects-5.15.5+kde+r0-1  qt5-imageformats-5.15.5+kde+r3-1  qt5-location-5.15.5+kde+r3-1
                qt5-multimedia-5.15.5+kde+r1-1  qt5-quickcontrols-5.15.5+kde+r0-1  qt5-quickcontrols2-5.15.5+kde+r5-1  qt5-sensors-5.15.5+kde+r0-1  qt5-speech-5.15.5+kde+r1-1  qt5-svg-5.15.5+kde+r10-1
                qt5-tools-5.15.5+kde+r1-1  qt5-translations-5.15.5+kde+r2-1  qt5-virtualkeyboard-5.15.5+kde+r3-1  qt5-wayland-5.15.5+kde+r38-1  qt5-webchannel-5.15.5+kde+r3-1  qt5-webengine-5.15.10-2
                qt5-x11extras-5.15.5+kde+r0-1  qt6-base-6.3.1-1  qt6-declarative-6.3.1-1  qt6-svg-6.3.1-1  qt6-translations-6.3.1-1  rubygems-3.3.15-1  samba-4.16.2-1  shaderc-2022.1-4  shiboken6-6.3.1-1
                smbclient-4.16.2-1  snapd-2.56.2-1  sof-firmware-2.1.1.a-1  solid-5.95.0-1  sonnet-5.95.0-1  speex-1.2.1-1  speexdsp-1.2.1-1  srt-1.5.0-1  sudo-1.9.11.p2-1  svt-av1-1.1.0-1
                syndication-5.95.0-1  syntax-highlighting-5.95.0-1  threadweaver-5.95.0-1  uvesafb-dkms-1.0.4-1  v86d-0.1.10-6 [verwijdering]  vlc-3.0.17.4-6  vulkan-headers-1:1.3.217-1
                vulkan-icd-loader-1.3.217-1  vulkan-intel-22.1.2-1  vulkan-radeon-22.1.2-1  vulkan-tools-1.3.217-1  xapp-2.2.11-1  xcb-proto-1.15.2-1  zimg-3.0.4-1  zstd-1.5.2-7

Totale geïnstalleerde grootte:   3543,70 MiB
Netto upgrade-grootte:              5,55 MiB

:: Doorgaan met de installatie? [J/n] j
(228/228) sleutels in sleutelbos controleren                                                                                   [############################################################################] 100%
(228/228) pakketintegriteit controleren                                                                                        [############################################################################] 100%
fout:inxi: handtekening van "lilac (build machine) <lilac@build.archlinuxcn.org>" is onbekend vertrouwd
:: Bestand /var/cache/pacman/pkg/inxi-3.3.19.1-1-any.pkg.tar.zst is corrupt (ongeldig of corrupt pakket (PGP handtekening)).
Wilt u dit bestand verwijderen? [J/n] j
fout:uvesafb-dkms: handtekening van "lilac (build machine) <lilac@build.archlinuxcn.org>" is onbekend vertrouwd
:: Bestand /var/cache/pacman/pkg/uvesafb-dkms-1.0.4-1-x86_64.pkg.tar.zst is corrupt (ongeldig of corrupt pakket (PGP handtekening)).
Wilt u dit bestand verwijderen? [J/n] j
fout:fout bij het uitvoeren van de transactie (ongeldig of corrupt pakket)
Er zijn fouten opgetreden, geen enkel pakket geüpgraded.

If you need help translating the Dutch lines, let me know.

restart your machine
run:
sudo pacman -Syu
or
pamac update

Same result I’m afraid:

Totale download grootte: 272,4 MB
Totale installatiegrootte: 6,0 MB
Totale verwijderde grootte: 137,9 kB

Overdracht toepassen ? [j/N] j
linux518 (5.18.6-1) wordt gedownload                                                                                                                                                                              
linux-firmware (20220610.7b71b75-1) wordt gedownload                                                                                                                                                              
inxi (3.3.19.1-1) wordt gedownload                                                                                                                                                                                
uvesafb-dkms (1.0.4-1) wordt gedownload                                                                                                                                                                           
uvesafb-dkms (1.0.4-1) is gedownload                                                                                                                                                                              
inxi (3.3.19.1-1) is gedownload                                                                                                                                                                                   
linux-firmware (20220610.7b71b75-1) is gedownload                                                                                                                                                                 
linux518 (5.18.6-1) is gedownload                                                                                                                                                                                 
Bezig met controleren van sleutelbos...                                                                                                                                                                  [228/228]
Bezig met controleren van integriteit...                                                                                                                                                                 [228/228]
Fout: inxi: handtekening van "lilac (build machine) <lilac@build.archlinuxcn.org>" is onbekend vertrouwd
Fout: uvesafb-dkms: handtekening van "lilac (build machine) <lilac@build.archlinuxcn.org>" is onbekend vertrouwd
Removing invalid files and retrying...
Bezig met oplossen van afhankelijkheden...
Bezig met controleren van interne conflicten...
inxi (3.3.19.1-1) wordt gedownload                                                                                                                                                                                
uvesafb-dkms (1.0.4-1) wordt gedownload                                                                                                                                                                           
uvesafb-dkms (1.0.4-1) is gedownload                                                                                                                                                                              
inxi (3.3.19.1-1) is gedownload                                                                                                                                                                                   
Bezig met controleren van sleutelbos...                                                                                                                                                                  [228/228]
Bezig met controleren van integriteit...                                                                                                                                                                 [228/228]
Fout: inxi: handtekening van "lilac (build machine) <lilac@build.archlinuxcn.org>" is onbekend vertrouwd
Fout: uvesafb-dkms: handtekening van "lilac (build machine) <lilac@build.archlinuxcn.org>" is onbekend vertrouwd
Fout: Het uitvoeren van de overdracht is mislukt: ongeldig of corrupt pakket:
[

Please see:

I’ve done it for you this time. :wink:

Please also preface your command with LC_ALL=C to convert the output to English; i.e.,

LC_ALL=C pamac update

what is output from:
pacman -Dk

I’m a rookie…

[ulbe@ulbe-aspire5 ~]$ LC_ALL=C pacman -Dk
No database errors have been found!

try these commands:
sudo pacman -Scc
sudo pacman -Syy
sudo pacman-key --refresh-keys
sudo pacman-key --populate archlinux manjaro
sudo pacman -Syyu

:: Proceed with installation? [Y/n] y
(228/228) checking keys in keyring                                                                                             [############################################################################] 100%
(228/228) checking package integrity                                                                                           [############################################################################] 100%
error: inxi: signature from "lilac (build machine) <lilac@build.archlinuxcn.org>" is unknown trust
:: File /var/cache/pacman/pkg/inxi-3.3.19.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: uvesafb-dkms: signature from "lilac (build machine) <lilac@build.archlinuxcn.org>" is unknown trust
:: File /var/cache/pacman/pkg/uvesafb-dkms-1.0.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Here’s the last part of the output:

:: Proceed with installation? [Y/n] y
(228/228) checking keys in keyring                                                                                             [############################################################################] 100%
(228/228) checking package integrity                                                                                           [############################################################################] 100%
error: inxi: signature from "lilac (build machine) <lilac@build.archlinuxcn.org>" is unknown trust
:: File /var/cache/pacman/pkg/inxi-3.3.19.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: uvesafb-dkms: signature from "lilac (build machine) <lilac@build.archlinuxcn.org>" is unknown trust
:: File /var/cache/pacman/pkg/uvesafb-dkms-1.0.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

did you run all of the commands?

Sure, one by one.

The third command generated many lines starting with ‘Error’

and this:
sudo pacman -Syvv
sudo pacman -Syyu
yes the command gives errors, but they should be ignored…

Sorry Brahma, the result is the same:

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 inxi-3.3.19.1-1-any                                                                               292.8 KiB  10.6 MiB/s 00:00 [############################################################################] 100%
 uvesafb-dkms-1.0.4-1-x86_64                                                                        58.9 KiB  5.75 MiB/s 00:00 [############################################################################] 100%
 Total (2/2)                                                                                       351.7 KiB  6.02 MiB/s 00:00 [############################################################################] 100%
(228/228) checking keys in keyring                                                                                             [############################################################################] 100%
(228/228) checking package integrity                                                                                           [############################################################################] 100%
error: inxi: signature from "lilac (build machine) <lilac@build.archlinuxcn.org>" is unknown trust
:: File /var/cache/pacman/pkg/inxi-3.3.19.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: uvesafb-dkms: signature from "lilac (build machine) <lilac@build.archlinuxcn.org>" is unknown trust
:: File /var/cache/pacman/pkg/uvesafb-dkms-1.0.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

and this:
sudo rm -rf /etc/pacman.d/gnupg
sudo rm -R /root/.gnupg/
sudo rm -f /var/lib/pacman/sync/*
sudo pacman-key --init
sudo pacman-key --populate archlinux manjaro
sudo pacman -Sy gnupg archlinux-keyring manjaro-keyring
sudo pacman-key --refresh-keys
sudo pacman -Syyu

Sorry again Brahma: no difference, the output is the same.

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 inxi-3.3.19.1-1-any                                                                               292.8 KiB  11.0 MiB/s 00:00 [############################################################################] 100%
 uvesafb-dkms-1.0.4-1-x86_64                                                                        58.9 KiB  5.75 MiB/s 00:00 [############################################################################] 100%
 Total (2/2)                                                                                       351.7 KiB  6.13 MiB/s 00:00 [############################################################################] 100%
(228/228) checking keys in keyring                                                                                             [############################################################################] 100%
(228/228) checking package integrity                                                                                           [############################################################################] 100%
error: inxi: signature from "lilac (build machine) <lilac@build.archlinuxcn.org>" is unknown trust
:: File /var/cache/pacman/pkg/inxi-3.3.19.1-1-any.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: uvesafb-dkms: signature from "lilac (build machine) <lilac@build.archlinuxcn.org>" is unknown trust
:: File /var/cache/pacman/pkg/uvesafb-dkms-1.0.4-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n] y
error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded.

Any more tricks up your sleeve?

try this:
go to /etc/pacman.conf, and locate the following section:
SigLevel = Required DatabaseOptional
and change the SigLevel to:
SigLevel = Required DatabaseNever
and then run again these:
sudo rm -rf /etc/pacman.d/gnupg
sudo rm -R /root/.gnupg/
sudo rm -f /var/lib/pacman/sync/*
sudo pacman-key --init
sudo pacman-key --populate archlinux manjaro
sudo pacman -Sy gnupg archlinux-keyring manjaro-keyring
sudo pacman-key --refresh-keys
sudo pacman -Syyu

This took more time, pity, the result is the same.
I could paste the output, but it doesn’t give any new information.

Are we getting near a new installation?