Hi There,
I’m trying to apply the last March update, but pamac fails. I fear this is a side effect of the file system full I got last month during the previous system update. But I can’t force reinstall (in the pamac GUI) linux firmware.
I tried the following:
[manjaro log]# pamac update
Preparing...
Synchronizing package databases...
Resolving dependencies...
Checking inter-conflicts...
Warning: could not fully load metadata for package linux-firmware-20240115.9b6d0b08-2
Error: Failed to prepare transaction: invalid or corrupted package
[manjaro log]# find /var/cache/pacman/pkg/ -iname "*.part"
[manjaro log]# sudo paccheck --list-broken --files
[manjaro log]# df
Filesystem 1K-blocks Used Available Use% Mounted on
dev 4012588 0 4012588 0% /dev
run 4027576 1364 4026212 1% /run
efivarfs 100 40 56 42% /sys/firmware/efi/efivars
/dev/mmcblk0p2 60967284 12262608 46057476 22% /
tmpfs 4027576 121580 3905996 4% /dev/shm
tmpfs 4027576 6740 4020836 1% /tmp
tmpfs 805512 128 805384 1% /run/user/1002
[manjaro log]# sudo pacman -Syyu
:: Synchronizing package databases...
core 150,3 KiB 616 KiB/s 00:00 [#############################################################################] 100%
extra 8,7 MiB 3,03 MiB/s 00:03 [#############################################################################] 100%
multilib 143,8 KiB 2,23 MiB/s 00:00 [#############################################################################] 100%
:: Starting full system upgrade...
error: could not open file /var/lib/pacman/local/linux-firmware-20240115.9b6d0b08-2/desc: No such file or directory
resolving dependencies...
looking for conflicting packages...
warning: could not fully load metadata for package linux-firmware-20240115.9b6d0b08-2
error: failed to prepare transaction (invalid or corrupted package)
I looked at the wiki link. The “files.list” created on fisrt step is empty. Not sure if that is right
The output of the above command is:
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/linux-firmware-20240115.9b6d0b08-2/desc: No such file or directory
warning: could not fully load metadata for package linux-firmware-20240115.9b6d0b08-2
error: failed to prepare transaction (invalid or corrupted package)
Filesystem errors: system is on a sdxc. I took the card and run a fsck from another linux, all is ok
[manjaro log]# pacman -S linux-firmware
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/linux-firmware-20240115.9b6d0b08-2/desc: No such file or directory
warning: could not fully load metadata for package linux-firmware-20240115.9b6d0b08-2
error: failed to prepare transaction (invalid or corrupted package)
[manjaro log]# sudo touch /var/lib/pacman/local/linux-firmware-20240115.9b6d0b08-2/desc
[manjaro log]# sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: could not open file /var/lib/pacman/local/linux-firmware-20240115.9b6d0b08-2/files: No such file or directory
warning: could not fully load metadata for package linux-firmware-20240115.9b6d0b08-2
error: failed to prepare transaction (invalid or corrupted package)
Is there no way to remove/force install a package regardless of its status?
Moved solve to the first touch in the db … as follow-up solutions to ‘exist on the filesystem’ are secondary and separate from the title query of this thread.