GNU/Linux >> Linux の 問題 >  >> Ubuntu

Apt-get Updateのフェッチが非常に大きいのはなぜですか?

この質問にはすでに回答があります :8年前に閉鎖。

重複の可能性:
apt-get更新リストのサイズが大きすぎます

クリーン後 12.04(リリース候補)をインストールし、今日までのすべての更新とアップグレードを受け入れると、sudo apt-get updateが見つかりました 常にMB範囲(約12 MB)の情報をフェッチしますが、sudo apt-get upgrade ほとんどの場合、ダウンロードするものはありません。

私が見る最大の3つのフェッチは次のとおりです。

http://archive.ubuntu.com precise/universe Sources [5,019 kB]
http://archive.ubuntu.com precise/main i386 Packages [1,274 KB]
http://archive.ubuntu.com precise/universe i386 Packages [4,796 KB]

sudo apt-get updateはかなり確信しています フェッチは11.10ほど大きくはなく、1MBを超えることはめったにありませんでした。

私の質問はこれです:12.04が最近のものであるという理由だけでこれらの大規模なフェッチですか、それともこれらの大規模な更新が標準になるのでしょうか?

編集:マイクの回答に応えて、スクリーンショットをいくつか投稿します:

2番目の編集:現在の/etc/apt/sources.listを含めます 。これはです 以前に「その他のソフトウェア」の画像でチェックされていた「ソースコード」エントリのチェックを外しました。

# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Beta i386 (20120421)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://archive.ubuntu.com/ubuntu precise main restricted
deb-src http://archive.ubuntu.com/ubuntu precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu precise-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-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://archive.ubuntu.com/ubuntu precise universe
deb-src http://archive.ubuntu.com/ubuntu precise universe
deb http://archive.ubuntu.com/ubuntu precise-updates universe
deb-src http://archive.ubuntu.com/ubuntu precise-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://archive.ubuntu.com/ubuntu precise multiverse
deb-src http://archive.ubuntu.com/ubuntu precise multiverse
deb http://archive.ubuntu.com/ubuntu precise-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-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://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu precise-security main restricted
deb-src http://archive.ubuntu.com/ubuntu precise-security main restricted
deb http://archive.ubuntu.com/ubuntu precise-security universe
deb-src http://archive.ubuntu.com/ubuntu precise-security universe
deb http://archive.ubuntu.com/ubuntu precise-security multiverse
deb-src http://archive.ubuntu.com/ubuntu precise-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 precise partner
# deb-src http://archive.canonical.com/ubuntu precise 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 precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main

3番目の編集:記録のために、lsb_release -a ショー

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.04 LTS
Release:    12.04
Codename:   precise

4番目の編集(20120512):
これがapt-get updateの出力です 今日見た:

Inspiron-1545:〜$高速

Ign http://archive.ubuntu.com precise InRelease                                                                                    
Ign http://archive.ubuntu.com precise-updates InRelease                                                                            
Ign http://archive.ubuntu.com precise-security InRelease             
Ign http://archive.canonical.com precise InRelease                   
Ign http://extras.ubuntu.com precise InRelease                       
Ign http://ppa.launchpad.net precise InRelease                       
Ign http://ppa.launchpad.net precise InRelease                       
Get:1 http://archive.ubuntu.com precise Release.gpg [198 B]          
Get:2 http://archive.ubuntu.com precise-updates Release.gpg [198 B]  
Hit http://archive.canonical.com precise Release.gpg                 
Hit http://extras.ubuntu.com precise Release.gpg                     
Hit http://ppa.launchpad.net precise Release.gpg                     
Get:3 http://archive.ubuntu.com precise-security Release.gpg [198 B] 
Get:4 http://archive.ubuntu.com precise Release [49.6 kB]                                             
Hit http://archive.canonical.com precise Release                                                   
Hit http://extras.ubuntu.com precise Release                                                          
Hit http://ppa.launchpad.net precise Release.gpg                                                      
Hit http://archive.canonical.com precise/partner i386 Packages                 
Hit http://extras.ubuntu.com precise/main i386 Packages                        
Hit http://ppa.launchpad.net precise Release                                   
Get:5 http://archive.ubuntu.com precise-updates Release [49.6 kB]                                                           
Ign http://archive.canonical.com precise/partner TranslationIndex                                                        
Ign http://extras.ubuntu.com precise/main TranslationIndex                                           
Hit http://ppa.launchpad.net precise Release                                   
Get:6 http://archive.ubuntu.com precise-security Release [49.6 kB]                                                          
Hit http://ppa.launchpad.net precise/main i386 Packages                                              
Ign http://ppa.launchpad.net precise/main TranslationIndex                                           
Hit http://ppa.launchpad.net precise/main i386 Packages                                              
Ign http://ppa.launchpad.net precise/main TranslationIndex                                           
Ign http://archive.canonical.com precise/partner Translation-en_IN                                   
Ign http://extras.ubuntu.com precise/main Translation-en_IN                                                                        
Ign http://archive.canonical.com precise/partner Translation-en                                                                    
Ign http://extras.ubuntu.com precise/main Translation-en                                                                           
Ign http://ppa.launchpad.net precise/main Translation-en_IN                                                                        
Ign http://ppa.launchpad.net precise/main Translation-en                                                                           
Ign http://ppa.launchpad.net precise/main Translation-en_IN                                                                        
Get:7 http://archive.ubuntu.com precise/main i386 Packages [1,274 kB]                                                              
Ign http://ppa.launchpad.net precise/main Translation-en                                                                           
Get:8 http://archive.ubuntu.com precise/restricted i386 Packages [8,431 B]                                                         
Get:9 http://archive.ubuntu.com precise/universe i386 Packages [4,796 kB]                                                          
Get:10 http://archive.ubuntu.com precise/multiverse i386 Packages [121 kB]                                                         
Hit http://archive.ubuntu.com precise/main TranslationIndex                                                                        
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex                                                                  
Hit http://archive.ubuntu.com precise/restricted TranslationIndex                                                                  
Hit http://archive.ubuntu.com precise/universe TranslationIndex                                                                    
Get:11 http://archive.ubuntu.com precise-updates/main i386 Packages [96.5 kB]                                                      
Get:12 http://archive.ubuntu.com precise-updates/main i386 Packages [96.5 kB]                                                      
Get:13 http://archive.ubuntu.com precise-updates/restricted i386 Packages [770 B]                                                  
Get:14 http://archive.ubuntu.com precise-updates/universe i386 Packages [27.7 kB]                                                  
Get:15 http://archive.ubuntu.com precise-updates/multiverse i386 Packages [1,393 B]                                                
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex                                                                
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex                                                          
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex                                                          
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex                                                            
Get:16 http://archive.ubuntu.com precise-security/main i386 Packages [32.9 kB]                                                     
Get:17 http://archive.ubuntu.com precise-security/restricted i386 Packages [14 B]                                                  
Get:18 http://archive.ubuntu.com precise-security/universe i386 Packages [8,594 B]                                                 
Get:19 http://archive.ubuntu.com precise-security/multiverse i386 Packages [1,393 B]                                               
Hit http://archive.ubuntu.com precise-security/main TranslationIndex                                                               
Hit http://archive.ubuntu.com precise-security/multiverse TranslationIndex                                                         
Hit http://archive.ubuntu.com precise-security/restricted TranslationIndex                                                         
Hit http://archive.ubuntu.com precise-security/universe TranslationIndex                                                           
Hit http://archive.ubuntu.com precise/main Translation-en                                                                          
Hit http://archive.ubuntu.com precise/multiverse Translation-en                                                                    
Hit http://archive.ubuntu.com precise/restricted Translation-en                                                                    
Hit http://archive.ubuntu.com precise/universe Translation-en                                                                      
Hit http://archive.ubuntu.com precise-updates/main Translation-en                                                                  
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en                                                            
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en                                                            
Hit http://archive.ubuntu.com precise-updates/universe Translation-en                                                              
Hit http://archive.ubuntu.com precise-security/main Translation-en                                                                 
Hit http://archive.ubuntu.com precise-security/multiverse Translation-en                                                           
Hit http://archive.ubuntu.com precise-security/restricted Translation-en                                                           
Hit http://archive.ubuntu.com precise-security/universe Translation-en                                                             
Fetched 6,494 kB in 2min 51s (37.9 kB/s)                                                                                           
Reading package lists... Done
Working...
No files to download.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
-e 
Done! Verify that all packages were installed successfully. If errors are found, run apt-get clean as root and try again using apt-get directly.

fast 最初の行は、apt-fastを使用しているためです apt-getの代わりに )

承認された回答:

apt.confのdeb-srcを無効にしました マイクごとの行数は何でも答えます。これにより、あなたと同じように、最大​​6MBになりました。

関連:Ubuntuを誤って再インストールした後、ハードディスクからデータを回復しますか?

次に、aptがパッケージ情報を取得しているときに、192.168.1.3(squid-deb-proxy)を通過していることに気付きました。 サーバー(11.10を実行します。まだアップグレードに取り掛かっていません)。 squid-deb-proxy-clientのアンインストール クライアントからの情報のダウンロードサイズが通常に戻りました。

編集:ああ、それは以前の振る舞いに戻りました。また、Macの仮想マシン(安定したリリースがリリースされた日のフレッシュインストール)もチェックしました。これは時々起動します。パッケージの更新情報も大きなダウンロードです。このソリューションが機能しないことを文書化するために、この回答はそのままにしておきます。それを超えて、私は立ち往生しています。

関連:UbuntuでフォントDpi設定を変更する方法は?
Ubuntu
  1. Firefox8.0がUpdateManagerのアップデートとして利用できないのはなぜですか?

  2. Ubuntu 14.04を15.04に更新しますか?

  3. 更新とアップグレードの分離が存在するのはなぜですか?

  1. 公式リポジトリから更新できませんか?

  2. Ubuntu 16.04.1を16.04.3に更新しますか?

  3. Ubuntu がサーバー管理に最適な理由

  1. Webサイトの統計が更新されないのはなぜですか

  2. DebianとUbuntu:違いは何ですか?

  3. Aptがカーネルを更新しなくなったのはなぜですか?