missing icu dependceny

Description:

downgrading the icu package result in pacman being broken

Steps to reproduce:

$ sudo pacman -U https://archive.archlinux.org/packages/i/icu/icu-73.2-2-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package icu (74.2-2 => 73.2-2)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing icu (73.2-2) breaks dependency 'libicuuc.so=74-64' required by gspell
:: installing icu (73.2-2) breaks dependency 'libicuuc.so=74-64' required by harfbuzz-icu
:: installing icu (73.2-2) breaks dependency 'libicuuc.so=74-64' required by raptor
$ sudo pacman -U https://archive.archlinux.org/packages/i/icu/icu-73.2-2-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/g/gspell/gspell-1.12.2-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/h/harfbuzz-icu/harfbuzz-icu-8.3.0-1-x86_64.pkg.tar.zst https://archive.archlinux.org/packages/r/raptor/raptor-2.0.16-3-x86_64.pkg.tar.zst
loading packages...
warning: downgrading package icu (74.2-2 => 73.2-2)
warning: downgrading package gspell (1.12.2-2 => 1.12.2-1)
warning: downgrading package harfbuzz-icu (8.4.0-2 => 8.3.0-1)
warning: downgrading package raptor (2.0.16-4 => 2.0.16-3)
resolving dependencies...
looking for conflicting packages...

Packages (4) gspell-1.12.2-1  harfbuzz-icu-8.3.0-1  icu-73.2-2  raptor-2.0.16-3

Total Installed Size:  44.21 MiB
Net Upgrade Size:       1.37 MiB

:: Proceed with installation? [Y/n] Y
(4/4) checking keys in keyring                                                                                                                                                   [##############################################################################################################] 100%
(4/4) checking package integrity                                                                                                                                                 [##############################################################################################################] 100%
(4/4) loading package files                                                                                                                                                      [##############################################################################################################] 100%
(4/4) checking for file conflicts                                                                                                                                                [##############################################################################################################] 100%
(4/4) checking available disk space                                                                                                                                              [##############################################################################################################] 100%
:: Processing package changes...
(1/4) downgrading icu                                                                                                                                                            [##############################################################################################################] 100%
(2/4) downgrading gspell                                                                                                                                                         [##############################################################################################################] 100%
(3/4) downgrading harfbuzz-icu                                                                                                                                                   [##############################################################################################################] 100%
(4/4) downgrading raptor                                                                                                                                                         [##############################################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
$ pacman -V
pacman: error while loading shared libraries: libicuuc.so.74: cannot open shared object file: No such file or directory
$ cd /
$ sudo tar -xf /var/cache/pacman/pkg/icu-74.2-2-x86_64.pkg.tar.zst 
$ sudo rm .BUILDINFO .MTREE .PKGINFO 
$ sudo pacman -Syu --overwrite \*
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 chaotic-aur                                                                                                                                        1676.3 KiB   861 KiB/s 00:02 [##############################################################################################################] 100%
 archlinuxcn is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (4) gspell-1.12.2-2  harfbuzz-icu-8.4.0-2  icu-74.2-2  raptor-2.0.16-4

Total Installed Size:  42.84 MiB
Net Upgrade Size:      -1.37 MiB

:: Proceed with installation? [Y/n] Y
(4/4) checking keys in keyring                                                                                                                                                   [##############################################################################################################] 100%
(4/4) checking package integrity                                                                                                                                                 [##############################################################################################################] 100%
(4/4) loading package files                                                                                                                                                      [##############################################################################################################] 100%
(4/4) checking for file conflicts                                                                                                                                                [##############################################################################################################] 100%
(4/4) checking available disk space                                                                                                                                              [##############################################################################################################] 100%
:: Processing package changes...
(1/4) upgrading icu                                                                                                                                                              [##############################################################################################################] 100%
(2/4) upgrading gspell                                                                                                                                                           [##############################################################################################################] 100%
(3/4) upgrading harfbuzz-icu                                                                                                                                                     [##############################################################################################################] 100%
(4/4) upgrading raptor                                                                                                                                                           [##############################################################################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
$ pacman -V

 .--.                  Pacman v6.1.0 - libalpm v14.0.0
/ _.-' .-.  .-.  .-.   Copyright (C) 2006-2024 Pacman Development Team
\  '-. '-'  '-'  '-'   Copyright (C) 2002-2006 Judd Vinet
 '--'
                       This program may be freely redistributed under
                       the terms of the GNU General Public License.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information