Announcement

Collapse
No announcement yet.

apt-get authentication failing

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    apt-get authentication failing

    I only just started experiencing this problem today....

    I was trying to do a normal software update:
    Code:
    sudo apt-get update
    sudo apt-get dist-upgrade
    when I ran dist-upgrade, this happened:
    Code:
    WARNING: The following packages cannot be authenticated!
    I've never seen this error before. I googled it and one of the suggestions I found was to reinstall "ubuntu-archive-keyring", but the instructions said you have to do that using aptitude, which I didn't have installed. When I tried to install it (with apt-get), I got the authentication warning again. It looks like I can't install ANY packages without getting that warning.

    as an aside, lately I've been getting a lot of "failed to fetch..." errors when I do updates and I'm not sure why. I assumed it was just packages getting broken during the update process as sometimes happens, but there are no problems on my VPS...so I have no idea. It probably isn't relevant to this other problem anyway.
    "Stella", HP Pavilion 15-ak006TX: KDE Neon User Edition dual-booted with Windows 10, 8gb RAM, Intel i7-6700HQ CPU, NVIDIA GeForce GTX950M graphics, 2 TB hard drive

    #2
    Originally posted by dbaker View Post
    when I ran dist-upgrade, this happened:
    Code:
    WARNING: The following packages cannot be authenticated!
    What package(s) were identified?
    Windows no longer obstructs my view.
    Using Kubuntu Linux since March 23, 2007.
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      any and every package I attempt to install, it seems. an example trying to install aptitude:
      Code:
      WARNING: The following packages cannot be authenticated!
        libboost-iostreams1.54.0 libept1.4.12 aptitude-common libcwidget3 aptitude
      trying to run dist-upgrade:
      Code:
      WARNING: The following packages cannot be authenticated!
        udev libudev1:i386 libudev1 libpam-systemd systemd-services
        libsystemd-daemon0 libsystemd-login0 libgudev-1.0-0 libharfbuzz-dev
        libharfbuzz0b libharfbuzz-icu0 libharfbuzz-gobject0 libphononexperimental4
        phonon-backend-gstreamer phonon-backend-gstreamer-common phonon
        libphonon-dev libphonon4 libsystemd-journal0 ubuntu-release-upgrader-qt
        ubuntu-release-upgrader-core python3-distupgrade
      "Stella", HP Pavilion 15-ak006TX: KDE Neon User Edition dual-booted with Windows 10, 8gb RAM, Intel i7-6700HQ CPU, NVIDIA GeForce GTX950M graphics, 2 TB hard drive

      Comment


        #4
        Try running:
        Code:
        sudo apt-key update
        Then:
        Code:
        sudo apt-get update && sudo apt-get update
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          oops, I forgot to mention I'd already tried apt-key update without any success :\
          also, this is probably unrelated as it's been happening for weeks but it's another problem I need to solve:

          Code:
          Err http://ppa.launchpad.net trusty/main amd64 Packages                        
            404  Not Found
          Err http://ppa.launchpad.net trusty/main i386 Packages                       
            404  Not Found
          Ign http://ppa.launchpad.net trusty/main Translation-en_AU                   
          Ign http://ppa.launchpad.net trusty/main Translation-en                      
          Ign http://ppa.launchpad.net trusty/main Translation-en_AU                   
          Ign http://ppa.launchpad.net trusty/main Translation-en                      
          Err http://nz.archive.ubuntu.com trusty InRelease                              
          Err http://nz.archive.ubuntu.com trusty-updates InRelease
          Err http://nz.archive.ubuntu.com trusty-backports InRelease
          Err http://nz.archive.ubuntu.com trusty Release.gpg
            Unable to connect to nz.archive.ubuntu.com:http:
          Err http://nz.archive.ubuntu.com trusty-updates Release.gpg
            Unable to connect to nz.archive.ubuntu.com:http:
          Err http://nz.archive.ubuntu.com trusty-backports Release.gpg
            Unable to connect to nz.archive.ubuntu.com:http:
          Fetched 484 kB in 2min 5s (3,861 B/s)
          Reading package lists... Done
          W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/trusty/InRelease  
          W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease  
          W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease  
          W: Failed to fetch http://ppa.launchpad.net/cdekter/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages  404  Not Found
          W: Failed to fetch http://ppa.launchpad.net/cdekter/ppa/ubuntu/dists/trusty/main/binary-i386/Packages  404  Not Found
          W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/trusty/Release.gpg  Unable to connect to nz.archive.ubuntu.com:http:
          W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/trusty-updates/Release.gpg  Unable to connect to nz.archive.ubuntu.com:http:
          W: Failed to fetch http://nz.archive.ubuntu.com/ubuntu/dists/trusty-backports/Release.gpg  Unable to connect to nz.archive.ubuntu.com:http:
          W: Some index files failed to download. They have been ignored, or old ones used instead.
          "Stella", HP Pavilion 15-ak006TX: KDE Neon User Edition dual-booted with Windows 10, 8gb RAM, Intel i7-6700HQ CPU, NVIDIA GeForce GTX950M graphics, 2 TB hard drive

          Comment


            #6
            You are in New Zealand? Try switching to another download server.
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              no, I'm in Australia...I was assuming NZ was just the closest server there was but I really have no clue!
              can you explain to me how to change the download server?
              "Stella", HP Pavilion 15-ak006TX: KDE Neon User Edition dual-booted with Windows 10, 8gb RAM, Intel i7-6700HQ CPU, NVIDIA GeForce GTX950M graphics, 2 TB hard drive

              Comment


                #8
                Launch Muon Package Manager. Click on Settings > Configure Software Sources. Type your password and press Enter. On the first tab, click the large button to the right of Download from: and click Other... and select a different server.
                Windows no longer obstructs my view.
                Using Kubuntu Linux since March 23, 2007.
                "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                Comment


                  #9
                  ok, I did that and I have no idea why it was set to the NZ server cause there is indeed one for Australia.
                  however, this is what happened (presumably Muon's way of describing the same thing that was happening with apt-get earlier):
                  Click image for larger version

Name:	error.png
Views:	1
Size:	32.5 KB
ID:	642464

                  p.s. good news: the authentication problem seems to have vanished!
                  Last edited by dbaker; Sep 12, 2014, 12:42 AM.
                  "Stella", HP Pavilion 15-ak006TX: KDE Neon User Edition dual-booted with Windows 10, 8gb RAM, Intel i7-6700HQ CPU, NVIDIA GeForce GTX950M graphics, 2 TB hard drive

                  Comment


                    #10
                    Those are PPA repositories, and there is no guarantee that a selected download server will know about them.
                    Windows no longer obstructs my view.
                    Using Kubuntu Linux since March 23, 2007.
                    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                    Comment


                      #11
                      Originally posted by dbaker View Post
                      ok, I did that and I have no idea why it was set to the NZ server cause there is indeed one for Australia.
                      however, this is what happened (presumably Muon's way of describing the same thing that was happening with apt-get earlier):
                      [ATTACH=CONFIG]5297[/ATTACH]

                      p.s. good news: the authentication problem seems to have vanished!
                      Originally posted by Snowhog View Post
                      Those are PPA repositories, and there is no guarantee that a selected download server will know about them.
                      PPAs do not have mirrors like the normal Ubuntu repos.
                      This last error could also likely be that you have a ppa that does not have a Trusty (14.04) component .


                      And my thought is correct:

                      Code:
                      Reading package lists... Done
                      W: Failed to fetch [URL]http://nz.archive.ubuntu.com/ubuntu/dists/trusty/InRelease[/URL]  
                      W: Failed to fetch [URL]http://nz.archive.ubuntu.com/ubuntu/dists/trusty-updates/InRelease[/URL]  
                      W: Failed to fetch [URL]http://nz.archive.ubuntu.com/ubuntu/dists/trusty-backports/InRelease[/URL]  
                      [COLOR=#ff0000][B]W: Failed to fetch [URL]http://ppa.launchpad.net/cdekter/ppa/ubuntu/dists/trusty/main/binary-amd64/Packages[/URL]  404  Not Found
                      W: Failed to fetch [URL]http://ppa.launchpad.net/cdekter/ppa/ubuntu/dists/trusty/main/binary-i386/Packages[/URL]  404  Not Found[/B][/COLOR]
                      Going to the ppa's page, it most definitely does not have packages for anything newer than Precise 12.04, so you can remove it.
                      This is one reason why the official upgrader disables PPA entries before proceeding with its job.

                      Comment

                      Working...
                      X