Hi, i have a very old asus laptop, some years ago i installed arch with xfce. I leaved this laptop untouched for some months, then 2 days ago I rebooted the sistem and did the classic sudo pacman -Syu after a lot of downloading i got an error about gpt keys, searching obline it was something like this:

`> error: celt: signature from "Jan Alexander Steffens (heftig) " is unknown trust

:: File /var/cache/pacman/pkg/celt-0.11.3-3-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)). Do you want to delete it? [Y/n] `

The only issue i noticed after is that even if im connected to internet (wifi or lan) from midori It wont be able to load anything. How can i fix this? Thnx in advance for the help guys!

  • Max-P@lemmy.max-p.me
    ·
    1 year ago

    First make sure the clock and date is correct, as encryption and signatures rely on time a lot to verify validity.

    Update archlinux-keyring first, alone: sudo pacman -Sy archlinux-keyring. Unless that system is incredibly old, this should fix the "corrupted" packages issue.

    Then, for safety's sake, get yourself a copy of pacman-static or an arch install USB. If something goes wrong midway with regular pacman, it may not run again because of mixed old/new libraries due to partial upgrade, but pacman-static can be used as a standalone in-system backup option, as it doesn't depend on anything.

    wget https://pkgbuild.com/~morganamilo/pacman-static/x86_64/bin/pacman-static
    chmod a+x pacman-static
    

    Check the news on archlinux.org and see if there's any manual steps your system might need.

    And finally, refresh and update everything: sudo pacman -Syu.

    Fix any errors that comes up but with a bit of luck everything will install fine. If something fails during installation, your system may be borked but pacman-static should continue working, so try to fix it with that. If all else fails, use the arch USB to fix it.

    Good luck!