Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do you I fix error Check if the 'dpkg-dev' package is installed ?

I'm trying to run apt-get source php5 which fails with following error

sh: 1: dpkg-source: not found
Unpack command 'dpkg-source -x php5_5.3.10-1ubuntu3.4.dsc' failed.
Check if the 'dpkg-dev' package is installed.

I tried apt-get install dpkg-dev and dpkg -i dpkg-dev which don't know about this package.

What should I do ?

I have Ubuntu 12.04

share|improve this question
1  
What is the output of which dpkg? And what is the message you receive when you run apt-get install dpkg-dev? – Mowgli Nov 16 '12 at 0:32
Simply running apt-get install dpkg-dev should fix this. – mfisch Nov 19 '12 at 0:26

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.