Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

dpkg not found

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
rhyanz46
Posts: 1
Joined: 2017-06-08 01:24

dpkg not found

#1 Post by rhyanz46 »

please help me,
i have trouble when i install,
here my trouble ..

root@rhyanz46:~# apt-get install sqlmap
Reading package lists... Done
Building dependency tree
Reading state information... Done
sqlmap is already the newest version (1.1.5-1).
0 upgraded, 0 newly installed, 0 to remove and 135 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,051 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5347
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: dpkg not found

#2 Post by dilberts_left_nut »

What type of system is it, and what have you previously done to it?
AdrianTM wrote:There's no hacker in my grandma...

Dai_trying
Posts: 1101
Joined: 2016-01-07 12:25
Has thanked: 6 times
Been thanked: 16 times

Re: dpkg not found

#3 Post by Dai_trying »

I would try

Code: Select all

sudo apt-get -f install
to see if that clears the broken package error and then go from there.

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: dpkg not found

#4 Post by dcihon »

A google search came up with this issue about permissions:
https://thelowedown.wordpress.com/2010/ ... -code-100/

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: dpkg not found

#5 Post by debiman »

dcihon wrote:A google search came up with this issue about permissions:
https://thelowedown.wordpress.com/2010/ ... -code-100/
please answer the question and /or try out what was suggested.

dcihon
Posts: 279
Joined: 2012-09-23 16:18
Been thanked: 3 times

Re: dpkg not found

#6 Post by dcihon »

Sorry debiman
I thought I was answering the question.
I looked up the error and that link was a solution for the error.
I didn't mean to do anything wrong.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: dpkg not found

#7 Post by debiman »

dcihon wrote:I looked up the error and that link was a solution for the error.
ok. you could have said that.
you can edit your first post and add the word [Solved] to the title.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: dpkg not found

#8 Post by GarryRicketson »

by debiman »you can edit your first post and add the word [Solved] to the title
I don't think dcihon started the topic,.... maybe I am just misunderstanding something here :?:
This is the First, original post,...that I see:
rhyanz46 wrote:please help me,
i have trouble when i install,
here my trouble ..

root@rhyanz46:~# apt-get install sqlmap
Reading package lists... Done
Building dependency tree
Reading state information... Done
sqlmap is already the newest version (1.1.5-1).
0 upgraded, 0 newly installed, 0 to remove and 135 not upgraded.
1 not fully installed or removed.
Need to get 0 B/1,051 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Could not exec dpkg!
E: Sub-process /usr/bin/dpkg returned an error code (100)
============ edited ==========
How ever, also , I do no think the link posted by dcihon , would be
a good solution,...It is for Debain Lenny, ???
from: The link "dcihon" posted:
The Advanced Package Tool, or ‘apt’ on Debian-based systems is the mainstay for installing, upgrading and removing packages. Behind the various apt tools, the Debian package manager, dpkg, carries out the heavy lifting. You might wish to install new versions of packages periodically with the sequence:

apt-get update
apt-get upgrade

Recently, this and any other upgrade failed on Debian Lenny with:

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

A quick look at /usr/bin/dpkg revealed the following!

---------- 1 root root 365324 2010-03-08 15:35 dpkg

A quick ‘chmod 755 /usr/bin/dpkg’ fixed the problem! I know I did not change the permissions, so it must have been a recent patch. Hopefully this gets fixed quickly!

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: dpkg not found

#9 Post by debiman »

GarryRicketson wrote:I don't think dcihon started the topic,....
oops!

Post Reply