• Cannot upgrade: "invalid or corrupted package"


    I’m trying to upgrade and got the following errors:

    error: numix-icon-theme: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/numix-icon-theme-0.r285.f69afd4-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n] n  
    error: numix-icon-theme-square: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/numix-icon-theme-square-1:0.r79.bb074b2-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n] n  
    error: numix-frost-themes: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/numix-frost-themes-1.2-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n] n  
    error: failed to commit transaction (invalid or corrupted package (PGP signature))  
    Errors occurred, no packages were upgraded.
    

    I tried to follow the solution posted at [http://forum.antergos.com/viewtopic.php?f=28&t=2398][0]">viewtopic.php?f=28&t=2398 but it won’t work:

    error: antergos-keyring: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/antergos-keyring-20140915-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n] n  
    error: failed to commit transaction (invalid or corrupted package (PGP signature))  
    Errors occurred, no packages were upgraded.
    

    (answering “y” results in the same errors)

    [0]: <a href=

  • I’m trying to upgrade and got the following errors:

    error: numix-icon-theme: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/numix-icon-theme-0.r285.f69afd4-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n] n  
    error: numix-icon-theme-square: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/numix-icon-theme-square-1:0.r79.bb074b2-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n] n  
    error: numix-frost-themes: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/numix-frost-themes-1.2-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n] n  
    error: failed to commit transaction (invalid or corrupted package (PGP signature))  
    Errors occurred, no packages were upgraded.
    

    I tried to follow the solution posted at [http://forum.antergos.com/viewtopic.php?f=28&t=2398][0]">viewtopic.php?f=28&t=2398 but it won’t work:

    error: antergos-keyring: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/antergos-keyring-20140915-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n] n  
    error: failed to commit transaction (invalid or corrupted package (PGP signature))  
    Errors occurred, no packages were upgraded.
    

    (answering “y” results in the same errors)

    [0]: <a href=

  • Hi,

    Did you try the commands listed towards the bottom of the page? Here’s a direct link: [http://forum.antergos.com/viewtopic.php?f=28&t=2398#p11650][0]">viewtopic.php?f=28&t=2398#p11650

    [0]: <a href=

  • Yes, as I said I get this error:

    pacman -S antergos-keyring  
    warning: antergos-keyring-20140915-1 is up to date -- reinstalling  
    resolving dependencies...  
    looking for inter-conflicts...  
      
    Packages (1): antergos-keyring-20140915-1  
      
    Total Installed Size: 0.03 MiB  
    Net Upgrade Size: 0.00 MiB  
      
    :: Proceed with installation? [Y/n]   
    (1/1) checking keys in keyring [\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#] 100%  
    (1/1) checking package integrity [\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#] 100%  
    error: antergos-keyring: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/antergos-keyring-20140915-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n]   
    error: failed to commit transaction (invalid or corrupted package (PGP signature))  
    Errors occurred, no packages were upgraded.
    

    And so on…

    sudo pacman-key --init  
    sudo pacman-key --populate archlinux antergos  
    ==\> Appending keys from archlinux.gpg...  
    ==\> Appending keys from antergos.gpg...  
    ==\> Locally signing trusted keys in keyring...  
    -\> Locally signing key 0E8B644079F599DFC1DDC3973348882F6AC6A4C2...  
    -\> Locally signing key 684148BB25B49E986A4944C55184252D824B18E8...  
    -\> Locally signing key 24B445614FAC071891EDCE49CDBD406AA1AA7A1D...  
    ==\> ERROR: 24B445614FAC071891EDCE49CDBD406AA1AA7A1D could not be locally signed.  
    -\> Locally signing key D95436A2E18DA94A72B1A5E2AEA529BF122902E5...  
    ==\> ERROR: D95436A2E18DA94A72B1A5E2AEA529BF122902E5 could not be locally signed.  
    -\> Locally signing key EC3B5CE8FE98DFDF51B705536D6DDA3D2A45C7B4...  
    -\> Locally signing key 44D4A033AC140143927397D47EFD567D4C7EA887...  
    -\> Locally signing key 27FFC4769E19F096D41D9265A04F9397CDFD6BB0...  
    -\> Locally signing key AB19265E5D7D20687D303246BA1DFB64FFF979E7...  
      
    sudo pacman -Syu  
    :: Synchronizing package databases...  
    core is up to date  
    extra is up to date  
    community is up to date  
    multilib is up to date  
    antergos 316.0 KiB 446K/s 00:01 [\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#] 100%  
    :: Starting full system upgrade...  
    resolving dependencies...  
    looking for inter-conflicts...  
      
    Packages (8): dhcpcd-6.6.4-1 fltk-1.3.3-3 gnupg-2.1.0-6 numix-frost-themes-1.2-1  
    numix-icon-theme-0.r285.f69afd4-1  
    numix-icon-theme-square-1:0.r79.bb074b2-1 pcsclite-1.8.13-1  
    xf86-input-evdev-2.9.1-1  
      
    Total Installed Size: 33.54 MiB  
    Net Upgrade Size: -0.09 MiB  
      
    :: Proceed with installation? [Y/n]   
    (8/8) checking keys in keyring [\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#] 100%  
    (8/8) checking package integrity [\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#] 100%  
    error: numix-frost-themes: signature from "Antergos Build Server (Automated Package Build System) <[email protected]\>" is marginal trust  
    :: File /var/cache/pacman/pkg/numix-frost-themes-1.2-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).  
    Do you want to delete it? [Y/n]  
    error: failed to commit transaction (invalid or corrupted package (PGP signature))  
    Errors occurred, no packages were upgraded.
    
  • I have the exact same issue. The upgrade worked fine a few days ago. I tried using different antergos mirrors, but that didnt help.
    I used

      
    http://mirrors.antergos.com/$repo/$arch  
    http://cinnarch.limun.org/$repo/$arch  
    http://mirror.de.leaseweb.net/antergos/$repo/$arch  
    http://www.mirrorservice.org/sites/repo.antergos.com/$repo/$arch  
    
    

    UPDATE:
    [http://forum.antergos.com/viewtopic.php?f=28&t=2418#p11938][0]">viewtopic.php?f=28&t=2418#p11938 fixed it for me

    sudo rm -R /etc/pacman.d/gnupg  
    sudo pacman-key --init  
    sudo pacman -Syy  
    sudo pacman-key --populate archlinux antergos  
    sudo pacman -Syu
    

    pacman-key --init may take a while to finish; be patient 😉

    [0]: <a href=

  • Thanks a lot, Just1Number. Problem solved!

  • @Just1Number said:

    UPDATE:
    [http://forum.antergos.com/viewtopic.php?f=28&t=2418#p11938][0]">viewtopic.php?f=28&t=2418#p11938 fixed it for me

    sudo rm -R /etc/pacman.d/gnupg  
    sudo pacman-key --init  
    sudo pacman -Syy  
    sudo pacman-key --populate archlinux antergos  
    sudo pacman -Syu
    

    pacman-key --init may take a while to finish; be patient 😉

    [0]: <a href=

    Thank you very much! That’s OK!!!

Posts 7Views 12425
Log in to reply
Bloom Email Optin Plugin

Looks like your connection to Antergos Community Forum was lost, please wait while we try to reconnect.