You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to update built in stack using apx stacks update command, it creates a copy of the stack with the same name. There is no way do distinguish these stacks when I am creating an subsystem.
Also, it is impossible to delete stack created that way.
Steps to reproduce the bug:
Try to update built in stack, and make some changes e.g. add packages:
jakub@apx-vso-pico:~$ apx stacks update arch
INFO Wpisz nową bazę lub zatwierdź aktualną (ghcr.io/archlinux/archlinux:multilib-devel):
INFO Wybierz nowy menedżer pakietów lub zatwierdź aktualny (pacman):
INFO You have not provided any packages to install in the stack. Do you want to add some now?[y/N]
y
INFO Napisz nazwy pakietów oddzielone spacją, które chcesz zainstalować w stosie, lub zatwierdź aktualne (%s):
figlet sl neofetch
INFO Zaktualizowano stos 'arch'.
See that there are two stacks with the same name:
jakub@apx-vso-pico:~$ apx stacks list
Znaleziono 10 stosów:┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ NAZWA ┊ BASE ┊ WBUDOWANY ┊ PKGS ┊ PKG MANAGER ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ alpine ┊ alpine:latest ┊ tak ┊ 0 ┊ apk ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ alpine2 ┊ alpine ┊ nie ┊ 3 ┊ apk ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ arch ┊ ghcr.io/archlinux/archlinux:multilib-devel ┊ tak ┊ 3 ┊ pacman ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ arch ┊ ghcr.io/archlinux/archlinux:multilib-devel ┊ tak ┊ 3 ┊ pacman ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ fedora ┊ fedora:latest ┊ tak ┊ 0 ┊ dnf ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ opensuse ┊ registry.opensuse.org/opensuse/tumbleweed:latest ┊ tak ┊ 0 ┊ zypper ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ ubuntu ┊ ubuntu:latest ┊ tak ┊ 0 ┊ apt ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ vanilla-dev ┊ ghcr.io/vanilla-os/dev:main ┊ tak ┊ 0 ┊ apt ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
┊ vanilla ┊ ghcr.io/vanilla-os/pico:main ┊ tak ┊ 0 ┊ apt ┊
┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┼┄┄┄┄┄┄┄┄┄┄┄┄┄┼
It is impossible to delete the stack:
jakub@apx-vso-pico:~$ apx stacks rm -n arch
INFO Czy jesteś pewien, że chcesz usunąć 'arch'? [y/N] [y/N]
y
Error: cannot remove built-in stack
Użycie:
apx stacks rm [flags]
Flagi:
-f, --force Wymuś usunięcie stosu.
-h, --help help for rm
-n, --name string Nazwa stosu do usunięcia.
ERROR cannot remove built-in stack
I expect that updating built in stacks should be locked or updating built-in stack should produce stack with different name.
The text was updated successfully, but these errors were encountered:
When I try to update built in stack using
apx stacks update
command, it creates a copy of the stack with the same name. There is no way do distinguish these stacks when I am creating an subsystem.Also, it is impossible to delete stack created that way.
Steps to reproduce the bug:
I expect that updating built in stacks should be locked or updating built-in stack should produce stack with different name.
The text was updated successfully, but these errors were encountered: