89luca89 / 89luca89/distrobox

[Error] xargs busybox unsupported flag when distrobox rm

Open
#2,010 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
13k
Forks
541
Avg merge
20h 47m
Merged PRs (30d)
4

Description

Please, before opening a bug:

- make sure you've read the documentation.
- Ensure there isn't already an open issue about this.
- Ensure there isn't already a closed/resolved issue about this.

**Describe the bug**
distrobox mostly works well on this system with busybox however distrobox rm didn't

**To Reproduce**
have xargs from busybox

**Expected behavior**

**Logs**
```
distrobox rm debian
Do you really want to delete containers: debian? [Y/n]: y
Container debian running, do you want to force delete them? [Y/n]: y
Removing container...
debian
Removing exported binaries...
xargs: unrecognized option: I
BusyBox v1.25.1 (2023-09-13 06:56:04 UTC) multi-call binary.

Usage: xargs [OPTIONS] [PROG ARGS]

Run PROG on every item given by stdin

-p Ask user whether to run each command
-r Don't run command if input is empty
-0 Input is separated by NUL characters
-t Print the command on stderr before execution
-e[STR] STR stops input processing
-n N Pass no more than N args to PROG
-s N Pass command line of no more than N bytes
-x Exit if size is exceeded
xargs: unrecognized option: I
BusyBox v1.25.1 (2023-09-13 06:56:04 UTC) multi-call binary.

Usage: xargs [OPTIONS] [PROG ARGS]

Run PROG on every item given by stdin

-p Ask user whether to run each command
-r Don't run command if input is empty
-0 Input is separated by NUL characters
-t Print the command on stderr before execution
-e[STR] STR stops input processing
-n N Pass no more than N args to PROG
-s N Pass command line of no more than N bytes
-x Exit if size is exceeded
```

**Desktop (please complete the following information):**

- Are you using podman, docker or lilipod? docker
- Which version or podman, docker or lilipod? Docker version 20.10.17, build 100c701
- Which version of distrobox? distrobox: 1.8.2.4
- Which host distribution? a commercial closed source fork of OpenWRT 18.06 on a router
- How did you install distrobox? curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sh -s -- --prefix ~/.local

**Additional context**
Add any other context about the problem here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.