Save 15% on Instant Deploy Bare-Metal Servers in 26 Global Markets with Coupon Code: EdgeSave

What to do if the dpkg command is broken?

A broken dpkg may make it impossible to install any .deb files. A procedure like the following will help you recover from this situation.

$ links
… download the good dpkg_version_arch.deb
$ su
password: *****
# ar x dpkg_version_arch.deb
# mv data.tar.gz /data.tar.gz
# cd /
# tar xzfv data.tar.gz

Share on Twitter
Share on Facebook