%: ssh <hostname> doas xbps-install -Su
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata' ...
Do you want to continue? [Y/n]
When I press n, the rest gets printed, so this is a buffering issue.
% ssh <hostname> doas xbps-install -Su
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata' ...
Do you want to continue? [Y/n] n
1 package will be updated:
spdx-licenses-list (3.15_1 -> 3.16_1)
Size required on disk: 6867B
Space available on disk: 21GB
Aborting!
Adding fflush before the "Do you want to continue?" question solves the problem with xbps-install -Su:
%: ssh <hostname> doas xbps-install -Su
[*] Updating repository `https://alpha.de.repo.voidlinux.org/current/musl/x86_64-musl-repodata' ...
1 package will be updated:
spdx-licenses-list (3.15_1 -> 3.16_1)
Size required on disk: 6867B
Space available on disk: 21GB
Do you want to continue? [Y/n]
but it doesn't solve everything and I don't know what's happening here:
%: ssh <hostname> doas xbps-install -f xbps
1 package will be installed:
Size required on disk: 462KB
Space available on disk: 21GB
Do you want to continue? [Y/n] n
Aborting!
When I press n, the rest gets printed, so this is a buffering issue.
Adding fflush before the "Do you want to continue?" question solves the problem with
xbps-install -Su
:but it doesn't solve everything and I don't know what's happening here: