Results 1 to 9 of 9

Thread: E: Sub-process /usr/bin/dpkg returned an error code (1)

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Location
    no place in particular
    Beans
    199

    Question E: Sub-process /usr/bin/dpkg returned an error code (1)

    Code:
    sudo aptitude update && sudo aptitude dist-upgrade
    Get:1 http://dl.google.com stable Release.gpg [189B]                                                
    Ign http://dl.google.com stable/main Translation-en_US                                              
    Hit http://security.ubuntu.com karmic-security Release.gpg                                          
    Ign http://security.ubuntu.com karmic-security/main Translation-en_US                               
    Get:2 http://dl.google.com stable Release [2,540B]                                                  
    Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US                         
    Ign http://security.ubuntu.com karmic-security/universe Translation-en_US                           
    Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_US                         
    Hit http://security.ubuntu.com karmic-security Release                                              
    Get:3 http://dl.google.com stable/main Packages [867B]                                              
    Hit http://security.ubuntu.com karmic-security/main Packages                                        
    Hit http://security.ubuntu.com karmic-security/restricted Packages                                  
    Hit http://security.ubuntu.com karmic-security/main Sources                                         
    Hit http://security.ubuntu.com karmic-security/restricted Sources                                   
    Hit http://security.ubuntu.com karmic-security/universe Packages                                    
    Hit http://security.ubuntu.com karmic-security/universe Sources                                     
    Hit http://security.ubuntu.com karmic-security/multiverse Packages                                  
    Hit http://security.ubuntu.com karmic-security/multiverse Sources                                   
    Hit http://deb.opera.com stable Release.gpg                                                         
    Ign http://deb.opera.com stable/non-free Translation-en_US                                          
    Hit http://deb.opera.com stable Release                                                             
    Ign http://deb.opera.com stable/non-free Packages                                                   
    Ign http://deb.opera.com stable/non-free Packages                                                   
    Hit http://deb.opera.com stable/non-free Packages                                                   
    Hit http://ve.archive.ubuntu.com karmic Release.gpg                                                 
    Ign http://ve.archive.ubuntu.com karmic/main Translation-en_US                                      
    Ign http://ve.archive.ubuntu.com karmic/restricted Translation-en_US                                
    Ign http://ve.archive.ubuntu.com karmic/universe Translation-en_US                                  
    Ign http://ve.archive.ubuntu.com karmic/multiverse Translation-en_US                                
    Hit http://ve.archive.ubuntu.com karmic-updates Release.gpg                                         
    Ign http://ve.archive.ubuntu.com karmic-updates/main Translation-en_US                              
    Ign http://ve.archive.ubuntu.com karmic-updates/restricted Translation-en_US                        
    Ign http://ve.archive.ubuntu.com karmic-updates/universe Translation-en_US                          
    Ign http://ve.archive.ubuntu.com karmic-updates/multiverse Translation-en_US                        
    Hit http://ve.archive.ubuntu.com karmic Release                                                     
    Hit http://ve.archive.ubuntu.com karmic-updates Release                                             
    Hit http://ppa.launchpad.net karmic Release.gpg                                                     
    Ign http://ppa.launchpad.net karmic/main Translation-en_US                                          
    Hit http://ve.archive.ubuntu.com karmic/main Packages                                               
    Hit http://ve.archive.ubuntu.com karmic/restricted Packages                                         
    Hit http://ve.archive.ubuntu.com karmic/main Sources                                                
    Hit http://ve.archive.ubuntu.com karmic/restricted Sources                                          
    Hit http://ve.archive.ubuntu.com karmic/universe Packages                                           
    Hit http://ppa.launchpad.net karmic Release.gpg                                                     
    Ign http://ppa.launchpad.net karmic/main Translation-en_US                                          
    Hit http://ppa.launchpad.net karmic Release.gpg                                                     
    Ign http://ppa.launchpad.net karmic/main Translation-en_US                                          
    Hit http://ppa.launchpad.net karmic Release.gpg                                                     
    Ign http://ppa.launchpad.net karmic/main Translation-en_US                                          
    Hit http://ppa.launchpad.net karmic Release.gpg                                                     
    Ign http://ppa.launchpad.net karmic/main Translation-en_US                                          
    Hit http://ppa.launchpad.net karmic Release                                                         
    Hit http://ve.archive.ubuntu.com karmic/universe Sources                                            
    Hit http://ve.archive.ubuntu.com karmic/multiverse Packages                                         
    Hit http://ve.archive.ubuntu.com karmic/multiverse Sources                                          
    Hit http://ve.archive.ubuntu.com karmic-updates/main Packages                                       
    Hit http://ve.archive.ubuntu.com karmic-updates/restricted Packages                                 
    Hit http://ve.archive.ubuntu.com karmic-updates/main Sources                                        
    Hit http://ve.archive.ubuntu.com karmic-updates/restricted Sources                                  
    Hit http://ve.archive.ubuntu.com karmic-updates/universe Packages                                   
    Hit http://ve.archive.ubuntu.com karmic-updates/universe Sources                                    
    Hit http://ve.archive.ubuntu.com karmic-updates/multiverse Packages                                 
    Hit http://ppa.launchpad.net karmic Release                                                         
    Hit http://ppa.launchpad.net karmic Release                                                         
    Hit http://ppa.launchpad.net karmic Release                                                         
    Hit http://ppa.launchpad.net karmic Release                                                         
    Hit http://ve.archive.ubuntu.com karmic-updates/multiverse Sources                                  
    Hit http://ppa.launchpad.net karmic/main Packages                                                   
    Hit http://ppa.launchpad.net karmic/main Sources                                                    
    Hit http://ppa.launchpad.net karmic/main Packages                                                   
    Hit http://ppa.launchpad.net karmic/main Packages                                                   
    Hit http://ppa.launchpad.net karmic/main Packages                                                   
    Hit http://ppa.launchpad.net karmic/main Packages                                                   
    Fetched 3,596B in 10s (343B/s)                                                                      
    Reading package lists... Done                                                                       
    
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    The following partially installed packages will be configured:
      python-gst0.10 python-rdflib
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B of archives. After unpacking 0B will be used.
    Setting up python-gst0.10 (0.10.17-1) ...
    dpkg (subprocess): unable to execute installed post-installation script: Exec format error
    dpkg: error processing python-gst0.10 (--configure):
     subprocess installed post-installation script returned error exit status 2
    Setting up python-rdflib (2.4.0-5ubuntu1) ...
    dpkg (subprocess): unable to execute installed post-installation script: Exec format error
    dpkg: error processing python-rdflib (--configure):
     subprocess installed post-installation script returned error exit status 2
    Errors were encountered while processing:
     python-gst0.10
     python-rdflib
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    A package failed to install.  Trying to recover:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Last edited by karlmp; December 29th, 2009 at 11:42 PM. Reason: added ":("
    "I took the red pill, but I installed the blue Linux"

    Archlinux user, using it right now.

  2. #2
    Join Date
    Jan 2007
    Beans
    6,542
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

    Try putting this into a terminal:
    Code:
    sudo dpkg --configure -a
    Looks like you've got a couple of packages which aren't configuring properly.

  3. #3
    Join Date
    Apr 2008
    Location
    no place in particular
    Beans
    199

    Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

    I tried that and still the same

    BTW this is kubuntu
    Last edited by karlmp; December 30th, 2009 at 02:36 PM.
    "I took the red pill, but I installed the blue Linux"

    Archlinux user, using it right now.

  4. #4
    Join Date
    Oct 2005
    Location
    De Kwakel - Holland
    Beans
    3,657

    Re: E: Sub-process /usr/bin/dpkg returned an error code (1)


  5. #5
    Soul-Sing is offline Chocolate-Covered Ubuntu Beans
    Join Date
    Aug 2006
    Beans
    1,374
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

    Code:
    gksudo nautilus
    navigate via nautilus to: /var/lib/dpkg/info
    do a search on: python-gst0.10 python-rdflib
    (search-option: above-right on your screen.)
    remove them.
    close nautilus

    Code:
    sudo apt-get update
    event.: sudo apt-get install python-gst0.10
    sudo apt-get install python-rdflib

  6. #6
    Join Date
    Apr 2008
    Location
    no place in particular
    Beans
    199

    Smile Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

    thank you kellemes, the first link fixed it

    thank you all
    Last edited by karlmp; December 30th, 2009 at 08:27 PM.
    "I took the red pill, but I installed the blue Linux"

    Archlinux user, using it right now.

  7. #7
    Join Date
    Feb 2011
    Location
    Oslo, Norway
    Beans
    4
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: E: Sub-process /usr/bin/dpkg returned an error code (1)

    Quote Originally Posted by leoquant View Post
    Code:
    gksudo nautilus
    navigate via nautilus to: /var/lib/dpkg/info
    do a search on: Python-gst0.10 python-rdflib
    (search-option: Above-right on your screen.)
    remove them.
    Close nautilus

    Code:
    sudo apt-get update
    event.: Sudo apt-get install python-gst0.10
    sudo apt-get install python-rdflib
    tnank you ssssooooo much! I did have problem with opera and gnome-colors-common

Tags for this Thread

Bookmarks

Posting Permissions

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