• Invalid or corrupted package


    Hello,

    I tried updating with the update tool, and I simply get an error that a package python-idna could not be committed. No more information.

    So, I tried “sudo pacman -Syu” on the terminal, and I get some more information on the errors. It seems like some packages are updated, but errors and trust issues nullifies those updates and I keep getting notifications from the OS that there are 134 updates available.

    :: Synchronizing package databases...
     antergos is up to date     0.0   B  0.00B/s 00:00 [----------------------]   0%
     core is up to date         0.0   B  0.00B/s 00:00 [----------------------]   0%
     extra is up to date        0.0   B  0.00B/s 00:00 [----------------------]   0%
     community is up to date    0.0   B  0.00B/s 00:00 [----------------------]   0%
     multilib is up to date     0.0   B  0.00B/s 00:00 [----------------------]   0%
     archlinuxfr is up to date  0.0   B  0.00B/s 00:00 [----------------------]   0%
    :: Starting full system upgrade...
    resolving dependencies...
    looking for conflicting packages...
    
    Packages (136) alsa-lib-1.1.4.1-1  antergos-keyring-20170524-1
                   antergos-mirrorlist-20170527-1  binutils-2.28.0-3  blas-3.7.0-2
                   boost-libs-1.64.0-1  btrfs-progs-4.11-1
                   ca-certificates-mozilla-3.31-3  cblas-3.7.0-2
                   chromium-59.0.3071.86-1  diffutils-3.6-1
                   double-conversion-2.0.1-3  ffmpeg-1:3.3.2-1  file-5.31-1
                   fontconfig-2.12.3-1  fuse-common-3.0.2-1  gcc-7.1.1-2
                   gcc-libs-7.1.1-2  geoclue2-2.4.7-1  git-2.13.1-1
                   glib2-2.52.2+9+g3245eba16-1  glibc-2.25-2
                   gnome-calendar-3.24.3-1  gnome-maps-3.24.3-1
                   gnome-online-accounts-3.24.1-1  gnupg-2.1.21-3  gnutls-3.5.13-1
                   hwids-20170328-1  imagemagick-6.9.8.9-1  ipw2100-fw-1.3-8
                   ipw2200-fw-3.1-6  jasper-2.0.13-1  krb5-1.15.1-1  lapack-3.7.0-2
                   lib32-gcc-libs-7.1.1-3  lib32-glibc-2.25-3
                   lib32-libdrm-2.4.81-1  lib32-mesa-17.1.1-1  libass-0.13.7-1
                   libatomic_ops-7.4.6-1  libdrm-2.4.81-1  libelf-0.169-1
                   libgcrypt-1.7.7-1  libgexiv2-0.10.6-1  libgusb-0.2.10-1
                   libgweather-3.24.1+1+g9b08eea-1  libinput-1.7.3-1
                   libldap-2.4.44-5  libmodplug-0.8.9.0-1  libnghttp2-1.23.1-1
                   libphonenumber-8.5.0-1  libproxy-0.4.15-2  libtasn1-4.12-1
                   libtiff-4.0.8-1  libtool-2.4.6-8  libusbmuxd-1.0.10-2
                   libva-1.8.2-1  libva-intel-driver-1.8.2-1  libwbclient-4.6.4-2
                   libx264-2:148.20170519-1  libx264-all-2:148.20170519-1
                   linux-4.11.3-1  linux-firmware-20170422.ade8332-1
                   llvm-libs-4.0.0-3  mesa-17.1.1-1  mesa-vdpau-17.1.1-1
                   mpg123-1.25.0-1  mutter-3.24.2+18+g0f7c3f367-1  nano-2.8.4-1
                   ncurses-6.0+20170527-1  net-snmp-5.7.3-5  npth-1.5-1
                   nspr-4.15-1  nss-3.31-3  openal-1.18.0-1  openssl-1.1.0.f-1
                   openssl-1.0-1.0.2.l-1  opus-1.1.5-1  p11-kit-0.23.7-1
                   pamac-4.3.7-1  pango-1.40.6+9+g92cc73c8-1  perl-5.26.0-1
                   perl-clone-0.39-2  perl-dbi-1.636-3  perl-encode-locale-1.05-2
                   perl-error-0.17024-2  perl-file-basedir-0.07-2
                   perl-file-listing-6.04-3  perl-html-parser-3.72-3
                   perl-html-tagset-3.20-5  perl-http-cookies-6.03-2
                   perl-http-daemon-6.01-3  perl-http-date-6.02-3
                   perl-http-message-6.11-3  perl-http-negotiate-6.01-3
                   perl-io-html-1.001-2  perl-ipc-system-simple-1.25-2
                   perl-libwww-6.26-2  perl-lwp-mediatypes-6.02-3
                   perl-net-http-6.16-1  perl-try-tiny-0.28-2  perl-uri-1.71-2
                   perl-www-robotrules-6.02-3  perl-xml-libxml-2.0129-2
                   perl-xml-namespacesupport-1.12-2  perl-xml-sax-0.99-5
                   perl-xml-sax-base-1.09-2  poppler-0.55.0-3
                   poppler-glib-0.55.0-3  pyqt5-common-5.8.2-3
                   python-cairo-1.13.3-1  python-chardet-3.0.4-1  python-idna-2.5-1
                   python-pyqt5-5.8.2-3  python-requests-2.17.3-1
                   python-scipy-0.19.0-2  python-setuptools-1:36.0.1-2
                   python2-cairo-1.13.3-1  qt5-base-5.9.0-2
                   qt5-styleplugins-5.0.0.1r36-1  qt5-svg-5.9.0-1  qt5ct-0.33-2
                   smbclient-4.6.4-2  sqlite-3.19.3-1  sudo-1.8.20.p2-1
                   system-config-printer-1.5.9-3  texinfo-6.3-2  tslib-1.11-1
                   vim-8.0.0628-1  vim-runtime-8.0.0628-1  webkit2gtk-2.16.3-1
                   wpa_supplicant-1:2.6-6
                   xf86-video-intel-1:2.99.917+777+g6babcf15-1  xfsprogs-4.11.0-1
                   xkeyboard-config-2.21-1  xorg-xdriinfo-1.0.5-2
    
    Total Download Size:     16.11 MiB
    Total Installed Size:  1683.57 MiB
    Net Upgrade Size:        53.38 MiB
    
    :: Proceed with installation? [Y/n] 
    :: Retrieving packages...
     antergos-keyring-20...    14.6 KiB   229K/s 00:00 [######################] 100%
     antergos-mirrorlist...     3.0 KiB  0.00B/s 00:00 [######################] 100%
     pamac-4.3.7-1-x86_64     345.5 KiB  1309K/s 00:00 [######################] 100%
     qt5-styleplugins-5....   413.6 KiB  3.78M/s 00:00 [######################] 100%
     p11-kit-0.23.7-1-x86_64  445.7 KiB  2.61M/s 00:00 [######################] 100%
     ca-certificates-moz...   402.0 KiB  5.86M/s 00:00 [######################] 100%
     nspr-4.15-1-x86_64       189.1 KiB  9.23M/s 00:00 [######################] 100%
     nss-3.31-3-x86_64       1423.6 KiB  8.18M/s 00:00 [######################] 100%
     glib2-2.52.2+9+g324...     2.3 MiB  8.40M/s 00:00 [######################] 100%
     gnupg-2.1.21-3-x86_64   2020.5 KiB  8.02M/s 00:00 [######################] 100%
     ffmpeg-1:3.3.2-1-x86_64    8.2 MiB  8.30M/s 00:01 [######################] 100%
     gnome-calendar-3.24...   501.7 KiB  9.07M/s 00:00 [######################] 100%
    (136/136) checking keys in keyring                 [######################] 100%
    (136/136) checking package integrity               [######################] 100%
    error: antergos-keyring: signature from "Antergos Build Server (Automated Package Build System) <[email protected]>" is unknown trust
    :: File /var/cache/pacman/pkg/antergos-keyring-20170524-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n] 
    error: antergos-mirrorlist: signature from "Antergos Build Server (Automated Package Build System) <[email protected]>" is unknown trust
    :: File /var/cache/pacman/pkg/antergos-mirrorlist-20170527-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n] 
    error: pamac: signature from "Antergos Build Server (Automated Package Build System) <[email protected]>" is unknown trust
    :: File /var/cache/pacman/pkg/pamac-4.3.7-1-x86_64.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
    Do you want to delete it? [Y/n] 
    error: qt5-styleplugins: signature from "Antergos Build Server (Automated Package Build System) <[email protected]>" is unknown trust
    :: File /var/cache/pacman/pkg/qt5-styleplugins-5.0.0.1r36-1-x86_64.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)
    Errors occurred, no packages were upgraded.
    
    

    Please advise on how to update the packages and identify the problem.

    Thank you.

  • Hi!

    This article from the Wiki should help you:slight_smile:

    Keep trying, never give up. In the end, you will find that it was all worth it

    My ISO:
    https://rebornos.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • In essence, run sudo pacman -Scc, sudo pacman-key --refresh-keys, and then sudo pacman -Syu.

    Hope this helps!

    Keep trying, never give up. In the end, you will find that it was all worth it

    My ISO:
    https://rebornos.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • @A-User Beautiful! worked like a charm

    Thanks!

  • Glad I could help!:grinning:

    Keep trying, never give up. In the end, you will find that it was all worth it

    My ISO:
    https://rebornos.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • @A-User
    Thanks for providing the wiki reference as well. This is useful information.

  • @archmuon said in Invalid or corrupted package:

    This is useful information.

    I’m glad you liked it:slight_smile:
    (especially since I made it a few weeks ago:smile:)

    Keep trying, never give up. In the end, you will find that it was all worth it

    My ISO:
    https://rebornos.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • This post is deleted!
  • @jerome___ are you behind a corporate proxy? I know that if you are, the above solution I mentioned will not work. Take a look at this article in the section “Behind a corporate proxy”.

    Hope this helps!

    Keep trying, never give up. In the end, you will find that it was all worth it

    My ISO:
    https://rebornos.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • @A-User
    thanks for answer.
    i read this article allready and no, i’m not under a corporate proxy.
    My solution was to configure pacman.conf for trust all keys… antergos-keyring was 2 years old (rmaybe that was the problem ?).
    I have to try to update after go back to check keys again for see if this not happen again or if i loose key check control in the same last time update.

  • I’m sorry, I have no idea then :(.

    Perhaps you could message a developer about this?

    Keep trying, never give up. In the end, you will find that it was all worth it

    My ISO:
    https://rebornos.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • @jerome___

    I noticed that your error is different. Mine was “unknown trust”, and your error is “marginal trust”. I found this forum article in which the user calls out the “marginal trust” error, and the solution provided there worked for that user.

    In short,
    Try to disable signature checks for “antergos” repo in /etc/pacman.conf (SignatureLevel = Never), reinstall antergos-keyring and re-enable signature checks.

  • Can you provide a link to that article? It sounds interesting…

    Keep trying, never give up. In the end, you will find that it was all worth it

    My ISO:
    https://rebornos.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • @A-User said in Invalid or corrupted package:

    Can you provide a link to that article? It sounds interesting…

    Sorry, I might have missed pasting the link - i intended to when I said “I found THIS forum article” :-)
    Anyway, here it is: https://forum.antergos.com/topic/6996/antergos-keyring-package-corrupted/9

    The post also points to another antergos post which explains what happened with the keyring errors due to updating of the expiration date.

  • Thanks @archmuon!

    Keep trying, never give up. In the end, you will find that it was all worth it

    My ISO:
    https://rebornos.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • This post is deleted!
  • Glad to know your poblem is solved, @jerome___ :)

    Keep trying, never give up. In the end, you will find that it was all worth it

    My ISO:
    https://rebornos.wordpress.com
    Linux Basics: https://linuxbasicssite.wordpress.com

  • Ok, i confirm, it works again.
    So definitly when the antergos-keyring package is to old (or an other one also, maybe…) antergos need to stay unsecure (and that was the only one way i find for my problem, but there is maybe an other safer) by set, in /etc/pacman.conf:

    SigLevel = TrustAll
    

    then update
    then set back Siglevel in /etc/pacman.conf:

    SigLevel = Required DatabaseOptional
    

    that resolve the problem for me.
    PS: i delete my old posts for try to make this more readable for other users who will have same problem… to long fil posts doesn’t help.
    thank you for your help, having fun

invalid10 corrupted7 Posts 18Views 2364
Log in to reply