Yay --noconfirm just says nothing to do

Hello all,

when I run yay --noconfirm something I get a "nothing to do" not letting me chose anything.

yay kdbx --noconfirm
5 aur/python2-pykeepass 4.0.1-1 [+0 ~0.00]
Python library to interact with keepass databases (supports KDBX3 and KDBX4)
4 aur/keepassk-git r4.0d0dc87-1 [+0 ~0.00]
A Kirigami password manager for KDBX password databases
3 aur/librethinkdbxx-git r152.11e19e6-1 [+0 ~0.00]
RethinkDB driver for C++
2 aur/keepass-diff 1.1.1-1 [+4 ~0.13]
Tool to find diff between KeePass (*.kdbx) files
1 aur/kdbx-viewer 0.0.1-2 [+10 ~0.00]
ncurses GUI to browse and command-line tool to dump all contents of a KeePass2 Database files (kdbx)
:: Packages to install (eg: 1 2 3, 1-3):
::
there is nothing to do

user@localhost in ~/Documents took 1s

If I use yay -Suy --noconfirm it acts like intended (that is goes ahead and install packages without asking confirmation).
This is a fresh install.

What's happening?

Welcome to the forum :slight_smile:

Please, post your garuda-inxi .
Did you check yay git about issues?

1 Like

Hi SGS and thanks for helping me!
My garuda-inxi is here --> garuda-inxxi - Pastebin.com
Actually not, I've not checked yay bugs, since I supposed yay is so used that I've read something here too..


System:

Kernel: 5.16.11-zen1-1-zen x86_64 bits: 64 compiler: gcc v: 11.2.0

parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen

root=UUID=b6e02c05-ea0e-4f24-bf96-de19b8c2090a rw rootflags=subvol=@

cryptdevice=UUID=9e851892-de7b-4ffb-9e81-4e411f806b55:luks-9e851892-de7b-4ffb-9e81-4e411f806b55

root=/dev/mapper/luks-9e851892-de7b-4ffb-9e81-4e411f806b55 quiet splash

rd.udev.log_priority=3 vt.global_cursor_default=0

resume=/dev/mapper/luks-959ec542-0763-48aa-9964-904ef45ecf07 loglevel=3

Console: pty pts/0 wm: kwin_x11 DM: SDDM Distro: Garuda Linux

base: Arch Linux

Machine:

Type: Laptop System: Dell product: Latitude 5490 v: N/A serial: <filter>

Chassis: type: 10 serial: <filter>

Mobo: Dell model: 0DH2HV v: A00 serial: <filter> UEFI: Dell v: 1.16.0

date: 10/21/2020

Battery:

ID-1: BAT0 charge: 53.4 Wh (100.0%) condition: 53.4/68.0 Wh (78.6%)

volts: 8.2 min: 7.6 model: SMP DELL GD1JP65 type: Li-poly serial: <filter>

status: Full

CPU:

Info: model: Intel Core i5-8350U socket: BGA1356 (U3E1) note: check

bits: 64 type: MT MCP arch: Coffee Lake family: 6 model-id: 0x8E (142)

stepping: 0xA (10) microcode: 0xEC

Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:

L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB

L3: 6 MiB desc: 1x6 MiB

Speed (MHz): avg: 1649 high: 2301 min/max: 400/3600 base/boost: 1800/3600

scaling: driver: intel_pstate governor: powersave volts: 0.7 V

ext-clock: 100 MHz cores: 1: 2257 2: 2301 3: 2300 4: 2297 5: 1639 6: 800

7: 800 8: 800 bogomips: 30399

Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx

Vulnerabilities:

Type: itlb_multihit status: KVM: VMX disabled

Type: l1tf

mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable

Type: mds mitigation: Clear CPU buffers; SMT vulnerable

Type: meltdown mitigation: PTI

Type: spec_store_bypass

mitigation: Speculative Store Bypass disabled via prctl

Type: spectre_v1

mitigation: usercopy/swapgs barriers and __user pointer sanitization

Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,

IBRS_FW, STIBP: conditional, RSB filling

Type: srbds mitigation: Microcode

Type: tsx_async_abort mitigation: TSX disabled

Graphics:

Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel ports:

active: DP-3,DP-4,eDP-1 empty: DP-1, DP-2, HDMI-A-1, HDMI-A-2

bus-ID: 00:02.0 chip-ID: 8086:5917 class-ID: 0300

Device-2: Logitech HD Pro Webcam C920 type: USB

driver: snd-usb-audio,uvcvideo bus-ID: 1-2.1:6 chip-ID: 046d:082d

class-ID: 0102 serial: <filter>

Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo

bus-ID: 1-5:5 chip-ID: 0c45:6717 class-ID: 0e02

Display: server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:

loaded: intel unloaded: modesetting alternate: fbdev,vesa gpu: i915

display-ID: :0 screens: 1

Screen-1: 0 s-res: 5760x1080 s-dpi: 96 s-size: 1520x285mm (59.8x11.2")

s-diag: 1546mm (60.9")

Monitor-1: DP1-2 pos: primary,center res: 1920x1080 hz: 60 dpi: 96

size: 510x290mm (20.1x11.4") diag: 587mm (23.1")

Monitor-2: DP1-3 pos: primary,left res: 1920x1080 hz: 60 dpi: 94

size: 520x290mm (20.5x11.4") diag: 595mm (23.4")

Monitor-3: eDP1 mapped: eDP-1 pos: right model: LG built: 2017

res: 1920x1080 hz: 60 dpi: 157 gamma: 1.2 size: 310x170mm (12.2x6.7")

diag: 355mm (14") ratio: 16:9 modes: 1920x1080

OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2)

v: 4.6 Mesa 21.3.7 direct render: Yes

Audio:

Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell

driver: snd_hda_intel v: kernel alternate: snd_soc_skl bus-ID: 00:1f.3

chip-ID: 8086:9d71 class-ID: 0403

Device-2: Realtek USB Audio type: USB driver: snd-usb-audio

bus-ID: 1-1.3.4:10 chip-ID: 0bda:402e class-ID: 0102 serial: <filter>

Device-3: Logitech HD Pro Webcam C920 type: USB

driver: snd-usb-audio,uvcvideo bus-ID: 1-2.1:6 chip-ID: 046d:082d

class-ID: 0102 serial: <filter>

Device-4: Barco Display Systems Tronsmart Glary type: USB

driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-2.3:14

chip-ID: 0600:8c16 class-ID: 0300

Sound Server-1: ALSA v: k5.16.11-zen1-1-zen running: yes

Sound Server-2: PulseAudio v: 15.0 running: no

Sound Server-3: PipeWire v: 0.3.47 running: yes

Network:

Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel

port: N/A bus-ID: 00:1f.6 chip-ID: 8086:15d7 class-ID: 0200

IF: enp0s31f6 state: down mac: <filter>

Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel pcie:

gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:24fd

class-ID: 0280

IF: wlp2s0 state: up mac: <filter>

Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB

driver: r8152 bus-ID: 2-1.4:6 chip-ID: 0bda:8153 class-ID: 0000

serial: <filter>

IF: enp0s20f0u1u4 state: up speed: 1000 Mbps duplex: full mac: <filter>

IF-ID-1: azirevpn-de1 state: unknown speed: N/A duplex: N/A mac: N/A

IF-ID-2: wwp0s20f0u2i12 state: down mac: <filter>

Bluetooth:

Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8

bus-ID: 1-7:9 chip-ID: 8087:0a2b class-ID: e001

Report: bt-adapter ID: hci0 rfk-id: 4 state: up address: <filter>

RAID:

Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci

v: 3.0 port: f060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A

class-ID: 0104

Drives:

Local Storage: total: 465.76 GiB used: 19.26 GiB (4.1%)

ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 500GB

family: based SSDs size: 465.76 GiB block-size: physical: 512 B

logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: SSD serial: <filter>

rev: 1B6Q temp: 24 C scheme: GPT

SMART: yes state: enabled health: PASSED on: 248d 22h cycles: 1977

written: 12.56 TiB

Partition:

ID-1: / raw-size: 448.43 GiB size: 448.43 GiB (100.00%)

used: 19.26 GiB (4.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-0

maj-min: 254:0 mapped: luks-9e851892-de7b-4ffb-9e81-4e411f806b55

ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)

used: 720 KiB (0.2%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1

ID-3: /home raw-size: 448.43 GiB size: 448.43 GiB (100.00%)

used: 19.26 GiB (4.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-0

maj-min: 254:0 mapped: luks-9e851892-de7b-4ffb-9e81-4e411f806b55

ID-4: /var/log raw-size: 448.43 GiB size: 448.43 GiB (100.00%)

used: 19.26 GiB (4.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-0

maj-min: 254:0 mapped: luks-9e851892-de7b-4ffb-9e81-4e411f806b55

ID-5: /var/tmp raw-size: 448.43 GiB size: 448.43 GiB (100.00%)

used: 19.26 GiB (4.3%) fs: btrfs block-size: 4096 B dev: /dev/dm-0

maj-min: 254:0 mapped: luks-9e851892-de7b-4ffb-9e81-4e411f806b55

Swap:

Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)

ID-1: swap-1 type: zram size: 15.49 GiB used: 0 KiB (0.0%) priority: 100

dev: /dev/zram0

ID-2: swap-2 type: partition size: 17.03 GiB used: 0 KiB (0.0%)

priority: -2 dev: /dev/dm-1 maj-min: 254:1

mapped: luks-959ec542-0763-48aa-9964-904ef45ecf07

Sensors:

System Temperatures: cpu: 25.0 C pch: 37.5 C mobo: N/A

Fan Speeds (RPM): cpu: 2782

Info:

Processes: 257 Uptime: 1h 24m wakeups: 3 Memory: 15.49 GiB

used: 3.39 GiB (21.9%) Init: systemd v: 250 tool: systemctl Compilers:

gcc: 11.2.0 clang: 13.0.1 Packages: pacman: 1813 lib: 338

Shell: Bash (sudo) v: 5.1.16 running-in: konsole inxi: 3.3.13

Garuda (2.5.5-1):

System install date: 2022-03-01

Last full system update: 2022-03-01

Is partially upgraded: No

Relevant software: NetworkManager

Windows dual boot: No/Undetected

Snapshots: Snapper

Missing Failed units:

For more than 32000 characters you can use the garuda PrivateBin. :slight_smile:

Failed units: [email protected] [email protected] [email protected]

just wireguard ;D

1 Like

You mean

yay -S <package_name> --noconfirm

Also, that is not kdbx, it is kdbx-viewer

I hope, this solves your issue.

4 Likes

to be honest I might be wrong, but if I wanted a list o packages containing keyword “kdbx” I had to omit the -S flag… am I wrong?

yay <package_name> search and install, but if the result is not unique, probably --noconfirm is not applied.
yay -Ss <package_name> is for search (without installing).
yay -S <package_name> to install (but I guess --noconfirm should work when the result is a single package)

3 Likes

Hi filo,
as far as I remember, last time I had garuda, I could write:
yay keyword --noconfirm
then a list of packages was given, but once you specified i.e. 1 3 7 it was installing packages 1,3,7 without asking confirmation...

LANG=C yay kdbx
5 aur/python2-pykeepass 4.0.1-1 [+0 ~0.00]
    Python library to interact with keepass databases (supports KDBX3 and KDBX4)
4 aur/keepassk-git r4.0d0dc87-1 [+0 ~0.00]
    A Kirigami password manager for KDBX password databases
3 aur/librethinkdbxx-git r152.11e19e6-1 [+0 ~0.00]
    RethinkDB driver for C++
2 aur/keepass-diff 1.1.1-1 [+4 ~0.13]
    Tool to find diff between KeePass (*.kdbx) files
1 aur/kdbx-viewer 0.0.1-2 [+10 ~0.00]
    ncurses GUI to browse and command-line tool to dump all contents of a KeePass2 Database
    files (kdbx)
:: Packages to install (eg: 1 2 3, 1-3):
:: 

I got _ cursor to use 1-5. 1 is kdbx-viever like Naman wrote.

2 Likes

yep, without the --noconfirm you get the cursor. Actually, time ago, you had the cursor even with --noconfirm: the difference was only regarding the fact that in one case you had to choose packages and then give confirms (reviews, builds and so on), while in the other case you had to choose the package and didn't have to confirm every step.

As of now, if you add the --noconfirm flag, you cannot choose anything, it just aborts.

I don't know if I was able to explicate well what I mean...

yay --help | grep noconfirm

 ╭─sgs@i3 in ~ took 11ms
[🔴] × yay --help | grep complete
    -c --complete         Used for completions

check yay --help

1 Like

Ok wait, this is not a yay porblem: I just resolved issuing a bash spawn:

λ bash
λ yay kdbx --noconfirm
5 aur/python2-pykeepass 4.0.1-1 (+0 0.00)
Python library to interact with keepass databases (supports KDBX3 and KDBX4)
4 aur/keepassk-git r4.0d0dc87-1 (+0 0.00)
A Kirigami password manager for KDBX password databases
3 aur/librethinkdbxx-git r152.11e19e6-1 (+0 0.00)
RethinkDB driver for C++
2 aur/keepass-diff 1.1.1-1 (+4 0.13)
Tool to find diff between KeePass (*.kdbx) files
1 aur/kdbx-viewer 0.0.1-2 (+10 0.00)
ncurses GUI to browse and command-line tool to dump all contents of a KeePass2 Database files (kdbx)
==> Packages to install (eg: 1 2 3, 1-3 or ^4)
==>

and now I'm requested to choose the package: so I suppose there's something not working within fish shell and yay since if I use bash everything works :expressionless:

1 Like

Fun:
There is no --noconfirm :slight_smile:

 ╭─sgs@i3 in ~ took 11ms
 ╰─λ bash
[sgs@i3 ~]$ yay --help | grep noconfirm
bash: yay: Kommando nicht gefunden.
1 Like

Same with ZSH. Might be worth bringing to notice of yay devs, kind of bug report.

1 Like

You have no --noconfirm flag because that help just show This manpage only covers options unique to Yay. For other options see pacman(8).: that's what's written in manpage, so I suppose it's the same for the inline help..

2 Likes

It's better for a dev to issue a bugreport: as of never-heard-of-you-wisesolobit I think they would't care that much :wink:

I don't think that's what matters.
Programmers are happy when everyone tries to improve the software.

6 Likes

The user is the one responsible for issuing bug reports to upstream projects, not the distro. If the devs were responsible for issuing bug reports on every piece of software in the Arch repositories, they would have zero time leftover to actually develop the distro.

9 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.