Revert "fixes apt command"

This reverts commit 3fb38cb4c75cd33a018cd19791bbf040249066a2.
Revert "just installs the required packages"

This reverts commit dd44b54eeb2fbd7d927fffd9435b8759b8bea858.