Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to install pkg in a limited space embedded system. I use busybox's dpkg. To let dpkg work, I just touch a file

touch /var/lib/dpkg/status                                               

But, it still can not work.

$dpkg -i ntpdate_4.2.4p4+dfsg-8lenny3_sh4.deb                           
dpkg: package ntpdate depends on netbase, which is not installed or flagged to be installed

How to flag the netbase as installed? I mean cheat to let dpkg treat it could install.

share|improve this question

1 Answer 1

You need dpkg to ignore dependencies, use the following command:

dpkg -i --force-depends mypackage.deb

Or, in case you have more problems arising, use:

dpkg -i --force-all mypackage.deb

But be warned, package dependencies are almost always true dependencies, as in, the program might be linked against them.

And using the above commands, will install the package fine, but dpkg will label it as broken.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.