I have a Disk Image but this Disk Image has not some packages like libjpeg. First of all I mount the Disk Image to directory and then I change root to this directory. Unfortunately apt-get update
and apt-get install
aren't working in chroot and I don't know what else to try.
Following error happens when I run apt-get update
and apt-get install
:
bash: apt-get: command not found
How to solve this problem?