Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14

Thread: Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100)

  1. #11
    Join Date
    May 2010
    Location
    uk
    Beans
    9,299
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100)

    Hi

    That is the outpiut of 'ls /usr/bin/dpkg*'
    The only executable you are missing is dkpg from that list.

    Let's have a quick look elsewhere as well.

    Can you also post the output of

    Code:
    ls /var/lib/dpkg
    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  2. #12
    Join Date
    Mar 2010
    Location
    skelmersdale, england
    Beans
    208
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100)

    It's all good now people. I Can install and remove as i wish. I found an old post about this problem and tried the following commands. They worked.

    Code:
    mkdir /tmp/dpkg
    cd /tmp/dpkg
    wget http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.15.5.6ubuntu4_i386.deb
    ar x dpkg*.deb data.tar.gz
    tar xfvz data.tar.gz ./usr/bin/dpkg
    sudo cp ./usr/bin/dpkg /usr/bin/
    sudo apt-get update
    sudo apt-get install --reinstall dpkg
    Thanks,
    SlashWannabe94
    It's about jerry rigging stuff together, as long as it works who cares how you got there...

  3. #13
    Join Date
    May 2010
    Location
    uk
    Beans
    9,299
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100)

    Hi

    Quote Originally Posted by slashwannabe94 View Post
    It's all good now people. I Can install and remove as i wish. I found an old post about this problem and tried the following commands. They worked.

    Code:
    mkdir /tmp/dpkg
    cd /tmp/dpkg
    wget http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg_1.15.5.6ubuntu4_i386.deb
    ar x dpkg*.deb data.tar.gz
    tar xfvz data.tar.gz ./usr/bin/dpkg
    sudo cp ./usr/bin/dpkg /usr/bin/
    sudo apt-get update
    sudo apt-get install --reinstall dpkg
    Thanks,
    SlashWannabe94
    Installing after extracting from the .deb is easier than building from source. You may not have needed the last step depending on whether it was just the dpkg executable missing but it is better to be safe than sorry.

    I am happy it worked out for you

    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

    Thinking about becoming an Ubuntu Member?

  4. #14
    Join Date
    Jun 2012
    Beans
    1

    Re: Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100)

    i solve it by following steps:
    1/ login as root
    2/ cd /usr/bin
    3/ chmod 777 dpkg
    4/ apt-get update

Page 2 of 2 FirstFirst 12

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
  •