Now I've done it. I deleted some files from /var/state/apt/lists/
in the hopes of solving my earlier problem and now apt-get is
totally hosed :

@phoenix:[/root] apt-get update
Err http://security.debian.org stable/updates Packages                          
                                                                           
  Could not open file 
/var/state/apt/lists/partial/security.debian.org_dists_stable_updates_binary-i386_Packages
 - open (2 No such file or directory)
Err http://non-us.debian.org stable/non-US Packages                             
                                            
  Could not open file 
/var/state/apt/lists/partial/non-us.debian.org_debian-non-US_dists_stable_non-US_binary-i386_Packages
 - open (2 No such file or directory)
Err http://http.us.debian.org dists/proposed-updates/ Packages                  
                                                                            
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_proposed-updates_Packages
 - open (2 No such file or directory)
Ign http://security.debian.org stable/updates Release                           
                                                                                
                           
Ign http://non-us.debian.org stable/non-US Release                              
                                         
Ign http://http.us.debian.org dists/proposed-updates/ Release          
Err http://http.us.debian.org stable/main Packages                              
   
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_stable_main_binary-i386_Packages
 - open (2 No such file or directory)
Ign http://http.us.debian.org stable/main Release                               
   
Err http://http.us.debian.org stable/contrib Packages                           
   
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_stable_contrib_binary-i386_Packages
 - open (2 No such file or directory)
Ign http://http.us.debian.org stable/contrib Release                            
                   
Err http://www.netgod.net x/ Packages                                  
  Could not open file /var/state/apt/lists/partial/www.netgod.net_x_Packages - 
open (2 No such file or directory)
Err http://http.us.debian.org stable/non-free Packages                          
                   
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_stable_non-free_binary-i386_Packages
 - open (2 No such file or directory)
Ign http://http.us.debian.org stable/non-free Release                  
Err http://http.us.debian.org unstable/main Packages                    
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_unstable_main_binary-i386_Packages
 - open (2 No such file or directory)
Ign http://http.us.debian.org unstable/main Release                     
Err http://http.us.debian.org unstable/contrib Packages                 
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_unstable_contrib_binary-i386_Packages
 - open (2 No such file or directory)
Ign http://http.us.debian.org unstable/contrib Release                  
Ign http://www.netgod.net x/ Release                                    
Err http://http.us.debian.org unstable/non-free Packages
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_unstable_non-free_binary-i386_Packages
 - open (2 No such file or directory)
Ign http://http.us.debian.org unstable/non-free Release
Err http://http.us.debian.org unstable/main Sources  
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_unstable_main_source_Sources
 - open (2 No such file or directory)
Ign http://http.us.debian.org unstable/main Release  
Err http://http.us.debian.org unstable/contrib Sources
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_unstable_contrib_source_Sources
 - open (2 No such file or directory)
Ign http://http.us.debian.org unstable/contrib Release
Err http://http.us.debian.org unstable/non-free Sources
  Could not open file 
/var/state/apt/lists/partial/http.us.debian.org_debian_dists_unstable_non-free_source_Sources
 - open (2 No such file or directory)
Ign http://http.us.debian.org unstable/non-free Release
E: Unable to read /var/state/apt/lists/partial/ - opendir (2 No such file or 
directory)
Exit 100


Can this be fixed without having to reinstall Debian ?
(yes I know it was a bad idea to delete those files from /var/!!)

-- 
Salman Ahmed
ssahmed AT interlog DOT com

Reply via email to