Results 1 to 3 of 3

Thread: Problems with upgrade to 13.04 and apt-get

  1. #1
    Join Date
    Jun 2010
    Ubuntu Studio

    Problems with upgrade to 13.04 and apt-get

    I just upgraded to Ubuntu Studio 13.10. When trying to get an update, apt-get crashes. When I run apt-get update manually I get the following:

    mark@mark-Inspiron-M5110:~$ sudo apt-get update
    [sudo] password for mark: 
    Ign saucy InRelease                                   
    Ign saucy InRelease                                  
    Hit saucy Release.gpg 
    Ign saucy-updates InRelease
    Hit saucy Release     
    Ign saucy InRelease                      
    Ign saucy-backports InRelease               
    Hit saucy Release.gpg
    Hit saucy/main amd64 Packages
    Ign saucy-security InRelease
    Hit saucy Release 
    Hit saucy/main i386 Packages                 
    Hit saucy Release.gpg                      
    Get:1 saucy-updates Release.gpg [933 B]    
    Hit saucy/partner amd64 Packages                  
    Get:2 saucy-backports Release.gpg [933 B]  
    Hit saucy/partner i386 Packages                   
    Get:3 saucy-security Release.gpg [933 B]    
    Hit saucy Release                                    
    Get:4 saucy-updates Release [49.6 kB]                
    Ign saucy/main Translation-en_US                    
    Ign saucy/main Translation-en                         
    Ign saucy/partner Translation-en_US               
    Ign saucy/partner Translation-en                  
    Get:5 saucy-backports Release [49.6 kB]              
    Get:6 saucy-security Release [49.6 kB]               
    Hit saucy/main Sources                               
    Hit saucy/restricted Sources                         
    Hit saucy/universe Sources                           
    Hit saucy/multiverse Sources                         
    Hit saucy/main amd64 Packages                        
    Hit saucy/restricted amd64 Packages                  
    Hit saucy/universe amd64 Packages                    
    Hit saucy/multiverse amd64 Packages                  
    Hit saucy/main i386 Packages                         
    Hit saucy/restricted i386 Packages                   
    Hit saucy/universe i386 Packages                     
    Hit saucy/multiverse i386 Packages                   
    Hit saucy/main Translation-en                        
    Hit saucy/multiverse Translation-en                  
    Hit saucy/restricted Translation-en                  
    Hit saucy/universe Translation-en                    
    Get:7 saucy-updates/main Sources [61.4 kB]           
    Get:8 saucy-updates/restricted Sources [14 B]        
    Get:9 saucy-updates/universe Sources [41.8 kB]       
    Get:10 saucy-updates/multiverse Sources [1,353 B]    
    Get:11 saucy-updates/main amd64 Packages [181 kB]    
    Get:12 saucy-updates/restricted amd64 Packages [14 B]
    Get:13 saucy-updates/universe amd64 Packages [123 kB]
    Get:14 saucy-updates/multiverse amd64 Packages [1,566 B]
    Get:15 saucy-updates/main i386 Packages [180 kB]     
    Get:16 saucy-updates/restricted i386 Packages [14 B] 
    Get:17 saucy-updates/universe i386 Packages [124 kB] 
    Get:18 saucy-updates/multiverse i386 Packages [1,776 B]
    Hit saucy-updates/main Translation-en                
    Hit saucy-updates/multiverse Translation-en          
    Hit saucy-updates/restricted Translation-en          
    Hit saucy-updates/universe Translation-en            
    Get:19 saucy-backports/main Sources [14 B]           
    Get:20 saucy-backports/restricted Sources [14 B]     
    Get:21 saucy-backports/universe Sources [2,107 B]    
    Get:22 saucy-backports/multiverse Sources [834 B]    
    Get:23 saucy-backports/main amd64 Packages [14 B]    
    Get:24 saucy-backports/restricted amd64 Packages [14 B]
    Get:25 saucy-backports/universe amd64 Packages [2,321 B]
    Get:26 saucy-backports/multiverse amd64 Packages [14 B]
    Get:27 saucy-backports/main i386 Packages [14 B]     
    Get:28 saucy-backports/restricted i386 Packages [14 B]
    Get:29 saucy-backports/universe i386 Packages [2,329 B]
    Get:30 saucy-backports/multiverse i386 Packages [709 B]
    Hit saucy-backports/main Translation-en              
    Hit saucy-backports/multiverse Translation-en        
    Hit saucy-backports/restricted Translation-en        
    Hit saucy-backports/universe Translation-en          
    Get:31 saucy-security/main Sources [21.6 kB]         
    Get:32 saucy-security/restricted Sources [14 B]      
    Get:33 saucy-security/universe Sources [6,669 B]     
    Get:34 saucy-security/multiverse Sources [701 B]     
    Get:35 saucy-security/main amd64 Packages [62.9 kB]  
    Get:36 saucy-security/restricted amd64 Packages [14 B]
    Get:37 saucy-security/universe amd64 Packages [24.1 kB]
    Get:38 saucy-security/multiverse amd64 Packages [1,149 B]
    Get:39 saucy-security/main i386 Packages [62.6 kB]   
    Get:40 saucy-security/restricted i386 Packages [14 B]
    Get:41 saucy-security/universe i386 Packages [24.4 kB]
    Get:42 saucy-security/multiverse i386 Packages [1,388 B]
    Hit saucy-security/main Translation-en               
    Hit saucy-security/multiverse Translation-en         
    Hit saucy-security/restricted Translation-en         
    Hit saucy-security/universe Translation-en           
    Ign saucy/main Translation-en_US                     
    Ign saucy/multiverse Translation-en_US
    Ign saucy/restricted Translation-en_US
    Ign saucy/universe Translation-en_US
    Ign saucy-updates/main Translation-en_US
    Ign saucy-updates/multiverse Translation-en_US
    Ign saucy-updates/restricted Translation-en_US
    Ign saucy-updates/universe Translation-en_US
    Ign saucy-backports/main Translation-en_US
    Ign saucy-backports/multiverse Translation-en_US
    Ign saucy-backports/restricted Translation-en_US
    Ign saucy-backports/universe Translation-en_US
    Ign saucy-security/main Translation-en_US
    Ign saucy-security/multiverse Translation-en_US
    Ign saucy-security/restricted Translation-en_US
    Ign saucy-security/universe Translation-en_US
    Fetched 1,081 kB in 1min 12s (14.8 kB/s)
    Reading package lists... Error!
    E: Encountered a section with no Package: header
    E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-security_main_i18n_Translation-en
    E: The package lists or status file could not be parsed or opened.

    Sorry for the long post, but I figured it might help
    Last edited by QIII; January 8th, 2014 at 11:15 PM. Reason: code tags

  2. #2
    Join Date
    Jun 2010
    Ubuntu Studio

    Re: Problems with upgrade to 13.04 and apt-get

    This is for anyone with similar problems.
    I am not an IT guy and have no formal training in Linux, but I've been using it since before Fedora was born, so I have acquired a bit of knowledge "the hard way." In this case, it appeared that the problem was with the file: /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-security_main_i18n_Translation-en, so let's open it and see what it says! I use gedit and if you do NOT do it with sudo, the file will open as read-only and you cannot do much harm. So I did. The file was complete garbage with no recognizable characters. Now this MIGHT mean it was a machine language file of some sort, but in my experience, in linux, usually files of this type are ASKI. So let's try just deleting it. Not being stupid (been there done that) I first copy the file to *.old, THEN delete it (all must be done as root : sudo cp... then sudo rm...). Now run sudo apt-get update again and all is well. Problem solved, or at least I think it is. The automated update is working and so far no crashes. And, yes, the file (/var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_saucy-security_main_i18n_Translation-en) is a normal ASKI file again.
    No idea why this happened. If it is a bug or just my luck, but if you run into the same thing, this quick trick works.

  3. #3
    Join Date
    Oct 2009
    Reykjavík, Ísland
    Lubuntu 15.10 Wily Werewolf

    Re: Problems with upgrade to 13.04 and apt-get

    Good, please mark the thread 'solved'.

    By the way, it's ASCII not ASKI.
    Last edited by mörgæs; January 9th, 2014 at 12:29 AM.
    About problems due to upgrading
    Bringing old hardware back to life.
    Please visit Quick Links -> Unanswered Posts


Posting Permissions

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