Announcement

Collapse
No announcement yet.

Both Adept and Synaptic crash!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Both Adept and Synaptic crash!

    Hey. I recently installed Kubuntu 8.10, and after a few headaches figuring out how to install both my graphics card drivers, and wireless drivers, I finally had my un-updated version of Kubuntu up and running. That was, until I decided to update my system... after the update I had to reinstall my NVIDIA Graphics driver, but, since that was probably NVIDIA's error, I forgave Linux. This, however, is ridiculous, and I beg the developers to make their updates with more care... or at least give them more extensive tests in order to fish out the bugs.

    Adept & Synaptic both crash giving me the same error. They display it for a couple of seconds and then die..

    Code:
    APT Error. Context:
      The package lists or status file could not be parsed or opened., 
      Unable to parse package file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages (1)
    Any help on this? Please, otherwise from this unexpected unstability on my system, which pisses me off, I'm in love with Linux (Ok, GNU/Linux :P). Any help on solving this would be greatly appreciated. After all, I'm just an Ubuntu noob.

    #2
    Re: Both Adept and Synaptic crash!

    Have you added a new repository and not updated?

    Comment


      #3
      Re: Both Adept and Synaptic crash!

      I installed a few apps (Firefox, Blender 8, a few wireless management tools, and upgraded some of the software. Somehow Synaptic snuck in there and that's how I found out it was a general error, and not some sillys Adept crash). Then, I clicked on that Gear which notifies you of updates (I guess it's the Adept update manager), and installed all 284 of them, including a new Linux kernel version, which is what upset my NVIDIA Drivers.

      Is that all you need to know?


      Run KDE 4.1, btw.

      Comment


        #4
        Re: Both Adept and Synaptic crash!

        This really has nothing to do with which package manager GUI you are running. It is part of the apt system that underlies all of them. Each repository should have a file like the one mentioned in the error message. Try
        ls -l /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages and see if the file exists and what permissions it has. Try running "sudo aptitude update" and see if it works after that.

        Comment


          #5
          Re: Both Adept and Synaptic crash!

          Will do. Let me just reboot back to Kubuntu....

          Comment


            #6
            Re: Both Adept and Synaptic crash!

            Ran both commands in Konsole:

            Code:
            ugriffin@ubuntu:~$ ls -l /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages                     
            -rw-r--r-- 1 root root 2317128 2009-03-20 18:31 /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages          
            ugriffin@ubuntu:~$ sudo aptitude update                     
            [sudo] password for ugriffin:                          
            E: Unable to parse package file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages (1)                
            E: The package lists or status file could not be parsed or opened.       
            E: Unable to parse package file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages (1)                
            E: The package lists or status file could not be parsed or opened.       
            Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid Release.gpg                                    
            Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/main Translation-en_AU                              
            Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/restricted Translation-en_AU                           
            Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid Release                                      
            Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/main Packages                                   
            Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/restricted Packages                                
            Err cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/main Packages                                   
             Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs                         
            Err cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/restricted Packages                                
             Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs                         
            Hit [url]http://archive.ubuntu.com[/url] intrepid Release.gpg               
            Hit [url]http://archive.ubuntu.com[/url] intrepid/main Translation-en_AU          
            Hit [url]http://archive.canonical.com[/url] intrepid Release.gpg              
            Ign [url]http://archive.canonical.com[/url] intrepid/partner Translation-en_AU       
            Ign [url]http://archive.ubuntu.com[/url] intrepid/restricted Translation-en_AU       
            Ign [url]http://archive.ubuntu.com[/url] intrepid/universe Translation-en_AU        
            Ign [url]http://archive.ubuntu.com[/url] intrepid/multiverse Translation-en_AU       
            Get:1 [url]http://archive.ubuntu.com[/url] intrepid-updates Release.gpg [189B]       
            Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/main Translation-en_AU      
            Ign [url]http://archive.ubuntu.com[/url] intrepid-updates/restricted Translation-en_AU
            Ign [url]http://archive.ubuntu.com[/url] intrepid-updates/universe Translation-en_AU
            Ign [url]http://archive.ubuntu.com[/url] intrepid-updates/multiverse Translation-en_AU
            Hit [url]http://archive.canonical.com[/url] intrepid Release
            Hit [url]http://archive.ubuntu.com[/url] intrepid Release
            Hit [url]http://archive.ubuntu.com[/url] intrepid-updates Release
            Ign [url]http://archive.ubuntu.com[/url] intrepid-updates Release
            Hit [url]http://archive.canonical.com[/url] intrepid/partner Packages
            Hit [url]http://archive.ubuntu.com[/url] intrepid/main Packages
            Hit [url]http://archive.ubuntu.com[/url] intrepid/restricted Packages
            Hit [url]http://archive.ubuntu.com[/url] intrepid/universe Packages
            Hit [url]http://archive.ubuntu.com[/url] intrepid/main Sources
            Hit [url]http://archive.ubuntu.com[/url] intrepid/restricted Sources
            Hit [url]http://archive.ubuntu.com[/url] intrepid/multiverse Packages
            Hit [url]http://archive.ubuntu.com[/url] intrepid/multiverse Sources
            Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/main Packages
            Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/restricted Packages
            Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/universe Packages
            Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/main Sources
            Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/restricted Sources
            Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/multiverse Packages
            Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/multiverse Sources
            Fetched 189B in 1s (102B/s)
            Reading package lists... Error!
            E: Unable to parse package file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages (1)
            E: The package lists or status file could not be parsed or opened.
            E: Couldn't rebuild package cache
            E: Unable to parse package file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages (1)
            E: The package lists or status file could not be parsed or opened.
            
            E: Unable to parse package file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages (1)
            E: The package lists or status file could not be parsed or opened.
            ugriffin@ubuntu:~$

            Comment


              #7
              Re: Both Adept and Synaptic crash!

              The permissions and size of the file appear appropriate and you are running it as root so almost certainly the file is corrupt and not parsing correctly. Delete it and run aptitude update again and it should be recreated.

              Did you suffer a crash while updating at 6:31 PM on March 22?

              Comment


                #8
                Re: Both Adept and Synaptic crash!

                Deleted, and tried to update. Somehow, the file is still there...

                As for the crash, the whole update process went fine, save for the NVIDIA Drivers crashing.

                EDIT: After reading the whole thing, I guess that my whole package managers etc. are all messed up...
                Code:
                ugriffin@ubuntu:~$ sudo rm /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_main_binary-i386_Packages                    
                ugriffin@ubuntu:~$ sudo aptitude update                    
                E: Encountered a section with no Package: header                
                E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_restricted_binary-i386_Packages                 
                E: The package lists or status file could not be parsed or opened.       
                E: Encountered a section with no Package: header                
                E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_restricted_binary-i386_Packages                 
                E: The package lists or status file could not be parsed or opened.       
                Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid Release.gpg                                   
                Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/main Translation-en_AU                              
                Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/restricted Translation-en_AU                           
                Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid Release                                     
                Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/main Packages                                  
                Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/restricted Packages                               
                Err cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/main Packages                                  
                 Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs                         
                Err cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/restricted Packages                               
                 Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs                         
                Hit [url]http://archive.ubuntu.com[/url] intrepid Release.gpg               
                Hit [url]http://archive.ubuntu.com[/url] intrepid/main Translation-en_AU         
                Hit [url]http://archive.canonical.com[/url] intrepid Release.gpg             
                Ign [url]http://archive.canonical.com[/url] intrepid/partner Translation-en_AU      
                Ign [url]http://archive.ubuntu.com[/url] intrepid/restricted Translation-en_AU      
                Ign [url]http://archive.ubuntu.com[/url] intrepid/universe Translation-en_AU       
                Ign [url]http://archive.ubuntu.com[/url] intrepid/multiverse Translation-en_AU      
                Get:1 [url]http://archive.ubuntu.com[/url] intrepid-updates Release.gpg [189B]      
                Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/main Translation-en_AU     
                Ign [url]http://archive.ubuntu.com[/url] intrepid-updates/restricted Translation-en_AU  
                Ign [url]http://archive.ubuntu.com[/url] intrepid-updates/universe Translation-en_AU   
                Ign [url]http://archive.ubuntu.com[/url] intrepid-updates/multiverse Translation-en_AU  
                Hit [url]http://archive.canonical.com[/url] intrepid Release
                Hit [url]http://archive.ubuntu.com[/url] intrepid Release
                Hit [url]http://archive.ubuntu.com[/url] intrepid-updates Release
                Ign [url]http://archive.ubuntu.com[/url] intrepid-updates Release
                Hit [url]http://archive.canonical.com[/url] intrepid/partner Packages
                Hit [url]http://archive.ubuntu.com[/url] intrepid/main Packages
                Hit [url]http://archive.ubuntu.com[/url] intrepid/restricted Packages
                Hit [url]http://archive.ubuntu.com[/url] intrepid/universe Packages
                Hit [url]http://archive.ubuntu.com[/url] intrepid/main Sources
                Hit [url]http://archive.ubuntu.com[/url] intrepid/restricted Sources
                Hit [url]http://archive.ubuntu.com[/url] intrepid/multiverse Packages
                Hit [url]http://archive.ubuntu.com[/url] intrepid/multiverse Sources
                Get:2 [url]http://archive.ubuntu.com[/url] intrepid-updates/main Packages [317kB]
                Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/restricted Packages
                Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/universe Packages
                Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/main Sources
                Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/restricted Sources
                Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/multiverse Packages
                Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/multiverse Sources
                Fetched 317kB in 6s (52.1kB/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_intrepid-updates_restricted_binary-i386_Packages
                E: The package lists or status file could not be parsed or opened.
                E: Couldn't rebuild package cache
                E: Encountered a section with no Package: header
                E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_restricted_binary-i386_Packages
                E: The package lists or status file could not be parsed or opened.
                
                E: Encountered a section with no Package: header
                E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_restricted_binary-i386_Packages
                E: The package lists or status file could not be parsed or opened.
                ugriffin@ubuntu:~$

                Comment


                  #9
                  Re: Both Adept and Synaptic crash!

                  Interesting. Just for completeness sake you could remove the file, then list it to make sure it is gone, but my guess is it is gone and there is a problem file on the server. I notice you are using en_AU and archive so that fact that I am having no trouble with us.archive is meaningless.

                  I expect this is a temporary problem with their server that will be fixed soon. Meanwhile, it might be slow but I expect you could change your archive to us.archive and it would work.

                  Comment


                    #10
                    Re: Both Adept and Synaptic crash!

                    So, how do I change that without Adept?

                    Also, do I delete the folder with all the packages, or what?

                    Comment


                      #11
                      Re: Both Adept and Synaptic crash!

                      As root edit the file /etc/apt/sources.list. Use kate or whatever editor you like. You will see lines like
                      deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

                      although yours may say intrepid where mine says jaunty, and where mine uses http://us.archive.ubuntu.com your uses http://archive.ubuntu.com. Just add us. in this one line and update.

                      Comment


                        #12
                        Re: Both Adept and Synaptic crash!

                        *sigh*

                        There's still parts that are downloaded from archive.ubuntu instead of us.archive.ubuntu, but there's no diffrence. Should I delete the entire buch of package lists?
                        Code:
                        ugriffin@ubuntu:~$ sudo aptitude update
                        E: Encountered a section with no Package: header
                        E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_multiverse_binary-i386_Packages                  
                        E: The package lists or status file could not be parsed or opened.       
                        E: Encountered a section with no Package: header                
                        E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_multiverse_binary-i386_Packages                  
                        E: The package lists or status file could not be parsed or opened.       
                        Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid Release.gpg                                    
                        Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/main Translation-en_AU                              
                        Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/restricted Translation-en_AU                           
                        Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid Release                                      
                        Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/main Packages                                   
                        Ign cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/restricted Packages                                
                        Err cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/main Packages                                   
                         Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs                         
                        Err cdrom://Kubuntu 8.10 _Intrepid Ibex_ - Release i386 (20081029.1) intrepid/restricted Packages                                
                         Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs                         
                        Get:1 [url]http://us.archive.ubuntu.com[/url] intrepid Release.gpg [189B]         
                        Get:2 [url]http://us.archive.ubuntu.com[/url] intrepid/main Translation-en_AU [2734B]   
                        Hit [url]http://archive.ubuntu.com[/url] intrepid Release.gpg               
                        Ign [url]http://archive.ubuntu.com[/url] intrepid/multiverse Translation-en_AU       
                        Hit [url]http://archive.canonical.com[/url] intrepid Release.gpg              
                        Ign [url]http://archive.canonical.com[/url] intrepid/partner Translation-en_AU       
                        Ign [url]http://us.archive.ubuntu.com[/url] intrepid/restricted Translation-en_AU     
                        Ign [url]http://us.archive.ubuntu.com[/url] intrepid/universe Translation-en_AU      
                        Get:3 [url]http://us.archive.ubuntu.com[/url] intrepid-updates Release.gpg [189B]     
                        Get:4 [url]http://us.archive.ubuntu.com[/url] intrepid-updates/main Translation-en_AU [2734B]                                       
                        Get:5 [url]http://archive.ubuntu.com[/url] intrepid-updates Release.gpg [189B]       
                        Ign [url]http://archive.ubuntu.com[/url] intrepid-updates/multiverse Translation-en_AU   
                        Hit [url]http://archive.ubuntu.com[/url] intrepid Release                 
                        Hit [url]http://archive.canonical.com[/url] intrepid Release                
                        Ign [url]http://us.archive.ubuntu.com[/url] intrepid-updates/restricted Translation-en_AU 
                        Ign [url]http://us.archive.ubuntu.com[/url] intrepid-updates/universe Translation-en_AU  
                        Get:6 [url]http://us.archive.ubuntu.com[/url] intrepid Release [65.9kB]
                        Hit [url]http://archive.ubuntu.com[/url] intrepid-updates Release
                        Ign [url]http://archive.ubuntu.com[/url] intrepid-updates Release
                        Hit [url]http://archive.canonical.com[/url] intrepid/partner Packages
                        Hit [url]http://archive.ubuntu.com[/url] intrepid/multiverse Packages
                        Hit [url]http://archive.ubuntu.com[/url] intrepid/multiverse Sources
                        Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/multiverse Packages
                        Hit [url]http://archive.ubuntu.com[/url] intrepid-updates/multiverse Sources
                        Get:7 [url]http://us.archive.ubuntu.com[/url] intrepid-updates Release [51.2kB]
                        Get:8 [url]http://us.archive.ubuntu.com[/url] intrepid/main Packages [1256kB]
                        Get:9 [url]http://us.archive.ubuntu.com[/url] intrepid/restricted Packages [8408B]
                        Get:10 [url]http://us.archive.ubuntu.com[/url] intrepid/universe Packages [4542kB]
                        Get:11 [url]http://us.archive.ubuntu.com[/url] intrepid/main Sources [505kB]
                        Get:12 [url]http://us.archive.ubuntu.com[/url] intrepid/restricted Sources [3113B]
                        Get:13 [url]http://us.archive.ubuntu.com[/url] intrepid-updates/main Packages [317kB]
                        Get:14 [url]http://us.archive.ubuntu.com[/url] intrepid-updates/restricted Packages [8097B]
                        Get:15 [url]http://us.archive.ubuntu.com[/url] intrepid-updates/universe Packages [81.4kB]
                        Get:16 [url]http://us.archive.ubuntu.com[/url] intrepid-updates/main Sources [99.8kB]
                        Get:17 [url]http://us.archive.ubuntu.com[/url] intrepid-updates/restricted Sources [2474B]
                        Fetched 6947kB in 1min7s (103kB/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_intrepid-updates_multiverse_binary-i386_Packages
                        E: The package lists or status file could not be parsed or opened.
                        E: Couldn't rebuild package cache
                        E: Encountered a section with no Package: header
                        E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_multiverse_binary-i386_Packages
                        E: The package lists or status file could not be parsed or opened.
                        
                        E: Encountered a section with no Package: header
                        E: Problem with MergeList /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_intrepid-updates_multiverse_binary-i386_Packages
                        E: The package lists or status file could not be parsed or opened.

                        Comment


                          #13
                          Re: Both Adept and Synaptic crash!

                          Nvm. As I was toying around with the files and such, I noticed that the Package list files got updated to us.ubuntu, so I updated the rest of 'em save for securitu.ubuntu... and the canonical files.




                          Thanks for the help!

                          Comment

                          Working...
                          X