Description of problem: rpm -qa | grep kernel-3.*$ | grep -v kernel-3.8.3 | xargs dnf remove Příprava průběhu odstranění Řešení závislostí... --> Starting dependency resolution --> Hledání nepotřebných závislostí ---> Package kernel.x86_64 3.8.1-201.fc18 will be smazán ---> Package kernel.x86_64 3.7.9-205.fc18 will be smazán ---> Package kernel.x86_64 3.8.2-206.fc18 will be smazán --> Finished dependency resolution Závislosti vyřešeny. ============================================================================================================================================================================= Package Arch Verze Repozitář Vel. ============================================================================================================================================================================= Odstraňuje se: kernel x86_64 3.7.9-205.fc18 @System 0 kernel x86_64 3.8.1-201.fc18 @System 0 kernel x86_64 3.8.2-206.fc18 @System 0 Shrnutí transakce ============================================================================================================================================================================= Remove 3 Packages Nainstalovaná velikost: 0 V pořádku [a/N]: Traceback (most recent call last): File "/usr/bin/dnf", line 35, in <module> main.user_main(sys.argv[1:], exit_code=True) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 306, in user_main errcode = main(args) File "/usr/lib/python2.7/site-packages/dnf/cli/main.py", line 215, in main return_code = base.doTransaction() File "/usr/lib/python2.7/site-packages/dnf/cli/cli.py", line 192, in doTransaction if self.conf.assumeno or not self.userconfirm(): File "/usr/lib/python2.7/site-packages/dnf/cli/output.py", line 971, in userconfirm choice = dnf.i18n.input(msg) File "/usr/lib/python2.7/site-packages/dnf/i18n.py", line 78, in input return raw_input(s) EOFError: EOF when reading a line Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. have more kernels installed 2. # rpm -qa | grep kernel-3.*$ | grep -v kernel-3.8.3 | xargs dnf remove 2. kaboom Actual results: crashes Expected results: As YUM - i.e. doesn't run the operation. Additional info: This runs as expected when: # rpm -qa | grep kernel-3.*$ | grep -v kernel-3.8.3 | xargs dnf remove -y
thanks for the report. I haven't tested the userconfirm() input with stdin piped into the process so this bug looks very plausible:)
Fixed by 6c27561.
*** Bug 927016 has been marked as a duplicate of this bug. ***