sudo apt update

Forum Forums General Software sudo apt update

  • This topic has 8 replies, 4 voices, and was last updated May 6-2:10 pm by kaa37.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #58372
    Member
    calciumsodium

      I am trying to do sudo apt update and I am getting invalid signatures. Hence, I can’t update. I also tried changing to different repos and still getting invalid signatures. The other ones I tried include Chemnitz, Germany; Madison, WI; and Chicago, Il. Each time with an invalid signature. Is there something going on?

      Thanks

      apt-get update
      Hit:1 http://security.debian.org buster/updates InRelease
      Hit:2 http://ftp.us.debian.org/debian buster-updates InRelease
      Get:3 http://mirrors.rit.edu/mxlinux/mx-packages/antix/buster buster InRelease [27.4 kB]
      Hit:4 http://ftp.us.debian.org/debian buster InRelease
      Hit:5 http://deb.debian.org/debian buster-backports InRelease
      Err:3 http://mirrors.rit.edu/mxlinux/mx-packages/antix/buster buster InRelease
      The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
      Reading package lists… Done
      W: GPG error: http://mirrors.rit.edu/mxlinux/mx-packages/antix/buster buster InRelease: The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
      E: The repository ‘http://mirrors.rit.edu/mxlinux/mx-packages/antix/buster buster InRelease’ is not signed.
      N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.

      #58373
      Member
      calciumsodium
        Helpful
        Up
        0
        ::

        I had to reinstall antiX 19.1 32-bit and getting this invalid signature error when I tried sudo apt update. Then I also tried reinstalling antiX 19.3 32-bit and also getting this invalid signature error when I tried to sudo apt update.

        #58378
        Moderator
        christophe
          Helpful
          Up
          0
          ::

          I just did an update/upgrade to test what you say.
          Mine is working fine.
          I’m using the US/Lenexa, KS antiX mirror, if that helps.

          Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
                     1: deb https: //mirror.us.oneandone.net/linux/distributions/mx/packages/antix/buster/ buster main nonfree nosystemd
                     Active apt repos in: /etc/apt/sources.list.d/buster-backports.list 
                     1: deb http: //deb.debian.org/debian buster-backports main contrib non-free
                     Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
                     1: deb http: //ftp.us.debian.org/debian/ buster-updates main contrib non-free
                     Active apt repos in: /etc/apt/sources.list.d/debian.list 
                     1: deb http: //ftp.us.debian.org/debian/ buster main contrib non-free
                     2: deb http: //security.debian.org/ buster/updates main contrib non-free
                     No active apt repos in: /etc/apt/sources.list.d/onion.list 
                     No active apt repos in: /etc/apt/sources.list.d/various.list 
          • This reply was modified 2 years ago by christophe. Reason: added inxi -r

          confirmed antiX frugaler, since 2019

          #58380
          Member
          calciumsodium
            Helpful
            Up
            0
            ::

            I changed to the US Lenexa, KA repo, and I still get this error.

            I get this invalid signature error only after a fresh install of either antiX 19.1 or 19.3. This is a recent thing. Because two days ago, I did a fresh install of antiX 19.1 and did sudo apt update with no problem after that gdebi error with zzzFM 32-bit.

            $ sudo apt update
            [sudo] password for jakersfan:
            Hit:1 http://ftp.us.debian.org/debian buster-updates InRelease
            Hit:2 http://deb.debian.org/debian buster-backports InRelease
            Hit:3 http://ftp.us.debian.org/debian buster InRelease
            Hit:4 http://security.debian.org buster/updates InRelease
            Get:5 https://mirror.us.oneandone.net/linux/distributions/mx/packages/antix/buster buster InRelease [27.4 kB]
            Err:5 https://mirror.us.oneandone.net/linux/distributions/mx/packages/antix/buster buster InRelease
            The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
            Reading package lists… Done
            W: GPG error: https://mirror.us.oneandone.net/linux/distributions/mx/packages/antix/buster buster InRelease: The following signatures were invalid: EXPKEYSIG DB36CDF3452F0C20 antiX (antix repo) <repo@antixlinux.com>
            E: The repository ‘https://mirror.us.oneandone.net/linux/distributions/mx/packages/antix/buster buster InRelease’ is not signed.
            N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
            N: See apt-secure(8) manpage for repository creation and user configuration details.

            #58381
            Member
            calciumsodium
              Helpful
              Up
              0
              ::

              I also tried both methods suggested by @anticapitalista in this post. Both methods did not work for me.

              https://forum.mxlinux.org/viewtopic.php?f=40&p=490459#p490423

              #58383
              Member
              Xecure
                Helpful
                Up
                0
                ::

                Try this.

                Launch a terminal and do
                wget http://repo.antixlinux.com/buster/pool/main/a/antix-archive-keyring/antix-archive-keyring_20019.3.14_all.deb
                This downloads the keyring. Now you install it.
                sudo apt install ./antix-archive-keyring_20019.3.14_all.deb
                after this see if updating the package list works.
                sudo apt update

                antiX Live system enthusiast.
                General Live Boot Parameters for antiX.

                #58385
                Member
                calciumsodium
                  Helpful
                  Up
                  0
                  ::

                  Hi @Xecure,

                  Your suggestion did not work for me.

                  I also saw that @lonegunmen and @JohnWu also are having problems.

                  #58387
                  Member
                  calciumsodium
                    Helpful
                    Up
                    0
                    ::

                    Hi @Xecure,

                    I have to make a correction. Your suggestion works! I tried it again. The first time, I must have forgotten to do the second step.

                    Thank you. I was getting frustrated.

                    #58735
                    Member
                    kaa37
                      Helpful
                      Up
                      0
                      ::

                      Launch a terminal and do:

                      wget 'http://repo.antixlinux.com/antix-archive-keyring-2021-2024.asc'
                      sudo apt-key add antix-archive-keyring-2021-2024.asc
                      sudo apt update
                    Viewing 9 posts - 1 through 9 (of 9 total)
                    • You must be logged in to reply to this topic.