Linux character cutout

The following error, want to quickly figure out what dependencies need to be installed, the error message may be written to the file, I have here named err, re-analysis of the installation RPM. From avoiding take up too much space, but here is the removal of the first two.
Error: the Package: the lpfc-kmod-ELX-Xen-8.2.2.33-1.rhel5u11.x86_64 (/kmod-elx-lpfc-xen-8.2.2.33-1.rhel5u11.x86_64)
           the Requires: Kernel (rhel5_arch_x86_64_lib_ga) = 16fa19a50e0570e763d7e64602b9a86d2247a9f3
Error : the Package: the lpfc-kmod-ELX-Xen-8.2.2.33-1.rhel5u11.x86_64 (/kmod-elx-lpfc-xen-8.2.2.33-1.rhel5u11.x86_64)
           the Requires: Kernel (rhel5_drivers_pci_u5) = 162dcd5217593b75904962b48654452f4302fccb
. 1, performing awk '{print $ 2}' err | grep kernel | cut -d "(" -f 2 | cut -d ")" -f 1 to obtain the following results:
rhel5_arch_x86_64_lib_ga
rhel5_drivers_pci_u5
2, performs cut -d "(" - f 2 err | cut -d ") "


There are various methods, it should be achieved through good word python.

Guess you like

Origin blog.csdn.net/haiziccc/article/details/90210762