fix sudo command to create debian Packages file

sudo command was not working due to shell redirection.