Getting error while installing through dpkg
-
When I used dpkg to install the .deb file in the libertine container, I faced this error while using apt-get. I can't use sudo in the bash of the container
dpkg: error: requested operation requires superuser privilege
-
@deepanshu1409 said in Getting error while installing through dpkg:
requested operation requires superuser privilege
I may be wrong, but isn'it it
sudo su
then entering password for getting superuser privilege ?
I'm a noob so pardon me if i said bull stuff ^^ -
@Keneda bash provides us fake sudo privileges, so we need not write sudo, and by entering
su
it requests a password which I have never set, and thereby it returnssu: Authentication failure
-
@deepanshu1409
I don't know for libertine as i don't use it and never did.Maybe it's different from UT bash, but under UT i had some times to do "sudo su", then entering my phone unlock pincode, in order to have somme command working.
Again, i'm noob in linux, and even more in libertine, so i hope someone who knows well this UT "tool" will provide you some better help
-
The supported way of installing packages in a libertine container is with the
libertine-container-manager
command. Typelibertine-container-manager install-package -h
for more info on how to install .deb files.
-
@arubislander So, I can't use apt to install packages in libertine-container? Is there no way I can use apt anyway in ubuntu touch?
-
@deepanshu1409 On 16.04 it was possible to use apt in a libertine container. That seems no longer to be easily possible on 20.04.
But is it not more important that you can achieve your objective of installing a package, rather than using apt specifically for doing so?
You can install debs with libertine-container-manager install-package, at least according to the --help. I have not tried yet myself.