This was my first issue coming back after my laptop presumably ran out of batteries during an update. I did the steps in the solution presented in Boot file not found only to be given this:
File var/cache/pacman/pkg/pacman-mirrors-5.3-1-any.pkg.tar.zst is corrupted. Do you want to delete it? [Y/n]
The first time I answered ‘y’ and got
Error: failed to commit transaction (invalid or corrupted package)
Errors occurred, no packages were upgraded
I received the same message when I tried avaim and answered ‘n’.
It is likely that you will be able to boot your real system again
if you do, from while you are in chroot
(manjaro-chroot -a after having booted from USB)
mkinitcpio -P update-grub
exit
to exit chroot
It’s worth a try - things might be easier to work on when the real system is up.
Reason this might work:
the kernel is removed at the start of the update, but only put back as the last thing, after all of the update went through - which it did not in your case for some reason
The above commands should remedy that situation.
Otherwise you may want to show us the exact sequence of commands you did - including the response that you got.
Not a description, the actual copy/pasted terminal output.
Please edit your post and place any code or command output within a scrollable pre-formatted text enclosure according to forum guidelines.
[MiniHowTo] Present code or command output
Note: Grave accent (or, backtick) characters are used.
For inlinecode or to show a single command:
please follow this simple example: code here.
For multi-linecommand output:
place text beween two rows of three (```) backtick characters to form a scrollable text box, or …
use the </> button in the Compose window to achieve the same result.
The empty row between these rows of backtick characters is where to paste any multi-line command output (such as inxi).
An example of a pre-formatted text enclosure:
What is a Quark?
A. In Physics, an elementary particle and fundamental constituent of matter.
B. A character from the Star Trek: "Deep Space Nine" television series.
C. A soft, creamy, usually unsalted cheese traditional to central Europe.
For the signature of Frede look at the second post of the Announcement topic.
For the Overlay…i am not sure. But try to update everything else first.
I found what you’re talking about in post 2 that claims to fix this issue. The result of the shown command is:
[manjaro ~]# sudo pacman -S manjaro-keyring
sudo pacman-key --populate manjaro
resolving dependencies…looking for conflicting packages…
Packages (1) manjaro-keyring-20251003-1
Total Installed Size: 0.09 MiBNet Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n] y(1/1) checking keys in keyring
[######################] 100%(1/1) checking package integrity
[######################] 100%(1/1) loading package files
[######################] 100%(1/1) checking for file conflicts
[######################] 100%(1/1) checking available disk space [######################] 100%:: Running pre-transaction hooks…(1/1) Creating
Timeshift snapshot before upgrade…==> skipping timeshift-autosnap because system
is booted in Live CD mode…:: Processing package changes…(1/1) upgrading manjaro-keyring [######################] 100%==> Appending keys from
manjaro.gpg…==> Locally signing trusted keys in keyring… → Locally signed 4
keys.==> Importing owner trust values…gpg: setting ownertrust to 4==> Disabling
revoked keys in keyring… → Disabled 1 key.==> Updating trust database…gpg:
Note: third-party key signatures using the SHA1 algorithm are rejectedgpg: (use option “–allow-weak-key-signatures” to override)gpg: marginals needed: 3
completes needed: 1 trust model: pgpgpg: depth: 0 valid: 1 signed: 22
trust: 0-, 0q, 0n, 0m, 0f, 1ugpg: depth: 1 valid: 22 signed: 98 trust: 0-, 0q, 0n, 22m, 0f, 0ugpg: depth: 2 valid: 71 signed: 18 trust: 71-, 0q, 0n, 0m,
0f, 0ugpg: next trustdb check due at 2026-01-24:: Running post-transaction hooks…(1/1) Arming ConditionNeedsUpdate…==> Appending keys from manjaro.gpg…==> Locally
signing trusted keys in keyring… → Locally signed 2 keys.==> Importing owner trust
values…==> Updating trust database…gpg: next trustdb check due at 2026-01-24
Then I ran pacman -Syuu and it appears to fail with the same error:
error: pacman-mirrors: signature from “Frede Hundewadt fh@manjaro.org” is unknown trust
:: File /var/cache/pacman/pkg/pacman-mirrors-5.3-1-any.pkg.tar.zst is corrupted
(invalid or corrupted package (PGP signature)).Do you want to delete it? [Y/n]
yerror: failed to commit transaction (invalid or corrupted package)Errors
occurred, no packages were upgraded.
I think I have made the previous posts more legible.
I have since attempted to boot and get the same error.
Using timeshift is loading a previous snapshot, yes? Attempting to do so bluescreens the laptop. I am chrooting in from a usb stick. is sudo pacman-key --populate manjaro what is meant by importing? I also removed and redownloaded the manjaro and archlinux default keys.