Announcement

Collapse
No announcement yet.

Unable to update the package cache

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

    Unable to update the package cache

    Odd error I thought would clear up in a week or so, but hasn't cleared yet. I attempt to update/refresh the package cache from kpackagekit and I receive the following error:

    Error Type:
    Error Value: coercing to Unicode: need string or buffer, exceptions.SystemError found
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2216, in
    main()
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2213, in main
    run(args, options.single)
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 2175, in run
    backend.dispatcher(args)
    File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 699, in dispatcher
    self.dispatch_command(args[0], args[1:])
    File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 606, in dispatch_command
    self.refresh_cache(force)
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 202, in _locked_cache
    func(*args, **kwargs)
    File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 1498, in refresh_cache
    format_string(error.message))
    File : /usr/lib/python2.6/dist-packages/packagekit/backend.py, line 723, in format_string
    txt = unicode(text, encoding, errors='replace')


    Any ideas?

    Thanks in advance,

    Jimbo

    #2
    Re: Unable to update the package cache

    Are you attempting to update the package cache via KPackageKit? Have you tired from the console with:
    Code:
    sudo apt-get update
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Re: Unable to update the package cache

      I have.... here is a look at the console errors:

      Code:
      Hit [url]http://archive.canonical.com[/url] lucid Release.gpg
      Ign [url]http://archive.canonical.com/ubuntu/[/url] lucid/partner Translation-en_US        
      Ign [url]http://ppa.launchpad.net[/url] lucid Release.gpg                     
      Ign [url]http://ppa.launchpad.net/claydoh/kmymoney-kde-sc-4.4/ubuntu/[/url] lucid/main Translation-en_US
      Hit [url]http://archive.canonical.com[/url] lucid Release                     
      Hit [url]http://us.archive.ubuntu.com[/url] lucid Release.gpg                   
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid/main Translation-en_US          
      Hit [url]http://ppa.launchpad.net[/url] lucid Release.gpg                     
      Ign [url]http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu/[/url] lucid/main Translation-en_US 
      Ign [url]http://ppa.launchpad.net[/url] lucid Release                       
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid/restricted Translation-en_US       
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid/universe Translation-en_US        
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid/multiverse Translation-en_US       
      Hit [url]http://us.archive.ubuntu.com[/url] lucid-updates Release.gpg               
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-updates/main Translation-en_US      
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-updates/restricted Translation-en_US   
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-updates/universe Translation-en_US    
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-updates/multiverse Translation-en_US   
      Hit [url]http://ppa.launchpad.net[/url] lucid Release                       
      Get:1 [url]http://us.archive.ubuntu.com[/url] lucid-security Release.gpg [189B]          
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-security/main Translation-en_US     
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-security/restricted Translation-en_US  
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-security/universe Translation-en_US   
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-security/multiverse Translation-en_US  
      Get:2 [url]http://us.archive.ubuntu.com[/url] lucid-proposed Release.gpg [189B]          
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-proposed/restricted Translation-en_US  
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-proposed/main Translation-en_US     
      Ign [url]http://ppa.launchpad.net[/url] lucid/main Packages                    
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-proposed/multiverse Translation-en_US  
      Ign [url]http://us.archive.ubuntu.com/ubuntu/[/url] lucid-proposed/universe Translation-en_US   
      Hit [url]http://archive.canonical.com[/url] lucid/partner Packages                 
      Hit [url]http://packages.medibuntu.org[/url] lucid Release.gpg                   
      Ign [url]http://packages.medibuntu.org/[/url] lucid/free Translation-en_US             
      Hit [url]http://us.archive.ubuntu.com[/url] lucid Release                     
      Hit [url]http://us.archive.ubuntu.com[/url] lucid-updates Release                 
      Get:3 [url]http://us.archive.ubuntu.com[/url] lucid-security Release [38.5kB]           
      Ign [url]http://ppa.launchpad.net[/url] lucid/main Packages                    
      Hit [url]http://ppa.launchpad.net[/url] lucid/main Packages                    
      Get:4 [url]http://us.archive.ubuntu.com[/url] lucid-proposed Release [42.6kB]           
      Err [url]http://ppa.launchpad.net[/url] lucid/main Packages                    
       404 Not Found
      Ign [url]http://packages.medibuntu.org/[/url] lucid/non-free Translation-en_US           
      Hit [url]http://packages.medibuntu.org[/url] lucid Release                     
      Hit [url]http://us.archive.ubuntu.com[/url] lucid/main Packages                  
      Hit [url]http://us.archive.ubuntu.com[/url] lucid/restricted Packages               
      Hit [url]http://us.archive.ubuntu.com[/url] lucid/universe Packages                
      Hit [url]http://us.archive.ubuntu.com[/url] lucid/multiverse Packages               
      Hit [url]http://us.archive.ubuntu.com[/url] lucid-updates/main Packages              
      Hit [url]http://us.archive.ubuntu.com[/url] lucid-updates/restricted Packages           
      Hit [url]http://us.archive.ubuntu.com[/url] lucid-updates/universe Packages            
      Hit [url]http://us.archive.ubuntu.com[/url] lucid-updates/multiverse Packages           
      Get:5 [url]http://us.archive.ubuntu.com[/url] lucid-security/main Packages [42.4kB]        
      Hit [url]http://packages.medibuntu.org[/url] lucid/free Packages                  
      Hit [url]http://packages.medibuntu.org[/url] lucid/non-free Packages                
      Hit [url]http://packages.medibuntu.org[/url] lucid/free Sources             
      Hit [url]http://packages.medibuntu.org[/url] lucid/non-free Sources           
      Get:6 [url]http://us.archive.ubuntu.com[/url] lucid-security/restricted Packages [14B]  
      Get:7 [url]http://us.archive.ubuntu.com[/url] lucid-security/universe Packages [18.7kB]
      Hit [url]http://download.virtualbox.org[/url] lucid Release.gpg             
      Get:8 [url]http://us.archive.ubuntu.com[/url] lucid-security/multiverse Packages [1,541B]
      Get:9 [url]http://us.archive.ubuntu.com[/url] lucid-proposed/restricted Packages [14B]
      Get:10 [url]http://us.archive.ubuntu.com[/url] lucid-proposed/main Packages [49.3kB]
      Get:11 [url]http://us.archive.ubuntu.com[/url] lucid-proposed/multiverse Packages [1,893B]
      Ign [url]http://download.virtualbox.org/virtualbox/debian/[/url] lucid/non-free Translation-en_US
      Get:12 [url]http://us.archive.ubuntu.com[/url] lucid-proposed/universe Packages [23.5kB]
      Hit [url]http://download.virtualbox.org[/url] lucid Release                
      Hit [url]http://download.virtualbox.org[/url] lucid/non-free Packages
      Fetched 219kB in 0s (237kB/s)
      W: Failed to fetch [url]http://ppa.launchpad.net/claydoh/kmymoney-kde-sc-4.4/ubuntu/dists/lucid/main/binary-amd64/Packages.gz[/url] 404 Not Found
      
      E: Some index files failed to download, they have been ignored, or old ones used instead.
      Thanks again Snowhog

      Comment


        #4
        Re: Unable to update the package cache

        Looks like there are 'issues' (temporary) with your two ppa sources:

        Err http://ppa.launchpad.net lucid/main Packages
        404 Not Found

        and

        W: Failed to fetch http://ppa.launchpad.net/claydoh/kmy...64/Packages.gz 404 Not Found

        This does sometimes occur. Just try again a bit later.
        Using Kubuntu Linux since March 23, 2007
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Re: Unable to update the package cache

          I have the same problem and have had it for several days. How long do I have to wait?

          Err http://ppa.launchpad.net lucid/main Packages
          404 Not Found
          ...
          W: Failed to fetch http://ppa.launchpad.net/ppa/ppa/ubu...86/Packages.gz 404 Not Found


          Is this a valid repo?
          'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

          Comment


            #6
            Re: Unable to update the package cache

            Actually, taking a closer look at launchpad entries in my source lists, I see this:

            jon@jon-desktop:/etc/apt/sources.list.d$ grep launchpa *
            falk-t-j-lucid-lucid.list:##deb http://ppa.launchpad.net/falk-t-j/lucid/ubuntu lucid main
            falk-t-j-lucid-lucid.list.save:##deb http://ppa.launchpad.net/falk-t-j/lucid/ubuntu lucid main
            kubuntu-ppa-backports-lucid.list:deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu lucid main
            kubuntu-ppa-backports-lucid.list.save:deb http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu lucid main
            kubuntu-ppa-ppa-lucid.list:deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu lucid main
            kubuntu-ppa-ppa-lucid.list.save:deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu lucid main
            ppa-ppa-lucid.list:deb http://ppa.launchpad.net/ppa/ppa/ubuntu lucid main
            ppa-ppa-lucid.list.save:deb http://ppa.launchpad.net/ppa/ppa/ubuntu lucid main

            Why are there so many entries for "lucid main"? Which one gets priority?

            Thanks in advance for any suggestions. I think I need to clean up this mess before doing any updates.
            'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

            Comment


              #7
              Re: Unable to update the package cache

              the "lucid main" part is just a location in the repo for the packages that pertane to your system.

              you can open all those locations in your web browser and navagate thrugh them to get the idea.

              and yes I'd cleen up that mess...................however eney thing installed frome those repos you remove will not get updated frome thare eney more.........if the location still exsists.


              VINNY
              i7 4core HT 8MB L3 2.9GHz
              16GB RAM
              Nvidia GTX 860M 4GB RAM 1152 cuda cores

              Comment


                #8
                Re: Unable to update the package cache

                Originally posted by vinnywright
                and yes I'd cleen up that mess...................however eney thing installed frome those repos you remove will not get updated frome thare eney more.........if the location still exsists.
                Thanks, but I don't know what is junk and what is not. What should I keep?

                I will try getting rid of everything in /etc/apt/sources.list.d/. I don't see any of that on my backup system. The /etc/apt/sources.list files agree on the two systems.
                'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

                Comment


                  #9
                  Re: Unable to update the package cache

                  Claydoh is maintaining KMymoney, so you might want to CP him here about the W: Failed to fetch http://ppa.launchpad.net/claydoh/kmy...64/Packages.gz 404 Not Found error.

                  Post the contents of your /etc/apt/sources.list.d/kubuntu-ppa-ppa-lucid.list for a review please.
                  Using Kubuntu Linux since March 23, 2007
                  "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                  Comment


                    #10
                    Re: Unable to update the package cache

                    Originally posted by Snowhog
                    Post the contents of your /etc/apt/sources.list.d/kubuntu-ppa-ppa-lucid.list for a review please.
                    Here it is, only one line:

                    deb http://ppa.launchpad.net/kubuntu-ppa/ppa/ubuntu lucid main

                    Since, I have removed everything in /etc/apt/sources.list.d and it all works fine now. I have added the repo for KDE 4.3.3 and done a dist-upgrade. I must now restart KDE to see how that works.
                    'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

                    Comment


                      #11
                      Re: Unable to update the package cache

                      System working fine now with KDE 4.4.5. No complaints from apt-get update. Nor from me.

                      Thanks.
                      'I must have a prodigious quantity of mind; it takes me as much as a week sometimes to make it up.' Mark Twain

                      Comment


                        #12
                        Re: Unable to update the package cache

                        Cool. 8) Glad you got it straightened out.
                        Using Kubuntu Linux since March 23, 2007
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment

                        Working...
                        X