89luca89 / distrobox

Use any linux distribution inside your terminal. Enable both backward and forward compatibility with software and freedom to use whatever distribution you’re more comfortable with. Mirror available at: https://gitlab.com/89luca89/distrobox
https://distrobox.it/
GNU General Public License v3.0
9.43k stars 385 forks source link

[Error] Distrobox container created it’s own password, can’t use sudo. #1371

Closed correii closed 3 weeks ago

correii commented 2 months ago

Describe the bug

I created and attempted to enter a container. I got an error during the “installing basic packages” step. I attempt to enter the container again, and It works but gives an error “there was a problem setting up the user Warning: trying manual addition“ It appears that a password was set without asking me due to this error. I am unable to use sudo since I don’t know the password.

terminal output: https://pastebin.com/t8KNQ90T

To Reproduce

Idk just create a container on SteamOS I guess?

Expected behavior

Be prompted to create a password instead of having an unknown one created without my permission. Not having this error in general.

*Logs

https://pastebin.com/4tYSvwTu

Desktop (please complete the following information):

Additional context

I am not a programmer or anything like that, I’m sorry if this report isn’t up to snuff. I did my best. I just wanted to run a python application that won’t play nice with SteamOS

89luca89 commented 2 months ago

Hi @calvincorrieri

can you post here the commands you executed? so I can know a bit more, as right now the report is lacking all info

correii commented 2 months ago

The commands I executed to install distrobox:

‘curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --prefix $HOME’

The commands I executed to create the container:

distrobox create -i ubuntu compile_box distrobox enter compile_box

Is this what you mean? @89luca89

89luca89 commented 2 months ago

got it thanks

I see that there is a problem setting up the user (popped up in the logs) Can you try with another container image just to see if this is an ubuntu-specific issue?

89luca89 commented 3 weeks ago

Closing due to inactivity, let me know if the problem persists.