Sunday, 31 July 2011

Installing Debian .deb files to a mounted partition

After getting a custom Ubuntu flash drive installer up and running I encountered the problem of installing additional or custom .deb files to a mounted partition, in this case mounted to /target

The solution is quite simple:

dpkg --force-all -i --root=/target/ my.deb

The --force-all can be left out if dependencies arn't a concern for the package or packages you are trying to install...

1 comment: