$ pquery --size gentoo-kernel sys-kernel/gentoo-kernel-6.11.10 Traceback (most recent call last): File "/usr/lib/python-exec/python3.12/pquery", line 8, in <module> sys.exit(main()) ^^^^^^ File "/usr/lib/python3.12/site-packages/pkgcore/scripts/__init__.py", line 43, in main run(os.path.basename(sys.argv[0])) File "/usr/lib/python3.12/site-packages/pkgcore/scripts/__init__.py", line 35, in run sys.exit(tool()) ^^^^^^ File "/usr/lib/python3.12/site-packages/snakeoil/cli/tool.py", line 81, in __call__ ret = self.main() ^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/snakeoil/cli/tool.py", line 191, in main self.handle_exec_exception(e) File "/usr/lib/python3.12/site-packages/snakeoil/cli/tool.py", line 176, in main exitstatus = func(self.options, self.out, self.err) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pkgcore/scripts/pquery.py", line 1197, in main print_package(options, out, err, pkg) File "/usr/lib/python3.12/site-packages/pkgcore/scripts/pquery.py", line 436, in print_package size += os.lstat(location).st_size ^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/usr/src/linux-6.11.10-gentoo-dist/arch/x86/boot/initrd'
qsize: $ qsize gentoo-kernel sys-kernel/gentoo-kernel: 14566 files (14564 unique), 3554 non-files, 115.4M