Could not exec dpkg! E: Sub-process /usr/bin/dpkg returned an error code (100) in Ubuntu
up vote
0
down vote
favorite
I accidently closed terminal when i am uninstalled mysql with sudo apt-get purge mysql*
then open new terminal and run sudo apt-get upgrade
that getting errors in Ubuntu.
Here is the detail errors:
Extracting templates from packages: 100%
Preconfiguring packages ...
/tmp/grub-efi-amd64.config.lyQJMF: 1: /tmp/grub-efi-amd64.config.lyQJMF: dpkg: not found
/tmp/gdm3.config.K21eTR: 23: /tmp/gdm3.config.K21eTR: dpkg: not found
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)
I try fixed errors with chmod 755 /usr/bin/dpkg or sudo chmod 755 /usr/bin/dpkg
but it does not work. It is the same.
Here the output is : chmod: cannot access '/usr/bin/dpkg': No such file or directory
Run file $(which dpkg) getting ouput is:
$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]
apt package-management dpkg
|
show 3 more comments
up vote
0
down vote
favorite
I accidently closed terminal when i am uninstalled mysql with sudo apt-get purge mysql*
then open new terminal and run sudo apt-get upgrade
that getting errors in Ubuntu.
Here is the detail errors:
Extracting templates from packages: 100%
Preconfiguring packages ...
/tmp/grub-efi-amd64.config.lyQJMF: 1: /tmp/grub-efi-amd64.config.lyQJMF: dpkg: not found
/tmp/gdm3.config.K21eTR: 23: /tmp/gdm3.config.K21eTR: dpkg: not found
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)
I try fixed errors with chmod 755 /usr/bin/dpkg or sudo chmod 755 /usr/bin/dpkg
but it does not work. It is the same.
Here the output is : chmod: cannot access '/usr/bin/dpkg': No such file or directory
Run file $(which dpkg) getting ouput is:
$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]
apt package-management dpkg
2
Can you please runfile $(which dpkg)
and add the output to your question?
– Simon Sudler
Nov 15 at 11:32
thelowedown.wordpress.com/2010/04/16/…
– GabrielaGarcia
Nov 15 at 11:40
@Simon Sudler, Here is the detail result after run thatfile $(which dpkg)
::~$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]
– amstriker.dev
Nov 16 at 2:09
@GabrielaGarcia, it doesn't work . Here the ouput is :chmod: cannot access '/usr/bin/dpkg': No such file or directory
– amstriker.dev
Nov 16 at 2:23
Please edit en update your question with both results. Apparently you have serious problem. If you remember what happened, what you did before noticing the problem post that as well.
– GabrielaGarcia
Nov 16 at 2:32
|
show 3 more comments
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I accidently closed terminal when i am uninstalled mysql with sudo apt-get purge mysql*
then open new terminal and run sudo apt-get upgrade
that getting errors in Ubuntu.
Here is the detail errors:
Extracting templates from packages: 100%
Preconfiguring packages ...
/tmp/grub-efi-amd64.config.lyQJMF: 1: /tmp/grub-efi-amd64.config.lyQJMF: dpkg: not found
/tmp/gdm3.config.K21eTR: 23: /tmp/gdm3.config.K21eTR: dpkg: not found
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)
I try fixed errors with chmod 755 /usr/bin/dpkg or sudo chmod 755 /usr/bin/dpkg
but it does not work. It is the same.
Here the output is : chmod: cannot access '/usr/bin/dpkg': No such file or directory
Run file $(which dpkg) getting ouput is:
$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]
apt package-management dpkg
I accidently closed terminal when i am uninstalled mysql with sudo apt-get purge mysql*
then open new terminal and run sudo apt-get upgrade
that getting errors in Ubuntu.
Here is the detail errors:
Extracting templates from packages: 100%
Preconfiguring packages ...
/tmp/grub-efi-amd64.config.lyQJMF: 1: /tmp/grub-efi-amd64.config.lyQJMF: dpkg: not found
/tmp/gdm3.config.K21eTR: 23: /tmp/gdm3.config.K21eTR: dpkg: not found
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)
I try fixed errors with chmod 755 /usr/bin/dpkg or sudo chmod 755 /usr/bin/dpkg
but it does not work. It is the same.
Here the output is : chmod: cannot access '/usr/bin/dpkg': No such file or directory
Run file $(which dpkg) getting ouput is:
$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]
apt package-management dpkg
apt package-management dpkg
edited Nov 16 at 6:40
asked Nov 15 at 11:17
amstriker.dev
12
12
2
Can you please runfile $(which dpkg)
and add the output to your question?
– Simon Sudler
Nov 15 at 11:32
thelowedown.wordpress.com/2010/04/16/…
– GabrielaGarcia
Nov 15 at 11:40
@Simon Sudler, Here is the detail result after run thatfile $(which dpkg)
::~$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]
– amstriker.dev
Nov 16 at 2:09
@GabrielaGarcia, it doesn't work . Here the ouput is :chmod: cannot access '/usr/bin/dpkg': No such file or directory
– amstriker.dev
Nov 16 at 2:23
Please edit en update your question with both results. Apparently you have serious problem. If you remember what happened, what you did before noticing the problem post that as well.
– GabrielaGarcia
Nov 16 at 2:32
|
show 3 more comments
2
Can you please runfile $(which dpkg)
and add the output to your question?
– Simon Sudler
Nov 15 at 11:32
thelowedown.wordpress.com/2010/04/16/…
– GabrielaGarcia
Nov 15 at 11:40
@Simon Sudler, Here is the detail result after run thatfile $(which dpkg)
::~$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]
– amstriker.dev
Nov 16 at 2:09
@GabrielaGarcia, it doesn't work . Here the ouput is :chmod: cannot access '/usr/bin/dpkg': No such file or directory
– amstriker.dev
Nov 16 at 2:23
Please edit en update your question with both results. Apparently you have serious problem. If you remember what happened, what you did before noticing the problem post that as well.
– GabrielaGarcia
Nov 16 at 2:32
2
2
Can you please run
file $(which dpkg)
and add the output to your question?– Simon Sudler
Nov 15 at 11:32
Can you please run
file $(which dpkg)
and add the output to your question?– Simon Sudler
Nov 15 at 11:32
thelowedown.wordpress.com/2010/04/16/…
– GabrielaGarcia
Nov 15 at 11:40
thelowedown.wordpress.com/2010/04/16/…
– GabrielaGarcia
Nov 15 at 11:40
@Simon Sudler, Here is the detail result after run that
file $(which dpkg)
::~$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]– amstriker.dev
Nov 16 at 2:09
@Simon Sudler, Here is the detail result after run that
file $(which dpkg)
::~$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]– amstriker.dev
Nov 16 at 2:09
@GabrielaGarcia, it doesn't work . Here the ouput is :
chmod: cannot access '/usr/bin/dpkg': No such file or directory
– amstriker.dev
Nov 16 at 2:23
@GabrielaGarcia, it doesn't work . Here the ouput is :
chmod: cannot access '/usr/bin/dpkg': No such file or directory
– amstriker.dev
Nov 16 at 2:23
Please edit en update your question with both results. Apparently you have serious problem. If you remember what happened, what you did before noticing the problem post that as well.
– GabrielaGarcia
Nov 16 at 2:32
Please edit en update your question with both results. Apparently you have serious problem. If you remember what happened, what you did before noticing the problem post that as well.
– GabrielaGarcia
Nov 16 at 2:32
|
show 3 more comments
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1093148%2fcould-not-exec-dpkg-e-sub-process-usr-bin-dpkg-returned-an-error-code-100-i%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Can you please run
file $(which dpkg)
and add the output to your question?– Simon Sudler
Nov 15 at 11:32
thelowedown.wordpress.com/2010/04/16/…
– GabrielaGarcia
Nov 15 at 11:40
@Simon Sudler, Here is the detail result after run that
file $(which dpkg)
::~$ file $(which dpkg) Usage: file [-bcEhikLlNnprsvzZ0] [--apple] [--extension] [--mime-encoding] [--mime-type] [-e testname] [-F separator] [-f namefile] [-m magicfiles] file ... file -C [-m magicfiles] file [--help]– amstriker.dev
Nov 16 at 2:09
@GabrielaGarcia, it doesn't work . Here the ouput is :
chmod: cannot access '/usr/bin/dpkg': No such file or directory
– amstriker.dev
Nov 16 at 2:23
Please edit en update your question with both results. Apparently you have serious problem. If you remember what happened, what you did before noticing the problem post that as well.
– GabrielaGarcia
Nov 16 at 2:32