[lug] apt-get errors

Gary Hodges Gary.Hodges at noaa.gov
Fri Jan 30 09:21:50 MST 2004


Paul E Condon wrote:

>
>If it was the *first* use of apt-get update, in the sequence that I outlined,
>you were not sucessful in your install of Woody. You can save a lot of time
>in debugging this, by not attempting to go on until you have Woody correctly
>installed. 
>

Sorry, I misunderstood you.  "apt-get update" while running woody worked 
fine everytime.  It was only after the upgrade to sarge that I started 
having problems

>Can you post your /etc/apt/sources.list files? 
>i.e. the one that you were using to complete your install of Woody, and the
>one that you used in the attempt to migrate to Sarge (Actually, I'm not 
>much interested in the second at this stage, since I'm thinking that there
>is something wrong with the install of Woody.)
>

Here is a current sources.list file.  It is currently set up for sarge, 
but it was fine when it was configured for woody.  All I did was a 
search and replace with emacs.  Maybe something happened there?  I 
didn't save a copy of that file before editing.

--------------
tsi at gwn-tsi:/etc/apt$ more sources.list

deb http://debian.uchicago.edu/debian/ sarge main non-free contrib
deb-src http://debian.uchicago.edu/debian/ sarge main non-free contrib
deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib 
non-free
deb-src http://non-us.debian.org/debian-non-US sarge/non-US main contrib 
non-fre
e

deb http://linux.csua.berkeley.edu/debian/ sarge main non-free contrib
deb-src http://linux.csua.berkeley.edu/debian/ sarge main non-free contrib
deb http://non-us.debian.org/debian-non-US sarge/non-US main contrib 
non-free
deb-src http://non-us.debian.org/debian-non-US sarge/non-US main contrib 
non-fre
e

deb http://security.debian.org/ sarge/updates main contrib non-free
---------------

And for those really interested, here is the full result of "apt-get update"

gwn-tsi:/etc/apt# apt-get update
Hit http://debian.uchicago.edu sarge/main Packages
Hit http://debian.uchicago.edu sarge/main Release
Hit http://debian.uchicago.edu sarge/non-free Packages
Hit http://debian.uchicago.edu sarge/non-free Release
Hit http://linux.csua.berkeley.edu sarge/main Packages
Hit http://linux.csua.berkeley.edu sarge/main Release
Hit http://linux.csua.berkeley.edu sarge/non-free Packages
Hit http://linux.csua.berkeley.edu sarge/non-free Release
Hit http://linux.csua.berkeley.edu sarge/contrib Packages
Hit http://linux.csua.berkeley.edu sarge/contrib Release
Hit http://linux.csua.berkeley.edu sarge/main Sources
Hit http://linux.csua.berkeley.edu sarge/main Release
Hit http://linux.csua.berkeley.edu sarge/non-free Sources
Hit http://linux.csua.berkeley.edu sarge/non-free Release
Hit http://debian.uchicago.edu sarge/contrib 
Packages                         
Hit http://debian.uchicago.edu sarge/contrib 
Release                          
Hit http://debian.uchicago.edu sarge/main 
Sources                             
Hit http://debian.uchicago.edu sarge/main 
Release                             
Hit http://debian.uchicago.edu sarge/non-free 
Sources                         
Hit http://debian.uchicago.edu sarge/non-free 
Release                         
Hit http://debian.uchicago.edu sarge/contrib 
Sources                          
Hit http://debian.uchicago.edu sarge/contrib 
Release                          
Hit http://linux.csua.berkeley.edu sarge/contrib 
Sources                      
Hit http://linux.csua.berkeley.edu sarge/contrib 
Release                      
Get:1 http://non-us.debian.org sarge/non-US/main Packages 
[6771B]             
Hit http://security.debian.org sarge/updates/main 
Packages                    
Hit http://security.debian.org sarge/updates/main Release
Hit http://security.debian.org sarge/updates/contrib Packages
Hit http://security.debian.org sarge/updates/contrib Release
Hit http://security.debian.org sarge/updates/non-free Packages
Hit http://security.debian.org sarge/updates/non-free Release
Hit http://non-us.debian.org sarge/non-US/main Release
Hit http://non-us.debian.org sarge/non-US/contrib Packages
Hit http://non-us.debian.org sarge/non-US/contrib Release
Get:2 http://non-us.debian.org sarge/non-US/non-free Packages [1440B]
Hit http://non-us.debian.org sarge/non-US/non-free Release
Get:3 http://non-us.debian.org sarge/non-US/main Sources [3123B]
Hit http://non-us.debian.org sarge/non-US/main Release
Hit http://non-us.debian.org sarge/non-US/contrib Sources
Hit http://non-us.debian.org sarge/non-US/contrib Release
Get:4 http://non-us.debian.org sarge/non-US/non-free Sources [506B]
Hit http://non-us.debian.org sarge/non-US/non-free Release
Get:5 http://non-us.debian.org sarge/non-US/main Packages [6771B]
Hit http://non-us.debian.org sarge/non-US/main Release
99% [5 Packages gzip 0] [Waiting for headers]
gzip: stdin: not in gzip format
Err http://non-us.debian.org sarge/non-US/main Packages
  Sub-process gzip returned an error code (1)
Hit http://non-us.debian.org sarge/non-US/contrib Packages
Hit http://non-us.debian.org sarge/non-US/contrib Release
Get:6 http://non-us.debian.org sarge/non-US/non-free Packages [1440B]
Hit http://non-us.debian.org sarge/non-US/non-free Release
Get:7 http://non-us.debian.org sarge/non-US/main Sources [3123B]
Hit http://non-us.debian.org sarge/non-US/main Release
99% [Waiting for headers]
gzip: stdin: not in gzip format
Err http://non-us.debian.org sarge/non-US/non-free Packages
  Sub-process gzip returned an error code (1)
99% [Waiting for headers]                   
gzip: stdin: not in gzip format
Err http://non-us.debian.org sarge/non-US/main Sources
  Sub-process gzip returned an error code (1)
Hit http://non-us.debian.org sarge/non-US/contrib Sources
Hit http://non-us.debian.org sarge/non-US/contrib Release
Get:8 http://non-us.debian.org sarge/non-US/non-free Sources [506B]
Hit http://non-us.debian.org sarge/non-US/non-free Release
99% [8 Sources gzip 0]  
gzip: stdin: not in gzip format
Err http://non-us.debian.org sarge/non-US/non-free Sources
  Sub-process gzip returned an error code (1)
Fetched 11.8kB in 1s (10.5kB/s)
Failed to fetch 
http://non-us.debian.org/debian-non-US/dists/sarge/non-US/main/binary-i386/Packages.gz  
Sub-process gzip returned an error code (1)
Failed to fetch 
http://non-us.debian.org/debian-non-US/dists/sarge/non-US/non-free/binary-i386/Packages.gz  
Sub-process gzip returned an error code (1)
Failed to fetch 
http://non-us.debian.org/debian-non-US/dists/sarge/non-US/main/source/Sources.gz  
Sub-process gzip returned an error code (1)
Failed to fetch 
http://non-us.debian.org/debian-non-US/dists/sarge/non-US/non-free/source/Sources.gz  
Sub-process gzip returned an error code (1)
Reading Package Lists... Done
W: Duplicate sources.list entry http://non-us.debian.org 
sarge/non-US/main Packages 
(/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_main_binary-i386_Packages)
W: Duplicate sources.list entry http://non-us.debian.org 
sarge/non-US/contrib Packages 
(/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://non-us.debian.org 
sarge/non-US/non-free Packages 
(/var/lib/apt/lists/non-us.debian.org_debian-non-US_dists_sarge_non-US_non-free_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old 
ones used instead.









More information about the LUG mailing list