On my Yocto image (with .deb packaging) i set up sudo an it work\'s fine. Only when i try to install a .deb package with:
sudo dpkg -i package-name.deb