Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apx always throws out error 125 #192

Open
xplosionmind opened this issue Apr 2, 2023 · 0 comments
Open

apx always throws out error 125 #192

xplosionmind opened this issue Apr 2, 2023 · 0 comments

Comments

@xplosionmind
Copy link

After running apx install pip (I chose pip as an example, but it happens with anything) I get this:

 SUCCESS  Container created.                                                    
Error: error inspecting object: no such container apx_managed
Cannot find container apx_managed
Create it now, out of image registry.fedoraproject.org/fedora-toolbox:36? [Y/n]: Y
Creating the container with command:
  /usr/lib/apx/distrobox-create -i registry.fedoraproject.org/fedora-toolbox:36 -n apx_managed
Creating 'apx_managed' using image registry.fedoraproject.org/fedora-toolbox:36Error: error creating container storage: the container name "apx_managed" is already in use by "e70d68ebc5704817bb100e7c1509becd63b9107e9c4d4febd4b676ae12eb858f". You have to remove that container to be able to reuse that name.: that name is already in use
 [ ERR ]
Container apx_managed is not running.
Starting container apx_managed
run this command to follow along:

 podman logs -f apx_managed

Error: no container with name or ID "apx_managed" found: no such container
Error: exit status 125
Usage:
  apx install [flags]

Examples:
apx install htop git

Flags:
  -y, --assume-yes     Proceed without manual confirmation
  -f, --fix-broken     Fix broken dependencies before installing
      --no-export      Do not export a desktop entry after the installation.
      --sideload       Install a package from a local file.
      --allow-unfree   Allow packages with unfree licenses
      --apt            Install packages from the Ubuntu repository.
      --aur            Install packages from the AUR (Arch User Repository).
      --dnf            Install packages from the Fedora's DNF (Dandified YUM) repository.
      --apk            Install packages from the Alpine repository.
      --zypper         Install packages from the OpenSUSE repository.
      --xbps           Install packages from the Void (Linux) repository.
      --nix            Install packages from the Nixpkgs (Nix packages) repository.
  -n, --name string    Apply to custom container with this name.
  -h, --help           help for install

Global Flags:
  -v, --verbose   show more detailed output

  ERROR   exit status 125

Even after successfully running apx clean; apx autoremove or by using the --apt or --aur aur flags, I always get the same error.

when prompted Cannot find container apx_managed Create it now, out of image registry.fedoraproject.org/fedora-toolbox:36? [Y/n]:, if I type n I get error 1 instead:

➜  ~ apx install pip
 SUCCESS  Container created.                                                          
Error: error inspecting object: no such container apx_managed
Cannot find container apx_managed
Create it now, out of image registry.fedoraproject.org/fedora-toolbox:36? [Y/n]: n
Ok. For creating it, run this command:
	distrobox create <name-of-container> --image <remote>/<docker>:<tag>
 SUCCESS  Container created.                                                          
Error: exit status 1
Usage:
  apx install [flags]

Examples:
apx install htop git

Flags:
  -y, --assume-yes     Proceed without manual confirmation
  -f, --fix-broken     Fix broken dependencies before installing
      --no-export      Do not export a desktop entry after the installation.
      --sideload       Install a package from a local file.
      --allow-unfree   Allow packages with unfree licenses
      --apt            Install packages from the Ubuntu repository.
      --aur            Install packages from the AUR (Arch User Repository).
      --dnf            Install packages from the Fedora's DNF (Dandified YUM) repository.
      --apk            Install packages from the Alpine repository.
      --zypper         Install packages from the OpenSUSE repository.
      --xbps           Install packages from the Void (Linux) repository.
      --nix            Install packages from the Nixpkgs (Nix packages) repository.
  -n, --name string    Apply to custom container with this name.
  -h, --help           help for install

Global Flags:
  -v, --verbose   show more detailed output

  ERROR   exit status 1
@xplosionmind xplosionmind changed the title apx always throws out **error 125** apx always throws out error 125 Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant