Closed arch-user-france1 closed 1 year ago
See my comment here: https://github.com/Jguer/yay/issues/772#issuecomment-1152890843
I'm having the same problem. The issue seems to be, that the dialogues cannot handle non-english keyboard input. In my case (german) it asks [J/N] instead of [Y/N], however pressing J, Y or Z (since Y and Z are swapped in german layout) is interpreted as "no". A workaround is just pressing Return on the last prompt.
Edit: This doesn't apply to the pacman prompts, only yay (i.e. the last one)
Maybe nothing happened because it 'removes old packages in caches' and not every package.
yay v11.2.0
should have fixed the issues related with the german locale and the input props. Could you give a try?
yay v11.2.0
should have fixed the issues related with the german locale and the input props. Could you give a try?
For yay -Scc
it works now for me, for yay -Sc
not (still only pressing return works).
I have the same issue and I don't use german locale.
❯ yay --version
yay v11.2.0.r2.g0fdfe79 - libalpm v13.0.1
Do you use any other locale @douglascamata ?
Nope, I think I use en-US. 🤔
Let me try to confirm it after work and I'll let you know exactly which one I use.
Here's my locale configuration:
❯ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
hey, I don't think it clears my cache
[sudo] password for csaba:
Packages to keep:
All locally installed packages
Cache directory: /var/cache/pacman/pkg/
:: Do you want to remove all other packages from cache? [Y/n] n
Database directory: /var/lib/pacman/
:: Do you want to remove unused repositories? [Y/n] n
Build directory: /home/csaba/.cache/yay
:: Do you want to remove all other AUR packages from cache? [Y/n] y
removing AUR packages from cache...
:: Do you want to remove ALL untracked AUR files? [Y/n] y
removing untracked AUR files from cache...
Removing proton-ge-custom-2:GE.Proton7.37-1-x86_64.pkg.tar.zst
Removing wine-gecko-2.47.3-x86.tar.xz
Removing wine-gecko-2.47.3-x86_64.tar.xz
Removing wine-mono-7.3.1-x86.tar.xz
[csaba@csaba-mini ~]$ du -sh /home/csaba/.cache/yay/
6.7G /home/csaba/.cache/yay/
[csaba@csaba-mini yay]$ ls
adw-gtk3 libgbinder python-steamgriddb
afdko libglibutil python-thefuzz
android-studio libucl-git python-ufonormalizer
anydesk-bin mangohud python-ufoprocessor
apostrophe mingw-w64-tools python-vdf
appimagelauncher newm-git spotify
asf onlyoffice-bin steamos-compositor-plus
bitstower-markets patool steamtinkerlaunch
bottles proton stremio
completion.cache proton-ge-custom teamviewer
dotnet-core-5.0-bin protontricks tela-icon-theme
fvs psautohint timeshift
galaxybudsclient-bin python-booleanoperations tor-browser
geforcenow-electron python-dasbus vcs.json
google-chrome python-defcon ventoy-bin
goverlay-bin python-fontmath visual-studio-code-bin
heroic-games-launcher-bin python-fontparts vkbasalt
hikari python-fontpens waydroid
icoextract python-gbinder waydroid-image
jellyfin python-imageio wine-ge-custom
jellyfin-media-player python-mutatormath
lib32-mangohud python-pyclipper
[csaba@csaba-mini proton-ge-custom]$ ls
0001-AUR-pkgbuild-changes.patch liberation-fonts
dav1d openvr
dxil-spirv OpenXR-SDK
dxvk PKGBUILD
dxvk-nvapi proton-cargo
ffmpeg protonfixes-gloriouseggroll
glslang proton-ge-custom
graphene proton-ge-custom.install
gst-libav SPIRV-Headers
gst-orc vkd3d-proton
gst-plugins-bad vkd3d-valve
gst-plugins-base Vulkan-Headers
gst-plugins-good Vulkan-Loader
gst-plugins-rs wine-staging
gst-plugins-ugly wine-valve
gstreamer
here's my locale and yay version, I'm on endeavouros(arch)
[csaba@csaba-mini yay]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=en_US.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=en_US.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=en_US.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=
[csaba@csaba-mini yay]$ yay --version
yay v11.3.0 - libalpm v13.0.1
Affected Version
yay v11.1.2 - libalpm v13.0.1
Describe the bug
Reproduction Steps
yay -Sc
du -hc ~/.cache/yay | tail -1
said me 37 GB.Expected behavior
Yay would clean the cache .cache/yay
Output
Note: There was no feedback at all, it just asked for all the file locations and then closed. What did I answer wrong? And this thing was here:
Fehler: Konnte Datei /var/cache/pacman/pkg/gedit-plugins-41.0-1-x86_64.pkg.tar.zst nicht öffnen: Truncated zstd input