Results 1 to 7 of 7

Thread: Superfast apt-get updates?

  1. #1
    Join Date
    Dec 2007
    Beans
    8,299
    Distro
    Lubuntu 16.04 Xenial Xerus

    Superfast apt-get updates?

    I've complained previously about the size of apt-get updates (~6 MB) and the time it took (~ 3 min). A few others had the same experience.

    Today, I ran apt-get update twice a few hours apart. Both times the size was less than 1 MB just like how it was before Precise came along.

    (Just to be clear, I'm talking about the data downloaded during apt-get update and not apt-get upgrade.)

    Anyone else?
    Shortened urls: See point #11 here. And clicking on them could be risky.
    Use ubuntu-support-status with caution.

  2. #2
    Join Date
    Jun 2011
    Beans
    507
    Distro
    Ubuntu Development Release

    Re: Superfast apt-get updates?

    Quote Originally Posted by vasa1 View Post
    I've complained previously about the size of apt-get updates (~6 MB) and the time it took (~ 3 min). A few others had the same experience.

    Today, I ran apt-get update twice a few hours apart. Both times the size was less than 1 MB just like how it was before Precise came along.

    (Just to be clear, I'm talking about the data downloaded during apt-get update and not apt-get upgrade.)

    Anyone else?
    ok this is normal for me it takes even more time
    be a open source developer , php , c++ more information from ubuntu one ; do not give full screen applications full control
    http://linkbun.ch/1sdv

  3. #3
    Join Date
    Feb 2011
    Location
    Columbus, OH
    Beans
    119
    Distro
    Kubuntu 12.04 Precise Pangolin

    Re: Superfast apt-get updates?

    In all the times i have used Ubuntu (or its variants), it never took more than 2mins (absolute tops) to update the cache. I wouldnt considered to have many repos, but its somewhere around 30ish sources.

    I don't have a fast connection either. Also i clear that cache often..
    Last edited by Jakin; August 7th, 2012 at 03:16 PM.

  4. #4
    Join Date
    Apr 2006
    Beans
    996
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Superfast apt-get updates?

    Quote Originally Posted by vasa1 View Post
    I've complained previously about the size of apt-get updates (~6 MB) and the time it took (~ 3 min). A few others had the same experience.

    Today, I ran apt-get update twice a few hours apart. Both times the size was less than 1 MB just like how it was before Precise came along.

    (Just to be clear, I'm talking about the data downloaded during apt-get update and not apt-get upgrade.)

    Anyone else?
    It downloads the headers first. If there was no change in the repository's list in comparison to the list apt already has, then it does not download the new list. When you do apt-get update frequently, there is a good chance many lists will not need to be downloaded.
    Xye incredibly difficult puzzle game with minimal graphics. Also at playdeb
    Got a blog: Will Stay Free

  5. #5
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,040
    Distro
    Ubuntu Development Release

    Re: Superfast apt-get updates?

    15 seconds to update the cache.

    I guess this will vary considerably due to ISP and ubuntu's servers.

  6. #6
    Join Date
    Dec 2007
    Beans
    8,299
    Distro
    Lubuntu 16.04 Xenial Xerus

    Re: Superfast apt-get updates?

    The interesting thing for me is that until yesterday, ever since I moved to 12.04, data was > 6 MB. Today, it's been less than 1 MB.
    Shortened urls: See point #11 here. And clicking on them could be risky.
    Use ubuntu-support-status with caution.

  7. #7
    Join Date
    Dec 2007
    Beans
    8,299
    Distro
    Lubuntu 16.04 Xenial Xerus

    Re: Superfast apt-get updates?

    See this: https://bugs.launchpad.net/launchpad/+bug/1001780

    Comment #17: "The internal mirror script has been fixed to not clobber the timestamps for old files, so this should no longer be a big problem."

    And the next entry:

    affects: apt (Ubuntu) → ubuntu
    Changed in ubuntu:
    status: Confirmed → Fix Released
    Shortened urls: See point #11 here. And clicking on them could be risky.
    Use ubuntu-support-status with caution.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •