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
10.18k stars 419 forks source link

[Error] Cannot remove distrobox created with root privileges #1542

Closed cmonty14 closed 1 month ago

cmonty14 commented 2 months ago

Describe the bug After creating successfully some distrobox with root privileges I now want to remove obsolete ones. However this fails with error.

To Reproduce

  1. Identify distrobox with root privileges: distrobox ls -r
    ❯ distrobox ls -r
    ID           | NAME                 | STATUS             | IMAGE                         
    c27aa1d3022a | tumbleweed-pkg       | Exited (143) 3 months ago | registry.opensuse.org/opensuse/distrobox-packaging:latest
    d20ff279a71c | arch-root            | Up 20 hours        | docker.io/library/archlinux:latest
    d56f9032f5d6 | debian               | Exited (143) 3 weeks ago | docker.io/library/debian:latest
  2. Remove distrobox with root privileges: distrobox rm -r [container-name]

Expected behavior Distrobox with root privileges is deleted w/o error.

Logs distrobox-rm.txt

Desktop (please complete the following information):

softmoth commented 1 month ago

This is a duplicate of #1400. It's already been fixed in master but no release has been made since May 2024.

89luca89 commented 1 month ago

Duplicate of #1400 fixed by 952ffaa75717dcd8ba05962b945af80057fdba88