changed way of installing packages to chroot