ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu Update error 'nodata'

    IT Discussion
    ubuntu ubuntu 14.04 linux apt apt-get
    5
    16
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse @scottalanmiller
      last edited by

      @scottalanmiller said in Ubuntu Update error 'nodata':

      I added tags.

      Treat a Linux system the same that you would any other OS. You mentioned the OS here, Ubuntu, but we only know that it is Ubuntu 14.04 because we know that you were working on that from another thread. You'd always say Windows Server 2012 R2 or Windows 7 if it were Windows, do the same with other operating systems. You never know when it is important, but you can be sure that it's the first thing that people will ask.

      Noted - and does make sense. I will see about that in the future.

      DustinB3403D 1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403 @gjacobse
        last edited by DustinB3403

        @gjacobse

        So if you run sudo find / -iname "sources.list" you'll see where your repo sources are.... likely in /usr/share/doc.apt/examples/sources.list and the important location of /etc/apt/sources.list

        You can make a backup of this list cp /etc/apt/sources.list /etc/apt/sources.list.bak before proceeding below.

        Then perform a sudo nano /etc/apt/sources.list and find the offending record and comment it out.

        Save the file, and try the update again.

        1 Reply Last reply Reply Quote 2
        • gjacobseG
          gjacobse
          last edited by

          Am I reading correct then that in the below, I need to comment out ever reference to us.archive.ubuntu.com/ubuntu trusty

          # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
          # newer versions of the distribution.
          deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
          
          ## Major bug fix updates produced after the final release of the
          ## distribution.
          deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
          
          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team. Also, please note that software in universe WILL NOT receive any
          ## review or updates from the Ubuntu security team.
          deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
          deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
          
          ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
          ## team, and may not be under a free licence. Please satisfy yourself as to
          ## your rights to use the software. Also, please note that software in
          ## multiverse WILL NOT receive any review or updates from the Ubuntu
          ## security team.
          deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
          deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
          
          ## N.B. software from this repository may not have been tested as
          ## extensively as that contained in the main release, although it includes
          ## newer versions of some applications which may provide useful features.
          ## Also, please note that software in backports WILL NOT receive any review
          ## or updates from the Ubuntu security team.
          deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
          
          
          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            From the error you posted you should be looking for http://security.ubuntu.com trusty-security

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by DustinB3403

              nvm this... you already tried this...

              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by

                From this post.... a possible cause for this is if you are behind a proxy and to try the update like so...

                http_proxy
                -E
                sudo -E apt-get update
                

                I'm not sure about that though..... maybe just the sudo -E . . . would suffice

                1 Reply Last reply Reply Quote 0
                • gjacobseG
                  gjacobse
                  last edited by

                  This is after commenting out

                  ## Commednted 2017 Feb 7
                  #deb http://security.ubuntu.com/ubuntu trusty-security main restricted
                  #deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
                  #deb http://security.ubuntu.com/ubuntu trusty-security universe
                  #deb-src http://security.ubuntu.com/ubuntu trusty-security universe
                  #deb http://security.ubuntu.com/ubuntu trusty-security multiverse
                  #deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
                  
                  
                  sudo apt-get update
                  Get:1 http://us.archive.ubuntu.com trusty InRelease
                  100% [1 InRelease gpgv 1,139 B]Splitting up /var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_trusty_InRelease into data and signature faiIgn http://us.archive.ubuntu.com trusty InRelease
                  E: GPG error: http://us.archive.ubuntu.com trusty InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller
                    last edited by

                    Anyone have an old Ubuntu box with Trusty on it to look at and get the right entries for that file?

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @scottalanmiller
                      last edited by

                      @scottalanmiller I don't have a version of this here....

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller @DustinB3403
                        last edited by

                        @DustinB3403 said in Ubuntu Update error 'nodata':

                        @scottalanmiller I don't have a version of this here....

                        Nor do I.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          Those links look wrong, though.

                          1 Reply Last reply Reply Quote 1
                          • momurdaM
                            momurda
                            last edited by

                            Try editing /usr/bin/apt-mirror
                            and comment out
                            add_url_to_download( $url . "InRelease" );
                            to
                            #add_url_to_download( $url . "InRelease" );
                            whereever you see it, should be onl,y a couple places.

                            1 Reply Last reply Reply Quote 0
                            • RomoR
                              Romo
                              last edited by Romo

                              Trusty full sources.list only difference is I get the mx repos


                              # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
                              
                              # newer versions of the distribution.
                              deb http://mx.archive.ubuntu.com/ubuntu/ trusty main restricted
                              deb-src http://mx.archive.ubuntu.com/ubuntu/ trusty main restricted
                              
                              ## Major bug fix updates produced after the final release of the
                              ## distribution.
                              deb http://mx.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
                              deb-src http://mx.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
                              
                              ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
                              ## team. Also, please note that software in universe WILL NOT receive any
                              ## review or updates from the Ubuntu security team.
                              deb http://mx.archive.ubuntu.com/ubuntu/ trusty universe
                              deb-src http://mx.archive.ubuntu.com/ubuntu/ trusty universe
                              deb http://mx.archive.ubuntu.com/ubuntu/ trusty-updates universe
                              deb-src http://mx.archive.ubuntu.com/ubuntu/ trusty-updates universe
                              
                              ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
                              ## team, and may not be under a free licence. Please satisfy yourself as to 
                              ## your rights to use the software. Also, please note that software in 
                              ## multiverse WILL NOT receive any review or updates from the Ubuntu
                              ## security team.
                              deb http://mx.archive.ubuntu.com/ubuntu/ trusty multiverse
                              deb-src http://mx.archive.ubuntu.com/ubuntu/ trusty multiverse
                              deb http://mx.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
                              deb-src http://mx.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
                              
                              ## N.B. software from this repository may not have been tested as
                              ## extensively as that contained in the main release, although it includes
                              ## newer versions of some applications which may provide useful features.
                              ## Also, please note that software in backports WILL NOT receive any review
                              ## or updates from the Ubuntu security team.
                              deb http://mx.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
                              deb-src http://mx.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
                              
                              deb http://security.ubuntu.com/ubuntu trusty-security main restricted
                              deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
                              deb http://security.ubuntu.com/ubuntu trusty-security universe
                              deb-src http://security.ubuntu.com/ubuntu trusty-security universe
                              deb http://security.ubuntu.com/ubuntu trusty-security multiverse
                              deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse
                              
                              ## Uncomment the following two lines to add software from Canonical's
                              ## 'partner' repository.
                              ## This software is not part of Ubuntu, but is offered by Canonical and the
                              ## respective vendors as a service to Ubuntu users.
                              # deb http://archive.canonical.com/ubuntu trusty partner
                              # deb-src http://archive.canonical.com/ubuntu trusty partner
                              
                              ## This software is not part of Ubuntu, but is offered by third-party
                              ## developers who want to ship their latest software.
                              deb http://extras.ubuntu.com/ubuntu trusty main
                              deb-src http://extras.ubuntu.com/ubuntu trusty main
                              
                              1 Reply Last reply Reply Quote 1
                              • 1 / 1
                              • First post
                                Last post