Unable to install any packages after fixing a broken manjaro by chrooting through live usb

sudo pacman -Syyu
:: Synchronizing package databases…
core 169.9 KiB 8.37 KiB/s 00:20 [#####################################################################] 100%
extra 2016.3 KiB 320 KiB/s 00:06 [#####################################################################] 100%
community 6.1 MiB 738 KiB/s 00:09 [#####################################################################] 100%
multilib 194.6 KiB 133 KiB/s 00:01 [#####################################################################] 100%
:: Starting full system upgrade…
error: could not open file /var/lib/pacman/local/libqmi-1.26.2-1/desc: No such file or directory
warning: package-query: local (1.11-1) is newer than community (1.10-1)
:: Replace xapps with community/xapp? [Y/n] y
resolving dependencies…
looking for conflicting packages…
warning: could not fully load metadata for package libqmi-1.26.2-1
error: failed to prepare transaction (invalid or corrupted package)

$ sudo touch /var/lib/pacman/local/libqmi-1.26.2-1/desc
$ sudo pacman -Syu
2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.