AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题 / 5155
Accepted
Will
Will
Asked: 2010-10-04 23:15:01 +0800 CST2010-10-04 23:15:01 +0800 CST 2010-10-04 23:15:01 +0800 CST

为什么开发版本中的 apt-get 更新较慢?

  • 772

当我更新 apt-get 宇宙 repo 需要很长时间才能下载时,我通常最大速度约为 130kbps,可以在一分钟内轻松下载约 4mb,但它会在每秒一个字节和 30kpbs 之间跳过(而且我没有运行任何在我更新时会占用我带宽的东西)。更新 lucid 很好,不到 10 秒,为什么现在需要 10 分钟...

will@UbuntuBox:~$ sudo apt-get update
Hit http://archive.canonical.com maverick Release.gpg                          
Ign http://archive.canonical.com/ maverick/partner Translation-en              
Get:1 http://ppa.launchpad.net maverick Release.gpg [316B]                     
Ign http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/ maverick/main Translation-en
Ign http://ppa.launchpad.net/ubuntu-x-swat/x-updates/ubuntu/ maverick/main Translation-en_US
Get:2 http://im.archive.ubuntu.com maverick Release.gpg [198B]                 
Ign http://im.archive.ubuntu.com/ubuntu/ maverick/main Translation-en          
Hit http://security.ubuntu.com maverick-security Release.gpg                   
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en   
Hit http://extras.ubuntu.com maverick Release.gpg                              
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en              
Ign http://archive.canonical.com/ maverick/partner Translation-en_US           
Hit http://archive.canonical.com maverick Release                              
Get:3 http://ppa.launchpad.net maverick Release [57.3kB]                       
Ign http://extras.ubuntu.com/ubuntu/ maverick/main Translation-en_US           
Hit http://extras.ubuntu.com maverick Release                                  
Ign http://im.archive.ubuntu.com/ubuntu/ maverick/main Translation-en_US       
Ign http://im.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en    
Ign http://im.archive.ubuntu.com/ubuntu/ maverick/multiverse Translation-en_US 
Hit http://archive.canonical.com maverick/partner i386 Packages                
Hit http://extras.ubuntu.com maverick/main i386 Packages                       
Ign http://im.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en
Ign http://im.archive.ubuntu.com/ubuntu/ maverick/restricted Translation-en_US
Ign http://im.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en
Ign http://im.archive.ubuntu.com/ubuntu/ maverick/universe Translation-en_US
Hit http://im.archive.ubuntu.com maverick-updates Release.gpg              
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-updates/main Translation-en_US
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-updates/multiverse Translation-en_US
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-updates/restricted Translation-en_US
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/main Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/multiverse Translation-en_US
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-updates/universe Translation-en_US
Hit http://im.archive.ubuntu.com maverick-proposed Release.gpg
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-proposed/main Translation-en
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-proposed/main Translation-en_US
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-proposed/multiverse Translation-en
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-proposed/multiverse Translation-en_US
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-proposed/restricted Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/restricted Translation-en_US
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en
Ign http://security.ubuntu.com/ubuntu/ maverick-security/universe Translation-en_US
Hit http://security.ubuntu.com maverick-security Release
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-proposed/restricted Translation-en_US
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-proposed/universe Translation-en
Ign http://im.archive.ubuntu.com/ubuntu/ maverick-proposed/universe Translation-en_US
Get:4 http://im.archive.ubuntu.com maverick Release [57.3kB]
Hit http://security.ubuntu.com maverick-security/main Sources                  
Hit http://security.ubuntu.com maverick-security/restricted Sources            
Hit http://security.ubuntu.com maverick-security/universe Sources
Hit http://security.ubuntu.com maverick-security/main i386 Packages            
Hit http://security.ubuntu.com maverick-security/restricted i386 Packages      
Hit http://security.ubuntu.com maverick-security/multiverse i386 Packages      
Hit http://security.ubuntu.com maverick-security/universe i386 Packages
Get:5 http://ppa.launchpad.net maverick/main Sources [3,051B]                  
Get:6 http://ppa.launchpad.net maverick/main i386 Packages [6,396B]            
Hit http://im.archive.ubuntu.com maverick-updates Release                      
Hit http://im.archive.ubuntu.com maverick-proposed Release                     
Get:7 http://im.archive.ubuntu.com maverick/main Sources [829kB]               
Get:8 http://im.archive.ubuntu.com maverick/restricted Sources [4,361B]        
Get:9 http://im.archive.ubuntu.com maverick/universe Sources [4,186kB]         
Get:10 http://im.archive.ubuntu.com maverick/main i386 Packages [1,491kB]      
Get:11 http://im.archive.ubuntu.com maverick/restricted i386 Packages [6,000B] 
Get:12 http://im.archive.ubuntu.com maverick/multiverse i386 Packages [183kB]  
Get:13 http://im.archive.ubuntu.com maverick/universe i386 Packages [5,786kB]  
Hit http://im.archive.ubuntu.com maverick-updates/main Sources                 
Hit http://im.archive.ubuntu.com maverick-updates/restricted Sources           
Hit http://im.archive.ubuntu.com maverick-updates/universe Sources             
Hit http://im.archive.ubuntu.com maverick-updates/main i386 Packages           
Hit http://im.archive.ubuntu.com maverick-updates/restricted i386 Packages     
Hit http://im.archive.ubuntu.com maverick-updates/multiverse i386 Packages     
Hit http://im.archive.ubuntu.com maverick-updates/universe i386 Packages       
Hit http://im.archive.ubuntu.com maverick-proposed/restricted i386 Packages    
Hit http://im.archive.ubuntu.com maverick-proposed/main i386 Packages          
Hit http://im.archive.ubuntu.com maverick-proposed/universe i386 Packages      
Hit http://im.archive.ubuntu.com maverick-proposed/multiverse i386 Packages    
Fetched 12.6MB in 7min 54s (26.6kB/s)                                          
Reading package lists... Done

如果有人可以提供帮助,我将非常感谢您的遗嘱

10.10 updates apt
  • 2 2 个回答
  • 729 Views

2 个回答

  • Voted
  1. Extender
    2010-10-05T00:13:50+08:002010-10-05T00:13:50+08:00

    发生这种情况是因为每个文件夹中的 Packages.gz 都很大并且现在经常更改。发布后,它将与 Lucid 相同。此外,尝试为您找到最快的服务器(在镜像选择对话框中)。

    • 3
  2. Best Answer
    8128
    2010-10-10T23:38:36+08:002010-10-10T23:38:36+08:00

    我相信这样做的原因比 Extender 已经说过的要多一些。如果您查看终端的输出,您会看到以下几行条目:

    Hit http://country.archive.ubuntu.com maverick/universe Sources
    

    在开发期间,“universe”部分(还有“restricted”、“multiverse”和“main”部分)中的每个包更新都需要更改此文件。但是,在发布后,这些文件不再更新,而是您将看到来自以下位置的更新:

    Hit http://country.archive.ubuntu.com maverick-updates/universe Sources
    

    因为只有相当小比例的软件包在发布后更新,所以这个文件比发布时发布的文件要小得多,并且在开发期间使用。

    现在 Ubuntu (Maverick) 10.10 已经发布,那么更新应该会快得多。

    • 2

相关问题

  • 如何从命令行仅安装安全更新?关于如何管理更新的一些提示

  • iPod Touch (iPhone) 的固件更新?

  • Haskell 平台会在 10.10 中可用吗?

  • 如何让 Ubuntu 减少检查更新的频率?对于 11.04 及更高版本对于赶时间的人!通过 Ubuntu 软件中心

  • 如何启用自动更新?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何安装 .run 文件?

    • 7 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    如何获得 CPU 温度?

    • 21 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Marko Smith

    如何使用命令行将用户添加为新的 sudoer?

    • 7 个回答
  • Marko Smith

    更改文件夹权限和所有权

    • 9 个回答
  • Marko Smith

    你如何重新启动Apache?

    • 13 个回答
  • Marko Smith

    如何卸载软件?

    • 11 个回答
  • Marko Smith

    如何删除 PPA?

    • 26 个回答
  • Martin Hope
    NES 如何启用或禁用服务? 2010-12-30 13:03:32 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    Olivier Lalonde 如何在结束 ssh 会话后保持进程运行? 2010-10-22 04:09:13 +0800 CST
  • Martin Hope
    David B 如何使用命令行将用户添加为新的 sudoer? 2010-10-16 04:02:45 +0800 CST
  • Martin Hope
    Hans 如何删除旧内核版本以清理启动菜单? 2010-08-21 19:37:01 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve