Announcement

Collapse
No announcement yet.

Huge Lag to sudo apt-get update Synaptic Stuggling Too

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

    Huge Lag to sudo apt-get update Synaptic Stuggling Too

    Hello,

    I waited for 4.5 mins and finally, Synaptic was able to start dl the needed files from the archive for an app I installed. I did have my AT&T U-verse modem updated to 45Mbps (fastest they offer), but this problem seems to be intermittent so I'm not considering a bad network setting in the modem or my network. I also removed and reinstalled Flashplayer plugin for Firefox and that works fine now.

    I tried to update my program registers from Synaptic and it stalled; no files dled. Then I used a terminal; very slow; stalled for up to 3 mins before continuing. I've never seen this behavior before. Does anyone know what causes this or what I can do to my system to stop this behavior? Thank you.

    Code:
    System:    Host: AMD64-LTS Kernel: 3.13.0-101-generic x86_64 (64 bit, gcc: 4.8.4) 
            Desktop: KDE 4.13.3 (Qt 4.8.6) dm: lightdm Distro: Ubuntu 14.04 trusty
    "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

    #2
    Bump! Finally sudo apt-get update finished:

    Code:
    Fetched 72 B in 12min 2s (0 B/s)                                               
    Reading package lists... Done
    mark@AMD64-LTS:~$
    12 minutes? What is going on? It's never taken more than 20 seconds to perform the same task.
    "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

    Comment


      #3
      Could be your download mirrors are way slow. Sometimes this clears up by itself.

      There is an application called "netselect-apt" that can test your mirrors, but it's not available from standard repos You can get it here: http://neuro.debian.net/install_pkg....=netselect-apt

      Also, "namebench" can check your DNS server choices to see if you're using the fastest in your area.

      You should look at your logs. There might be something in there...

      Please Read Me

      Comment


        #4
        Thank you oshunluvr. I'll get right on that.
        "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

        Comment


          #5
          The downloading and installation of the app didn't go so well.

          Code:
          ark@AMD64-LTS:~$ sudo apt-get install netselect-apt
          [sudo] password for mark: 
          Reading package lists... Done
          Building dependency tree       
          Reading state information... Done
          Package netselect-apt is not available, but is referred to by another package.
          This may mean that the package is missing, has been obsoleted, or
          is only available from another source
          
          E: Package 'netselect-apt' has no installation candidate
          mark@AMD64-LTS:~$
          Any ideas?
          "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

          Comment


            #6
            Yeah, get the app from the link Oshunluvr provided, as this app is not in the standard repositories, as he said.
            Originally posted by oshunluvr View Post
            There is an application called "netselect-apt" that can test your mirrors, but it's not available from standard repos You can get it here: http://neuro.debian.net/install_pkg....=netselect-apt
            Using Kubuntu Linux since March 23, 2007
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Originally posted by oshunluvr View Post
              Could be your download mirrors are way slow. Sometimes this clears up by itself.
              If you point your browser at the mirror, and move around the directories there, and maybe download a file, sometimes you can get a feel for how it's going. F.ex, my /etc/apt/sources.list has the line
              Code:
              deb http://nz.archive.ubuntu.com/ubuntu/ yakkety main restricted
              so I pasted http://nz.archive.ubuntu.com/ubuntu/ into firefox.

              If you find a problem, consider using another mirror. ("settings"->"Configure Software sources" in muon package manager, "Settings"->"Repositories" in Synaptic, or "kdesudo software-properties-kde" in a konsole.)

              Twice, in the last 10 years or so, I've had to contact the administrators of my country's main mirror to resolve a problem.
              Regards, John Little

              Comment


                #8
                This is the output from netselect-apt :

                Code:
                mark@AMD64-LTS:~$ sudo netselect-apt
                [sudo] password for mark: 
                Using distribution stable.
                Retrieving the list of mirrors from www.debian.org...
                
                --2017-03-03 00:55:07--  http://www.debian.org/mirror/mirrors_full
                Resolving www.debian.org (www.debian.org)... 2605:bc80:3010:b00:0:deb:166:202, 2001:4f8:1:c::15, 128.31.0.62, ...
                Connecting to www.debian.org (www.debian.org)|2605:bc80:3010:b00:0:deb:166:202|:80...
                At that point, it seems to hang. So what exactly does this program do and what does the output tell me?
                "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                Comment


                  #9
                  OMG! Now it's vomiting all over my terminal. WOW! That's some program!

                  After several pages of "testing?," netselect-apt provided this little gem of a summary:

                  Code:
                  he fastest 10 servers seem to be:
                  
                         http://mirrors.advancedhosters.com/debian/
                         http://ftp.us.debian.org/debian/
                         http://debian.ec.as6453.net/debian/
                         http://mirror.cogentco.com/debian/
                         http://ftp.us.debian.org/debian/
                         http://ftp.us.debian.org/debian/
                         http://mirror.us.leaseweb.net/debian/
                         http://mirror.steadfast.net/debian/
                         http://mirror.yellowfiber.net/debian/
                         http://mirrors.evowise.com/debian/
                  
                  Of the hosts tested we choose the fastest valid for HTTP:
                         http://mirrors.advancedhosters.com/debian/
                  
                  Writing sources.list.
                  Done.
                  mark@AMD64-LTS:~$
                  It wrote a sources list? Does it automatically overwrite my sources list or just save it? So how can I use this info most effectively?
                  "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                  Comment


                    #10
                    Originally posted by mhumm2 View Post
                    This is the output from netselect-apt :

                    Code:
                    mark@AMD64-LTS:~$ sudo netselect-apt
                    [sudo] password for mark: 
                    Using distribution stable.
                    Retrieving the list of mirrors from www.debian.org...
                    
                    --2017-03-03 00:55:07--  http://www.debian.org/mirror/mirrors_full
                    Resolving www.debian.org (www.debian.org)... 2605:bc80:3010:b00:0:deb:166:202, 2001:4f8:1:c::15, 128.31.0.62, ...
                    Connecting to www.debian.org (www.debian.org)|2605:bc80:3010:b00:0:deb:166:202|:80...
                    At that point, it seems to hang. So what exactly does this program do and what does the output tell me?
                    It tells me that you have an active IPv6 connection, but despite that it chose "http://mirrors.advancedhosters.com/debian/" as the fastest connection and the one it wrote to sources.list
                    "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                    – John F. Kennedy, February 26, 1962.

                    Comment


                      #11
                      GrayGeek; I upgraded my home network to the fastest connection AT&T could provide. That required a new modem so that's probably where the active IPv6 connection is coming from. Question: you implied that the IPv6 connection should be faster than the one selected by the app. Why? I thought the net is adding IPv6 addresses so they don't run out. What's the connection between transfer speed and an IPv6 address?
                      "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                      Comment


                        #12
                        Originally posted by mhumm2 View Post
                        GrayGeek; I upgraded my home network to the fastest connection AT&T could provide. That required a new modem so that's probably where the active IPv6 connection is coming from. Question: you implied that the IPv6 connection should be faster than the one selected by the app. Why? I thought the net is adding IPv6 addresses so they don't run out. What's the connection between transfer speed and an IPv6 address?
                        You are right about the purpose of IPv6. My ISP does not yet support IPv6 in 5% of its residential areas, which includes me. I used to use STXX but they've shut down so now I use Terado tunneling. When I compare the speed of my IPv6 connection to my IPv4 connection on the same web site I cannot see any reliable difference. They appear to be equally fast, or slow.

                        AFAIK, the speed of your connection depends almost entirely on the bandwidth supplied by your ISP and the load on the Internet servers you visit at any particular time. The larger IPv address length is trivial compared to the IP packet size, UNLESS you are tunneling IPv6 through IPv4, which you are not.

                        Another factor is the speed of your hardware. My ethernet chip is rated at 100M bit/s with a capacity of 1G bit/s. My wireless AR9462 chip toggles between 1M bit/s and 54M bit/s depending on the load. My actual RR/Spectrum bandwidth is *supposed* to be 20Mb/s but it rarely goes over 18, and when I download they cap my DL speed at around 2Mb/s.
                        Last edited by GreyGeek; Mar 04, 2017, 12:38 PM.
                        "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                        – John F. Kennedy, February 26, 1962.

                        Comment


                          #13
                          2Mb/s is terrible. Of course you're probably paying considerably less than I am. Okay, with the new mirror in place, I get some strange results to
                          Code:
                          sudo apt-get update
                          Code:
                          Fetched 4,414 kB in 12min 4s (6,093 B/s)                                       
                          W: GPG error: http://masi.vuse.vanderbilt.edu data InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A5D32F012649A5A9
                          W: GPG error: http://masi.vuse.vanderbilt.edu trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A5D32F012649A5A9
                          W: Failed to fetch http://mirrors.advancedhosters.com/debian/dists/main/restricted/binary-amd64/Packages  404  Not Found [IP: 46.229.166.133 80]
                          
                          W: Failed to fetch http://mirrors.advancedhosters.com/debian/dists/main/restricted/binary-i386/Packages  404  Not Found [IP: 46.229.166.133 80]
                          
                          E: Some index files failed to download. They have been ignored, or old ones used instead.
                          mark@AMD64-LTS:~$
                          Apparently that mirror has some issues. What do you think?
                          "If you're in a room with another person who sees the world exactly as you do, one of you is redundant." Dr. Steven Covey, The 7-Habits of Highly Effective People

                          Comment


                            #14
                            Run the following in your terminal:

                            Code:
                            sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3C962022012520A0 
                            sudo apt-get update
                            References: How do I fix the GPG error "NO_PUBKEY"?

                            You need to replace the key (3C962022...) with the one that is displayed in the error message in the terminal.
                            Using Kubuntu Linux since March 23, 2007
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Originally posted by mhumm2 View Post
                              2Mb/s is terrible. Of course you're probably paying considerably less than I am. Okay, with the new mirror in place, I get some strange results to
                              Code:
                              sudo apt-get update
                              Code:
                              Fetched 4,414 kB in 12min 4s (6,093 B/s)                                       
                              W: GPG error: http://masi.vuse.vanderbilt.edu data InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A5D32F012649A5A9
                              W: GPG error: http://masi.vuse.vanderbilt.edu trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A5D32F012649A5A9
                              W: Failed to fetch http://mirrors.advancedhosters.com/debian/dists/main/restricted/binary-amd64/Packages  404  Not Found [IP: 46.229.166.133 80]
                              
                              W: Failed to fetch http://mirrors.advancedhosters.com/debian/dists/main/restricted/binary-i386/Packages  404  Not Found [IP: 46.229.166.133 80]
                              
                              E: Some index files failed to download. They have been ignored, or old ones used instead.
                              mark@AMD64-LTS:~$
                              Apparently that mirror has some issues. What do you think?
                              Snowhog showed you how. I pay $39.99/mo for that TWC/Spectrum Internet ONLY connection. That's the result of no real competition. I've never seen Vanderbuilt listed as a repository, but then, I always go with Ubuntu's

                              Code:
                              deb http://us.archive.ubuntu.com/ubuntu/ xenial restricted main 
                              deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates restricted main 
                              deb http://us.archive.ubuntu.com/ubuntu/ xenial universe 
                              deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe 
                              deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse 
                              deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse 
                              deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports multiverse universe restricted main 
                              deb http://archive.canonical.com/ubuntu/ xenial partner 
                              deb http://security.ubuntu.com/ubuntu/ xenial-security restricted main 
                              deb http://security.ubuntu.com/ubuntu/ xenial-security universe 
                              deb http://security.ubuntu.com/ubuntu/ xenial-security multiverse
                              And KDE Neon's repository, of course, and Steam's and my graphics drivers, and Google Earth
                              Code:
                              deb http://archive.neon.kde.org/user/ xenial main 
                              deb [arch=amd64,i386] http://repo.steampowered.com/steam/ precise steam 
                              deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu/ xenial main 
                              deb http://dl.google.com/linux/earth/deb/ stable main
                              "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
                              – John F. Kennedy, February 26, 1962.

                              Comment

                              Working...
                              X