]$ sudo pacman -Syu
:: Synchronizing package databases...
---
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/python-scikit-learn-1.1.2-1/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package python-scikit-learn-1.1.2-1
error: failed to prepare transaction (invalid or corrupted package)
]$ sudo find / -name 'python-scikit-learn*'
find: ‘/run/user/1000/doc’: Permission denied
find: ‘/run/user/1000/gvfs’: Permission denied
/var/cache/pacman/pkg/python-scikit-learn-1.1.2-1-x86_64.pkg.tar.zst
/var/lib/pacman/local/python-scikit-learn-1.1.2-1
]$ sudo pacman -Qii python-scikit-learn
error: could not open file /var/lib/pacman/local/python-scikit-learn-1.1.2-1/desc: No such file or directory
Name : python-scikit-learn
Version : 1.1.2-1
Description : None
Architecture : None
URL : None
Licenses : None
Groups : None
Provides : None
Depends On : None
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 0.00 B
Packager : None
Build Date : Wed 31 Dec 1969 04:00:00 PM PST
Install Date : Wed 31 Dec 1969 04:00:00 PM PST
Install Reason : Explicitly installed
Install Script : No
Validated By : Unknown
Backup Files :
(none)type or paste code here
# pacman -S --dbonly python-scikit-learn
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/python-scikit-learn-1.1.2-1/desc: No such file or directory
warning: could not fully load metadata for package python-scikit-learn-1.1.2-1
error: failed to prepare transaction (invalid or corrupted package)
]# pwd
/var/cache/pacman/pkg
]# pacman -U python-scikit-learn-1.1.2-1-x86_64.pkg.tar.zst
loading packages...
warning: python-scikit-learn-1.1.2-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/python-scikit-learn-1.1.2-1/desc: No such file or directory
warning: could not fully load metadata for package python-scikit-learn-1.1.2-1
error: failed to prepare transaction (invalid or corrupted package)
@keepitsimpleengineer No need to add [SOLVED] to your topic title. This is a Discourse forum, it works differently than some older forum software. You’ve already marked a reply as the solution, that’s how it works here.